How can I display the free shipping field in the next line of the title? Please see screenshots:
Can anyone tell me what to do? thanks.
Hello @alonluciano
You need to change place of code of free shipping if it available on product page OR you can add below code to product template file exactly below the product title element.
Please find this code on the product template file also please check the attached screenshot URL: https://prnt.sc/1qa0pts
{%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
<small>
{%- if shop.taxes_included -%}
{{ 'products.product.include_taxes' | t }}
{%- endif -%}
{%- if shop.shipping_policy.body != blank -%}
{{ 'products.product.shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- endif -%}
</small>
{%- endif -%}
And add it below the product title element, for example like this:
https://prnt.sc/1qa0xny
# {{ product.title }}
{%- if cart.taxes_included or shop.shipping_policy.body != blank -%}
{%- if cart.taxes_included -%}
{{ 'products.general.include_taxes' | t }}
{%- endif -%}
{%- if shop.shipping_policy.body != blank -%}
{{ 'products.general.shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- endif -%}
{%- endif -%}
Hope you get help with that.
Thanks.
Thank you for your detailed answer. I have displayed it. But I still have a question. I want to modify the text of the word “Free Shipping”, how can I do it.
Thank you for your detailed answer. I have displayed it. But I still have a question. I want to modify the text of the word “Free Shipping”, how can I do it.


