Skip to content
Cart
Error loading cart
Pickup options
All Products
All Collections

[Subscriptions] Instructions

Step 1: Insert the code snippet

Paste this snippet in the product form of the theme you're currently testing.

Note: this will be located in different places depending on the theme. (Hint: check product.liquid, product-template.liquid, product-form.liquid, product-info.liquid, etc.)

<div>
  {% if product.selling_plan_groups.size > 0 %}
    <div>
      <label for="plans">Selling plan:</label>
      <select name="selling_plan" id="plans">
        <option value="">One time purchase</option>
        {% for variant in product.variants %}
          <optgroup label="{{ variant.title }}">
            {% for allocation in variant.selling_plan_allocations %}
              <option value="{{ allocation.selling_plan.id }}">
                {{ allocation.selling_plan.name }}
              </option>
            {% endfor %}
           </optgroup>
         {% endfor %}
       </select>
     </div>
   {% endif %}
 </div>

Testing the product pages

1. Go to "Puffin Concierge" product page, ensure subscription variant dropdown is visible.

NOTE: Dynamic checkout button is not compatible for subscription products. It is expected that subscription products do not have dynamic checkout button.

Testing the customer order page

1. Go to the customer login page, and login with the following account:

Email: theme-reviews@shopify.com

Password: coffee

2. Click on an order. Check and ensure the subscription information is present below "Puffin Concierge" product.