Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi
Based on the Shopify Shipping rates & condition, i want to show message .
I am looking for a similar solution, either a message in the checkout OR even better, a popup. I've not yet found a solution but thought I'd let you know my thoughts on how to approach this. There is a bit of code at https://community.shopify.com/c/Payments-Shipping-Fulfillment/Setup-Minimum-order-dollar-amounts/td-... which points to putting an IF statement when a cart is below a specified amount in the checkout where you could code in a message to get to the minimum order. What I will probably do, if I can't find an app to fulfill this need, is to code a block that puts a message above the NOTES field in the checkout, and put a bit of logic that if there is maybe < $10 left then a certain product, if < $25 a certain product. And hopefully put a one-click-add to cart for those...
Something like this maybe:
{% if cart.total_price < 25 %}
<div class="cart-near-freeshipping-wrapper">
<form action="/cart/add" method="post" id="product-form-{{ product.id }}">
<input type="hidden" name="id" value="{{ product.variants.first.id }}">
<p>You're nearly there for FREE SHIPPING! Just {{ 50 - cart.total_price }} to go. Add a $25 gift card to your order and you're there!
<button type="submit" name="add">Add to cart</button>
</form>
</div>
{% endif %}