WooCommerce – Function for add variation to cart
-
I have a page that contains both Contact Forms 7 form and a WooCommerce variable product (insurance product). The page first has a 3 step process in which the user will first select their property, then they choose their property limit, then liability limit. To eliminate the user entering in their product selection twice, the I am updating the product variation selections for the user using jQuery. However, having the selection values updated isn’t firing the add to cart code (for variations) so the add the cart button is showing up disabled (like the product selections weren’t made) and the price for the product selection is not showing. What is a simple script that fires the event to calculate the price and make the ‘Add to Cart’ button enabled?
- The topic ‘WooCommerce – Function for add variation to cart’ is closed to new replies.