This script is implemented on each product page to load and display the ShoeSize.Me button on all your product pages.
Depending on which case you have implemented on your webshop you will have slightly different implementations requirements for the Product Scripts. We have identified 2 different ways the products are loaded on product pages.
Check if the following requirements are met:
- Make sure the shoeID (Article ID) matches with the shoeID you provided in the Product Feed
- Make sure the scale is set correctly: (eu, uk, us, etc)
- Make sure the locale is set correctly to one of the following:
If the button is not displayed, open your browser's console and check the response of the AJAX request toshoesize.me/api/config.
Possible responses: No shoe found for the following shop XXX Check if the shoeID you provided matches the one that was provided in the portfolio file. Check if the shopID was set correctly.
The response contains "visibility_gate" and object containing "id" with the shoeID you provided and "is_visible": false. Check if you have been given a specific shoeID to start the integration with.
Need help? Contact us at firstname.lastname@example.org