Jump to content

Default Inches not Centimeters in Product Dimensions


Claudia M

Recommended Posts

  • 7 months later...

This setting is not in Store Settings. It is in each product's Add/Edit, General Information tab.

In the admin template products.index.php, near line 174, find:

<select name="dimension_unit" id="dimension_unit">
  <option{if $PRODUCT.dimension_unit=='cm'} selected='selected'{/if} value="cm">Centimeters (cm)</option>
  <option{if $PRODUCT.dimension_unit=='in'} selected='selected'{/if} value="in">Inches (in)</option>
</select>

If the inventory record has not recorded the dimension unit ('cm' or 'in'), the first <option> will show as the default choice. To get a default of 'in', make sure it is the first option of the select list.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...