less than a minute read • Updated a month ago
Manage products with Wix
Use Wix to manage products for your Foxy store.
As soon as you make the following changes, they will be live, so you may want to duplicate your Wix site and test or have Foxy already configured.
Step 1: Wix Website Editor setup
Product Page settings
1From your Wix Website Editor, go to Product Page
2Click anywhere within the product section, and two options should show above your cursor

3Click the Settings button
4From the pop-up product page settings window, click Settings from the side bar
5Scroll to the "Add to Cart" section
6For the "When button is clicked" setting, choose Stay in Product Page
7Scroll to the "Buy Now" section
8For the "Show button" setting, toggle it off

Step 2: Add Foxy code snippets
There are two code snippets need to be added to your Wix website.
Foxy loader.js file
1From your Foxy Admin, go to Settings > Website & Products
2Copy the Foxy loader.js code snippet (other code snippets on the page are not needed for this tutorial)
3From your Wix Dashboard, go to Settings > Custom code (under Development & integrations)
4Click the Add Custom Code button at the top right
5Paste the Foxy loader.js code snippet in the text box
6Enter a name for the code snippet (ex: Foxy loader.js)
7For the "Add Code to Pages" setting, select All pages and Load code once
8For the "Place Code in" setting, select Body - End
Foxy + Wix integration code
1From the same Custom Code settings page, click the Add Custom Code button again to add the second code snippet
2Copy the code snippet below and paste in the text box
<!-- FOXY + WIX -->
<script src="https://cdn-js.foxy.io/website-helpers@1/foxy-wix.js"></script>
3For the "Add Code to Pages" setting, select All pages and Load code on each new page
4For the "Place Code in" setting, select Body - End
After finishing the steps above, you should be able to add products to Foxy cart by clicking the "Add to Cart" button on the product page.
Pass Product Category and Weight
If you need to pass a product's category and/or weight to Foxy, follow the steps below:
1From your Wix Dashboard, go to Catalog > Store Products > Products
2Choose the product that a category or a weight needs to be passed
3Under "Product info" section, add a new info section or edit an existing one
4In the Description, add a bullet list
5For the list item(s), add the following(s) as needed:
Category: enter Category: followed by the Foxy category code configured in the admin (ex: Category: clothing)
Weight: enter Weight: followed by the product's weight (ex: Weight: 1kg or Weight: 0.5lb). The weight unit follows the "Default weight unit" setting in your Foxy categories setting

6Click OK and Save the product settings
Update Wix Product Inventory
Using our Byteline integration, you can update Wix product inventory after each Foxy sale.