user3801 Från Okänd Medlem sedan dec. -0001 user3801 4 feb. 2017 19:36 There is an issue: What do you do if a product has options? Right now a product cannot be added to cart if there are product options.. we should use the 1st variable as default, but how exactly can I do that in the code?
tim Founder Från Sweden Medlem sedan maj 2013 tim 4 feb. 2017 21:34 If you have flagged the option group as required then it's required that the customer makes a choice. I don't think it's a good idea to rely on a default choice as an option is a T-crossing and should remain an active choice. Other than that you could add some javascript to the product page to preselect the first option that has a value.
Raderad Från Okänd 19 feb. 2017 10:50 hi marto. Do you want something like that. You must choose an option to add the product to cart ?