加购

×
{% capture "form_class" %}product-form{% if section.settings.enable_payment_button %} product-form--payment-button{% endif %}{%- endcapture %} {% capture "form_id" %}AddToCartForm-{{ section.id }}{%- endcapture %} {% form 'product', product, class:form_class, id:form_id %} {% unless product.has_only_default_variant %} {% for option in product.options_with_values %}
{% endfor %} {% endunless %}
{% if section.settings.enable_payment_button %} {{ form | payment_button }} {% endif %}
{% endform %}