I have setup some Shipping Categories (8 weeks, 4 weeks etc) and these appear down the side bar of a product when editing in admin next to 'Shipping' . How do i bring this value out via a tag on a product page/template?
2 Answers
Product:<br>
Shipping Category: {{ product.shippingCategory.name ?? 'None' }}<br>
Tax Category: {{ product.taxCategory.name ?? 'None'}}<br>
Variant:<br>
Shipping Category: {{ variant.product.shippingCategory.name ?? 'None' }}<br>
Tax Category: {{ variant.product.taxCategory.name ?? 'None' }}<br>