diff --git a/example-templates/buy-button/index.twig b/example-templates/buy-button/index.twig new file mode 100644 index 0000000..28e4269 --- /dev/null +++ b/example-templates/buy-button/index.twig @@ -0,0 +1,41 @@ + + + + + + + Example Shopify Store + + + + + + +

Shopify BuyButton.js Example

+ +
+ {% for product in craft.shopifyProducts.status('live').all() %} + {% set productId = "product-#{product.shopifyId}" %} +
+ + {% endfor %} +
+ + \ No newline at end of file