Selection / Variant product add to cart
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Selection / Variant product add to cart
I have a general question about "Add to Cart" functionality on the variant product type.
facet search and product page has "add to cart" button, but unless you'll select an option for the particular variation of the product you are getting - "No unique article found for selected attributes and product ID "***" " error message.
Is there a way to have a default value for the variation option?
facet search and product page has "add to cart" button, but unless you'll select an option for the particular variation of the product you are getting - "No unique article found for selected attributes and product ID "***" " error message.
Is there a way to have a default value for the variation option?
Re: Selection / Variant product add to cart
Not by default but you can overwrite the "Select" basket frontend decorator and use the first returned variant:
https://github.com/aimeos/ai-controller ... #L194-L198
https://github.com/aimeos/ai-controller ... #L194-L198
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Selection / Variant product add to cart
Great thank you for help!