sutty-base-jekyll-theme/_includes/cart_controller.html

11 lines
462 B
HTML
Raw Normal View History

2021-06-01 21:33:49 +00:00
data-controller="cart"
data-target="stock.product"
data-cart-url="{{ include.product.url }}"
data-cart-variant-id="{{ include.product.variant_id }}"
data-cart-image="{{ include.product.image.path | thumbnail: 212, 300 }}"
data-cart-title="{{ include.product.title }}"
data-cart-price="{{ include.product.price }}"
data-cart-in-stock="{{ include.product.in_stock }}"
data-cart-stock="{{ include.product.stock }}"
data-cart-extra="{{ include.extra | join: '|' }}"