Responsive Dropdown

I want to build a cart, I have a price for a monthly subscription, and different discounts for 3, 6, and 12 months. I like the drop-down to help me change the price based on the selected month.

Hi @opeokesola,

How the Prices and Months are stored? Can you add some screenshots or a video explaining your current setup, database and what you like to do?

Thank you


The Image of the DB is as shown here, I want to price of the 3 months to show for 3 months and 6 months likewise so that the discount I already applied as saved in the DB before moving to cart

Sorry for the late reply!

The drop down does not connected to the drugs collection and it’s a different collection? And in that collection it has a discount price property and after selecting a value from the drop down you need to calculate the full price with the drug price and the selected value discount price?