How to add shipping details and product wight on a product page in Shopify?

How do you add shipping details to a product page in Shopify?

I want to add shipping details to a specific product template, not to all product templates, only to this one called “test”.

I want it to look like this:

Nasar1999_1-1717167072505.png

On the product information section, I tried to add a block with a custom Liquid code. However, this code didn’t work for me. It shows the correct weight of the product, but not the shipping cost.

{% if product.selected_or_first_available_variant %}
{% assign weight_with_unit = product.selected_or_first_available_variant.weight | weight_with_unit %}

Weight: {{ weight_with_unit }}

{% if weight_with_unit contains 'lb' %}

Shipping Cost: Calculating...


{% endif %}
{% endif %}

all I know is debutify has a thing called product taps, however debutify can be expense but they do offer a 14 trial (sorry if that sounds like an ad)

this allows you to put things in like clickable pop downs that provide more detailed info

then from there you can customize them however you want

i hope this helps, im still newer so I still have lots to learn myself :slightly_smiling_face: