Price based on user input dropdowns

Hi, yes I did. I didn’t actually need to resort to code at all in the end. Our site invites users to upload their own newspaper/magazine designs, and then they need to indicate how many pages are in their design and how many copies they need, in order to obtain an instant price for printing their product.


For each product, under ‘Store Products’/‘Product Options’, I populated two dropdowns: number of pages and number of copies. I added a set price for the product, and then under ‘manage variants’, I added a ‘charge (+/-)’, subtracting the base price and adding on a certain amount for each variable, i.e. 1 copy of 8 pages, is £25.56, and then an amount of £0.18 is added for 1 copy of 12 pages, etc, etc.


Hope that is of some help to you! To see it in action, please feel free to take a look: