Forum Academy Marketplace Showcase Pricing Features

Modifiers on a product/e-commerce page

Hi there,

I’m having trouble writing the workflows for a online ordering website for food. What I’m trying to achieve is the ability to have toppings which could be added or removed before the add to cart button is clicked which would alter the price. I would also like the ability to edit the size of the meal which would change the price.

What is the best way of doing this?

Cheers for your help in advance :grinning:

Thanks for posting! Your best bet here would be to leverage custom states, which would allow for data to be temporarily saved to the page and for values to change depending on the customization.
Check out these resources to understand how you could integrate custom states to achieve the described effect:

This topic was automatically closed after 70 days. New replies are no longer allowed.