Boundless theme

  1. In your Shopify Admin click Online Store .
  2. Click to Current Theme's Actions > Edit code.
  3. Open the product-template.liquid file under the Sections area of your Theme Editor.
  4. Copy the code below.
    {% unless product.metafields.coattend.enabled %}
     <button id="AddToCart-{{ section.id }}" type="submit" name="add" class="btn btn--add-to-cart{% if section.settings.enable_payment_button %} btn--secondary-accent{% endif %}">
         <span class="btn__text">{{ 'products.product.add_to_cart' | t }}</span>
     </button>
    {% else %}
     <div class="coattend-button btn btn--add-to-cart{% if section.settings.enable_payment_button %} btn--secondary-accent{% endif %}" data-coattend-product-id="{{product.id}}" data-coattend-variant-id="{{product.selected_variant.id}}">{{ 'products.product.add_to_cart' | t }}</div>
    {% endunless %}
  5. Replace code from line 169 to 171. You can see what needs to be replaced on the below image. Boundless theme code that needs to be replaced Boundless theme code that needs to be replaced.
  6. Click Save.

Congratulations! Continue and display your event.