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:

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 %}



