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

#   Dimensions not always showing?

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 8 months ago -  14 years 8 months ago [\#44249](#44249) by [ghiebert](/forum/user/6767-ghiebert "View ghiebert's Profile")  *[Dimensions not always showing?](/forum/4-how-to/44249-dimensions-not-always-showing#44249 "Hey, I am probably missing something simple. I sell photography and so far really like the layout style of Hikashop. To save creating a whackload of different product entries I am adding size...")* was created by *[ghiebert](/forum/user/6767-ghiebert "View ghiebert's Profile")*

Hey, I am probably missing something simple. I sell photography and so far really like the layout style of Hikashop. To save creating a whackload of different product entries I am adding size characteristics (variants?) to each product, so then I can enter each product just one time. Each size has a different price, but it is critical that the dimensions show. As soon as the customer selects a variant (eg 20") the dimension display disappears on the product page and never comes back unless you refresh the whole page.
I am trying the free version.
In the future if I want to add pricing with matte or frame, will I need to use Options, which is the upgrade?

Last edit: 14 years 8 months ago by [ghiebert](/forum/user/6767-ghiebert "View ghiebert's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0MjQ5LWRpbWVuc2lvbnMtbm90LWFsd2F5cy1zaG93aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86593
- Thank you received: 14334
-
-

14 years 8 months ago [\#44409](#44409) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Dimensions not always showing?](/forum/4-how-to/44249-dimensions-not-always-showing#44409 "Hey, I am probably missing something simple. I sell photography and so far really like the layout style of Hikashop. To save creating a whackload of different product entries I am adding size...")*

The simplest will be to edit the file "show" of the view "product" of your front end template via the menu Display-&gt;Views and remove the code: Code:

&lt;div id="hikashop_product_width_&lt;?php echo $variant_name;?&gt;" style="display:none;"&gt; &lt;?php echo JText::_('PRODUCT_WIDTH').': '.rtrim(rtrim($variant-&gt;product_width,'0'),',.').' '.JText::_($variant-&gt;product_dimension_unit); ?&gt;&lt;br /&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;?php if(isset($variant-&gt;product_length) &amp;&amp; bccomp($variant-&gt;product_length,0,3)){ ?&gt; &lt;div id="hikashop_product_length_&lt;?php echo $variant_name;?&gt;" style="display:none;"&gt; &lt;?php echo JText::_('PRODUCT_LENGTH').': '.rtrim(rtrim($variant-&gt;product_length,'0'),',.').' '.JText::_($variant-&gt;product_dimension_unit); ?&gt;&lt;br /&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;?php if(isset($variant-&gt;product_height) &amp;&amp; bccomp($variant-&gt;product_height,0,3)){ ?&gt; &lt;div id="hikashop_product_height_&lt;?php echo $variant_name;?&gt;" style="display:none;"&gt; &lt;?php echo JText::_('PRODUCT_HEIGHT').': '.rtrim(rtrim($variant-&gt;product_height,'0'),',.').' '.JText::_($variant-&gt;product_dimension_unit); ?&gt;&lt;br /&gt; &lt;/div&gt;

Yes you will have to use options for that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0MjQ5LWRpbWVuc2lvbnMtbm90LWFsd2F5cy1zaG93aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 8 months ago [\#44472](#44472) by [ghiebert](/forum/user/6767-ghiebert "View ghiebert's Profile")  Replied by *[ghiebert](/forum/user/6767-ghiebert "View ghiebert's Profile")* on topic *[Re: Dimensions not always showing?](/forum/4-how-to/44249-dimensions-not-always-showing#44472 "Hey, I am probably missing something simple. I sell photography and so far really like the layout style of Hikashop. To save creating a whackload of different product entries I am adding size...")*

Shouldn't I just set display:inline? Otherwise there would be no dimensions display.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0MjQ5LWRpbWVuc2lvbnMtbm90LWFsd2F5cy1zaG93aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86593
- Thank you received: 14334
-
-

14 years 8 months ago [\#44617](#44617) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Dimensions not always showing?](/forum/4-how-to/44249-dimensions-not-always-showing#44617 "Hey, I am probably missing something simple. I sell photography and so far really like the layout style of Hikashop. To save creating a whackload of different product entries I am adding size...")*

Removing that code won't remove the dimensions display. This code is only to add the variants dimensions data to the page so that HikaShop can replace the dimensions of the main product with the dimensions of the variant when you change the characteristics.
When you remove that code, HikaShop won't update the dimensions information and your dimensions will always be displayed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ0MjQ5LWRpbWVuc2lvbnMtbm90LWFsd2F5cy1zaG93aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.067 seconds

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