Tweak Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

Product Dimensions

Emphasised product dimensions, to let the user know whether it suits them.

Industries

  • Furniture & Homewares

Wireframe

Product Dimension

Coding Instructions

Step 1. Add the code into the product header template

Open up the product header template here: /assets/themes/THEME-NAME/products/includes/header.template.html

To convert the dimension values to millimeters on the page, paste the following code directly underneath the closing tag for social share section, with the class "dropdown".

<h3>Product Dimensions</h3>
<ul>
    <li>[%calc [@actual_width@] * 1000/%]mm (width)</li>
    <li>[%calc [@actual_length@] * 1000/%]mm (length)</li>
    <li>[%calc [@actual_height@] * 1000/%]mm (height)</li>
</ul>

If satisfied with the original meter measurement to show on the page, paste the following code directly underneath the closing tag for social share section, with the class "dropdown".

<h3>Product Dimensions</h3>
<ul>
    <li>[@actual_width@]m (width)</li>
    <li>[@actual_length@]m (length)</li>
    <li>[@actual_height@]m (height)</li>
</ul>

Final Result

Dimension Result


1 related articles found: