The following article will walk you through using Wix Studio eCommerce to manage products for your Foxy store. This approach will only work if you're using Wix Studio. If you're using Wix, please refer to this article.
Configure Wix Studio
1
In Wix Studio editor, go to the Products Page.
2
Remove the default add to cart button element, quantity element, etc.
3
Add a new button element to the page. This will be used instead of the default add to cart button element.
4
Right click on the new add to cart button. From the menu, select Add Code > On Click.
5
On the right side of the popup code editor, under Properties & Events, input foxy-add-to-cart in the ID field.
6
On the left side of the code editor, remove all existing code.
If your add to cart button label is not "Add to Cart" (case-sensitive), in the first line of the code snippet you just copied/pastes, update the ADD_TO_CART_LABEL value.
5
For the "Add Code to Pages" setting, select All pages and Load code on each new page.
6
For the "Place Code in" setting, select Body - End.
7
Click Apply
Testing
To test, load your published url in any browser. Navigate to a product page and click the add to cart button. The Foxy sidecart should slide in with the product added.
Limitations
Currently, this approach does not support product variants. We're still working on this, but if you have a need for variant support, please let us know.
Sync Data Back To Wix Studio
By using our Byteline Sync integration, you can easily and automatically sync Foxy customer, transaction, and inventory updates with Wix.
Need Help?
Did this article answer your questions? Need help with anything? Please click below to contact us.