Your store
Embed
Two snippets put Fitox on your site: one on your product pages, one on your cart. Paste them once — they work for every product you have imported.
Your store ID
—
The product button
Paste once. It appears on every product page you have imported, and opens Fitox with that exact product ready to try on.
What shoppers see
Try on
PHP — your theme's functions.php
- Copy the snippet and paste it into your theme's
functions.php. In WordPress that is Appearance → Theme File Editor → functions.php. - The script reads the WooCommerce product ID off the page and matches it to your Fitox products, so make sure they are imported on the Products page first.
- A Try on button appears on every matching product page. There is nothing to set up per product.
The cart button
Lets a shopper try their whole cart on as one outfit, in a single tap.
What shoppers see
Try the full outfit
PHP — your theme's functions.php
- Paste this into the same
functions.php, below the product one. - It reads whatever is in the shopper's cart and matches those items to your Fitox products.
- One tap opens Fitox with the whole cart loaded as an outfit, so they can see it together before they order.
Your product IDs
The WooCommerce IDs the snippet matches against. If a Try on button is missing from a page, this is the first place to look.
| Product | Category | WooCommerce ID | Status | |
|---|---|---|---|---|
| Loading… | ||||