Commerce Product - show shipping category in template
Product:&lt;br&gt;
Shipping Category: {{ product.shippingCategory.name ?? 'None' }}&lt;br&gt;
Tax Category: {{ product.taxCategory.name ?? 'None'}}&lt;br&gt;

Variant:&lt;br&gt;
Shipping Category: {{ variant.product.shippingCategory.name ?? 'None' }}&lt;br&gt;
Tax Category: {{ variant.product.taxCategory.name ?? 'None' }}&lt;br&gt;