How to add shipping information to the cart page (Debut theme)?

New Member
2 0 0

Hi everyone, I want to add some specific shipping information to the cart page for each product customers add to the cart.

I already have some code that shows customers how long delivery will take when a product is in stock or sold out. This shows on the product page. It works with the current stock levels in Shopify.

-In stock: 5-7 days delivery

-Out of stock: 10-20 working days

It looks like this:

product page.png

Now I want to show the same information on the cart page similar to the image below by adding a section on "Delivery time and Returns policy".


If anyone can help, I would greatly appreciate it!




Shopify Partner
7452 1770 2372


Please try this code  your Sections/product-template.liquid file


{% if product.variants.first.inventory_management == "shopify" and product.variants.first.inventory_quantity > 0 %}
In stock: 5-7 days delivery
{% else %}
Out of stock: 10-20 working days
{% endif %}


If helpful then please Like and Accept Solution | Email: | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
New Member
2 0 0

Hi, thanks so much for your response. I might be wrong, but I'm already displaying that text on the product page. I want to have the shipping text show on the cart page.