This file contains hidden or 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
## Shopify cart notification | |
## Using on Narrative theme add in the cart-drawer.liquid/cart-template.liquid to display an alert in the cart/ before checkout | |
<div style="padding:10px;"> | |
<h6> | |
<strong> | |
<span style="color:#c54245; font-size:20px;">!!!</span> | |
Orders placed up until 2nd January: | |
</strong><br> | |
Please allow for a 10 working day processing time from 3rd January. |
This file contains hidden or 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
# Shopify code snippet for cart-template.liquid # | |
# Purpose: Add a text message informing the user to add X to cart to entitle for free shipping # | |
# How to use: # | |
# 1. Add a free shipping profile with a condition set to desired amount # | |
# 2. Copy the snippet below and add it to your cart-template.liquid or wherever you want to display the message # | |
# 3. Change the amount required to be entitled for free shipping in the first line of code (currently set to 60) # | |
{%- assign freeShippingAmount = 60 | times:100 -%} | |
{%- assign cartTotalDiff = freeShippingAmount | minus:cart.total_price -%} |
NewerOlder