If you use price type for your length, weight, etc. attributes, you would like to hide $, € or some other currency sign when showing detailed information on product page for those attributes.
Unfortunately, it is not possible to resolve out of the box. Please follow these steps in order to achieve it:
1. Open template file
app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/template/catalog/product/view/attributes.phtml
2. Then replace line
<td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
with
<td class="data"><?php echo preg_replace('@[$€]@u', '', $_helper->productAttribute($_product, $_data['value'], $_data['code'])) ?></td>
3. Currency symbol should hide after you flush cache.
See more details on Improved Layered Navigation page
We use cookies to help improve our services, make personal offers, and enhance your experience. If you do not accept optional cookies below, your experience may be affected. If you want to know more, please read the Cookie Policy
Please select and accept your Cookies Group
Cookie Name | Cookie Provider | Cookie Description | Cookie Lifetime | Cookie Type |
---|---|---|---|---|
Login and Registration Form