Skip to main content
  • data-multilikes-product-button Required.
  • data-product-id Set the product ID.
  • data-variant-id Set the product variant ID.
  • Button text Rendered with the text you set in the theme settings, for adding and removing a favorite.
When the page content is refreshed by filtering or sorting, run the following in your JavaScript afterwards.
This is sample code. Where you insert it depends on the existing code in your theme, such as theme.js or custom.js.