add HTML syntax for Snipcart
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d8f703465e
commit
1f63bb1d14
@ -2,12 +2,13 @@
|
|||||||
class="button primary fit snipcart-add-item"
|
class="button primary fit snipcart-add-item"
|
||||||
data-item-id="{{ page.product_id }}"
|
data-item-id="{{ page.product_id }}"
|
||||||
data-item-name="{{ page.heading }}"
|
data-item-name="{{ page.heading }}"
|
||||||
|
data-item-url="{{ page.url }}"
|
||||||
data-item-price="{{ page.unit_price | precision: 2}}"
|
data-item-price="{{ page.unit_price | precision: 2}}"
|
||||||
data-item-image="{{ page.banner_image }}"
|
data-item-image="{{ page.banner_image }}"
|
||||||
data-item-description="{{ page.content | remove: '<p>' | remove: '</p>' }}"
|
data-item-description="{{ page.content | remove: '<p>' | remove: '</p>' }}"
|
||||||
data-item-shippable="{{ page.is_shippable }}"
|
data-item-shippable="{{ page.is_shippable }}"
|
||||||
data-item-taxable="{{ page.is_taxable }}"
|
data-item-taxable="{{ page.is_taxable }}"
|
||||||
|
|
||||||
data-item-custom1-name="Colors"
|
data-item-custom1-name="Colors"
|
||||||
data-item-custom1-options="{{ page.colors | replace: ',', '|' }}"
|
data-item-custom1-options="{{ page.colors | replace: ',', '|' }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user