January 14, 2016 at 6:43 pm
How am I able to have the theme automate the number of products added to cart once a customer selects multiple variable options. For instance, the product is a pre-workout supplement. It has 2 variables, (watermelon 40 servings) and (pineapple 40 servings) that can be selected to add to cart once the variable option is selected by the customer.
The issue I am having is that each variable is a different product. So if they selected both variables, they’re purchasing two products. However, currently, when both variables are selected and then “add to cart” is clicked, it only adds 1 product, but places both variables on the cart receipt. Meaning, they are being charged for the amount of one product, but getting 2 products.
How can I change this so that the price and number of products ordered is automatically updated by multiplying the price by the number of options selected?
Thank you,