πEnable app embed
How does the app work on your storefront.
Last updated
How does the app work on your storefront.
Last updated
{% assign result_collection = "" %}
{% for collection in card_product.collections %}
{% if forloop.first == false %}
{% assign result_collection = result_collection | append: "," %}
{% endif %}
{% assign result_collection = result_collection | append: collection.id %}
{% endfor %}
<div class="omgLimit-collection"
data-variant-id="{{ card_product.variants[0].id }}"
data-variant-price="{{ card_product.selected_or_first_available_variant.price }}"
data-variant-weight="{{ card_product.selected_or_first_available_variant.weight }}"
data-variant-quantity="{{ cart | item_count_for_variant: variant.id }}"
data-product-id="{{ card_product.id }}"
data-colections="{{ result_collection }}">
</div>