Minimum Theme Requirements
Last updated
Last updated
For Shopify merchants integrating Purple Dot into Shopify Themes built with Liquid, the theme must meet the 3 criteria below.
If you need help, please contact .
Any button that is used to add products to the cart should have the type attribute set to submit
and should also be inside the <form> HTML element.
Each of these buttons must be wrapped in a <form>
element, with the action attribute set to /cart/add
.
Within the form, there should be an input
or select
element with the name attribute set to id
. The value of this input element must be updated dynamically based on the current variant selected in the form. This ensures that Purple Dot can correctly identify the selected product variant.
Additional requirement for a select
based implementation is that only the option
of the variant the shopper had actually selected is selected
.
Run this code in your console, when on a merchants PDP: