![[Code sales]: Product page/How much is left until free shipping?](http://section-stock.com/cdn/shop/files/2025-03-1620.47.38.png?v=1742126294&width=1445)
This section is available on product pages.
For Dawn, add the code to the following two places in main-product.liquid.
Under {%- case block.type -%} , Please add {%- when 'free_shipping_fee' -%} ...

schema Under "blocks": [, Please add the code { "type": "free_shipping_fee"...

You can add it as a block within the product information on the product page.
Detailed settings can be made within the block.

Set the amount threshold.

You can edit the text that appears when no items are in the cart.
The default is "Free shipping nationwide."

You can edit the text that appears when the threshold is met and the item is in the cart.
By default, "Free Shipping" will be entered.

You can edit the text that appears when there are more than a certain number of items in the cart.
By default, it says "You can now order the items in your cart with free shipping!"

In addition to the free shipping setting, if you purchase more than XX yen,
-
Novelty gift
- Coupon gift
It can also be used for promotional measures such as:
{%- when 'free_shipping_fee' -%}
<div class="announcement-bar">
<p class="announcement-bar__message h5">
{%- assign free_shipping_fee = block.settings.free_shipping_threshold | times: 100 -%}
{% if cart.total_price == 0 %}
<span>Get {{ block.settings.bar-25015-text1 }} when you spend {{ free_shipping_fee | money }} or more </span>
{% elsif cart.total_price < free_shipping_fee %}