skip to Main Content

How to Add Multiple Products to Shopify Cart with One Button Click

Here is the button's code: {% assign p_annual = all_products[section.settings.paid_product_annual] %} {% assign p_free = all_products[section.settings.free_product] %} {% if section.settings.productlink1label != blank %} <button class="btn" type="submit" name="paid-plan" id="paid-plan-option-annual" data-variant-id="{{ p_annual.selected_or_first_available_variant.metafields.subscriptions.discount_variant_id }}" data-variant-interval-value="{{ p_annual.metafields.subscriptions.shipping_interval_frequency }}" data-variant-interval-unit="{{ p_annual.metafields.subscriptions.shipping_interval_unit_type }}" data-quickadd-id="{{ p_annual.selected_or_first_available_variant.id }}"…

VIEW QUESTION
Back To Top
Search