[Skip to main content](#vessel-content)

#   How to remove volume(sizes) on the productpage

##

- **[jan2](/forum/user/8072-jan2 "View jan2's Profile")**
- [![jan2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8072-jan2 "View jan2's Profile") Topic Author
- [ Offline](/forum/user/8072-jan2)

Less More

- Posts: 88
- Thank you received: 0
-
-
- [](http://www.thejarfactory.com)
-

14 years 3 months ago [\#57207](#57207) by [jan2](/forum/user/8072-jan2 "View jan2's Profile")  *[How to remove volume(sizes) on the productpage](/forum/2-general-talk-about-hikashop/57207-how-to-remove-volume-sizes-on-the-productpage#57207 "Hi,  I would like to remove the 'fields = length, width and height from the productpage' I need them only for calculating the volume - transport.  After searching in the forum I discovered I have to change this files (I guess) But I don't have experience in this matter...  it is the following PHP files : show&#95;.php   element-&gt;product&#95;weight) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;weight,0,3)){ ?&gt;  element-&gt;product&#95;weight,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;weight&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;width, 0, 3)) { ?&gt;  element-&gt;product&#95;width,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;length, 0, 3)) { ?&gt;  element-&gt;product&#95;length,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;height, 0, 3)) { ?&gt;  element-&gt;product&#95;height,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  php }")* was created by *[jan2](/forum/user/8072-jan2 "View jan2's Profile")*

Hi,

I would like to remove the 'fields = length, width and height from the productpage'
I need them only for calculating the volume - transport.

After searching in the forum I discovered I have to change this files (I guess)
But I don't have experience in this matter...

it is the following PHP files : show_.php

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.5.8
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;?php
if(isset($this-&gt;element-&gt;product_weight) &amp;&amp; bccomp($this-&gt;element-&gt;product_weight,0,3)){ ?&gt;
&lt;span id="hikashop_product_weight_main" class="hikashop_product_weight_main"&gt;
&lt;?php echo JText::_('PRODUCT_WEIGHT').': '.rtrim(rtrim($this-&gt;element-&gt;product_weight,',.'),'0').' '.JText::_($this-&gt;element-&gt;product_weight_unit); ?&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;?php
}
if ($this-&gt;config-&gt;get('dimensions_display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product_width, 0, 3)) {
?&gt;
&lt;span id="hikashop_product_width_main" class="hikashop_product_width_main"&gt;
&lt;?php echo JText::_('PRODUCT_WIDTH').': '.rtrim(rtrim($this-&gt;element-&gt;product_width,',.'),'0').' '.JText::_($this-&gt;element-&gt;product_dimension_unit); ?&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;?php
}
if ($this-&gt;config-&gt;get('dimensions_display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product_length, 0, 3)) {
?&gt;
&lt;span id="hikashop_product_length_main" class="hikashop_product_length_main"&gt;
&lt;?php echo JText::_('PRODUCT_LENGTH').': '.rtrim(rtrim($this-&gt;element-&gt;product_length,',.'),'0').' '.JText::_($this-&gt;element-&gt;product_dimension_unit); ?&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;?php
}
if ($this-&gt;config-&gt;get('dimensions_display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product_height, 0, 3)) {
?&gt;
&lt;span id="hikashop_product_height_main" class="hikashop_product_height_main"&gt;
&lt;?php echo JText::_('PRODUCT_HEIGHT').': '.rtrim(rtrim($this-&gt;element-&gt;product_height,',.'),'0').' '.JText::_($this-&gt;element-&gt;product_dimension_unit); ?&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;?php
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU3MjA3LWhvdy10by1yZW1vdmUtdm9sdW1lLXNpemVzLW9uLXRoZS1wcm9kdWN0cGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 3 months ago [\#57231](#57231) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: How to remove volume(sizes) on the productpage](/forum/2-general-talk-about-hikashop/57207-how-to-remove-volume-sizes-on-the-productpage#57231 "Hi,  I would like to remove the 'fields = length, width and height from the productpage' I need them only for calculating the volume - transport.  After searching in the forum I discovered I have to change this files (I guess) But I don't have experience in this matter...  it is the following PHP files : show&#95;.php   element-&gt;product&#95;weight) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;weight,0,3)){ ?&gt;  element-&gt;product&#95;weight,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;weight&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;width, 0, 3)) { ?&gt;  element-&gt;product&#95;width,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;length, 0, 3)) { ?&gt;  element-&gt;product&#95;length,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;height, 0, 3)) { ?&gt;  element-&gt;product&#95;height,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  php }")*

Hi jan2,

You can edit the file "product / show_default.php" (or reverser, tabular depends of the view you are using)

And comment the lines: Code:

$this-&gt;setLayout('show_block_dimensions'); echo $this-&gt;loadTemplate();

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU3MjA3LWhvdy10by1yZW1vdmUtdm9sdW1lLXNpemVzLW9uLXRoZS1wcm9kdWN0cGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[jan2](/forum/user/8072-jan2 "View jan2's Profile")**
- [![jan2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8072-jan2 "View jan2's Profile") Topic Author
- [ Offline](/forum/user/8072-jan2)

Less More

- Posts: 88
- Thank you received: 0
-
-
- [](http://www.thejarfactory.com)
-

14 years 3 months ago [\#57244](#57244) by [jan2](/forum/user/8072-jan2 "View jan2's Profile")  Replied by *[jan2](/forum/user/8072-jan2 "View jan2's Profile")* on topic *[Re: How to remove volume(sizes) on the productpage](/forum/2-general-talk-about-hikashop/57207-how-to-remove-volume-sizes-on-the-productpage#57244 "Hi,  I would like to remove the 'fields = length, width and height from the productpage' I need them only for calculating the volume - transport.  After searching in the forum I discovered I have to change this files (I guess) But I don't have experience in this matter...  it is the following PHP files : show&#95;.php   element-&gt;product&#95;weight) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;weight,0,3)){ ?&gt;  element-&gt;product&#95;weight,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;weight&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;width, 0, 3)) { ?&gt;  element-&gt;product&#95;width,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;length, 0, 3)) { ?&gt;  element-&gt;product&#95;length,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;height, 0, 3)) { ?&gt;  element-&gt;product&#95;height,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  php }")*

thanks a lot Xavier !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU3MjA3LWhvdy10by1yZW1vdmUtdm9sdW1lLXNpemVzLW9uLXRoZS1wcm9kdWN0cGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 3 months ago [\#57293](#57293) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to remove volume(sizes) on the productpage](/forum/2-general-talk-about-hikashop/57207-how-to-remove-volume-sizes-on-the-productpage#57293 "Hi,  I would like to remove the 'fields = length, width and height from the productpage' I need them only for calculating the volume - transport.  After searching in the forum I discovered I have to change this files (I guess) But I don't have experience in this matter...  it is the following PHP files : show&#95;.php   element-&gt;product&#95;weight) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;weight,0,3)){ ?&gt;  element-&gt;product&#95;weight,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;weight&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;width, 0, 3)) { ?&gt;  element-&gt;product&#95;width,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;length, 0, 3)) { ?&gt;  element-&gt;product&#95;length,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  config-&gt;get('dimensions&#95;display', 0) &amp;&amp; bccomp($this-&gt;element-&gt;product&#95;height, 0, 3)) { ?&gt;  element-&gt;product&#95;height,',.'),'0').' '.JText::&#95;($this-&gt;element-&gt;product&#95;dimension&#95;unit); ?&gt;  php }")*

You can also turn off the option "display dimensions" in the configuration for that ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU3MjA3LWhvdy10by1yZW1vdmUtdm9sdW1lLXNpemVzLW9uLXRoZS1wcm9kdWN0cGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.090 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
