Ecom Add To Cart
Add To Cart button for custom product page

There are custom product pages, then there are advanced custom product pages 🤓
The first ones are simple to create by adding a dynamic page on the Products collection of Wix Stores app. But there are times when you need to add information about products than the fields available in the Products collection, in this case you extend that collection using reference field.
This feature needs two snippets. Paste the first snippet as you would with all other snippets on your page. In this case, your custom product page.
Then you need to paste the 2nd snippet in a new file that you will need to create in the backend directory. Follow step 1 from this article to create a new backend web module file and name it ecom.web.js
Limitation
Currently this snippet doesn't work for variants. Please drop us a message to request that feature.
how to create an advanced custom product page
Create a new CMS collection
Add a reference field to app collection Stores > Products
Add additional fields that you might need for your new page that are not available in products collection.
Create the Dyanamic List and Item pages for your new collection.
Congratulations! You just got rid of the ugly Wix product page 🤓
Feel free to drop us a feedback if you failed to implement this solution.
New to our site? Please see our quick tutorial on how to work with our snippets
All Snippets
Setting | Description |
---|---|

Title

Title