This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %}{% render 'product-swatches-metafields', product: product %}{% endcomment %} | |
{% assign current_product_handle = product.handle %} | |
{% for product in product.metafields.custom.product_swatch_related_products.value %} | |
{% assign related_product_handle = product.handle %} | |
{% endfor %} | |
<div class="product-swatches__outer"> | |
{% for swatch in product.metafields.custom.colour_swatches.value %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. add snippet to cart.liquid file at the bottom of the file | |
{% include 'upsell-modal' %} | |
2. add css to theme.liquid in the header | |
{{ 'upsell-modal.scss' | asset_url | stylesheet_tag }} |