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

#   Re: Dimensions added to Product Listing

##

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

Less More

- Posts: 88
- Thank you received: 0
-
-

14 years 11 months ago [\#33318](#33318) by [wonderwilson](/forum/user/3904-wonderwilson "View wonderwilson's Profile")  *[Dimensions added to Product Listing](/forum/4-how-to/33318-re-dimensions-added-to-product-listing#33318 "Hi Guys,  Is it possible to add the product dimensions (width x height) on the product description (listing&#95;img&#95;title ). It would need to look like 25 x 30 etc.  Thanks  Darren")* was created by *[wonderwilson](/forum/user/3904-wonderwilson "View wonderwilson's Profile")*

Hi Guys,

Is it possible to add the product dimensions (width x height) on the product description (listing_img_title ). It would need to look like 25 x 30 etc.

Thanks

Darren

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzMzE4LXJlLWRpbWVuc2lvbnMtYWRkZWQtdG8tcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

14 years 11 months ago [\#33336](#33336) 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 added to Product Listing](/forum/4-how-to/33318-re-dimensions-added-to-product-listing#33336 "Hi Guys,  Is it possible to add the product dimensions (width x height) on the product description (listing&#95;img&#95;title ). It would need to look like 25 x 30 etc.  Thanks  Darren")*

Hi,

Yes, it's possible. You need to edit the file "listing_img_title" (provided that your listing layout type is div and that the item box layout is image and title which are the default values) of the view "product" via the menu Display-&gt;Views and add something like that:
&lt;?php echo $this-&gt;row-&gt;product_width.' x '.$this-&gt;row-&gt;product_height; ?&gt;

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

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

Less More

- Posts: 88
- Thank you received: 0
-
-

14 years 11 months ago [\#33346](#33346) by [wonderwilson](/forum/user/3904-wonderwilson "View wonderwilson's Profile")  Replied by *[wonderwilson](/forum/user/3904-wonderwilson "View wonderwilson's Profile")* on topic *[Re: Dimensions added to Product Listing](/forum/4-how-to/33318-re-dimensions-added-to-product-listing#33346 "Hi Guys,  Is it possible to add the product dimensions (width x height) on the product description (listing&#95;img&#95;title ). It would need to look like 25 x 30 etc.  Thanks  Darren")*

Great, thanks Nicolas!

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

6 years 4 months ago [\#321787](#321787) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Re: Dimensions added to Product Listing](/forum/4-how-to/33318-re-dimensions-added-to-product-listing#321787 "Hi Guys,  Is it possible to add the product dimensions (width x height) on the product description (listing&#95;img&#95;title ). It would need to look like 25 x 30 etc.  Thanks  Darren")*

I now this is and old thread, but it still works ![:-)](/media/kunena/emoticons/3.png ":-)")

But it shows like:
80.000 x 80.000

How can I let show like: 80 x 80 cm

And only on products where the fields aren't 0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzMzE4LXJlLWRpbWVuc2lvbnMtYWRkZWQtdG8tcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

6 years 4 months ago [\#321800](#321800) 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 added to Product Listing](/forum/4-how-to/33318-re-dimensions-added-to-product-listing#321800 "Hi Guys,  Is it possible to add the product dimensions (width x height) on the product description (listing&#95;img&#95;title ). It would need to look like 25 x 30 etc.  Thanks  Darren")*

Hi,

You can do like that: Code:

&lt;?php if($this-&gt;row-&gt;product_width &gt; 0.0 &amp;&amp; $this-&gt;row-&gt;product_height &gt; 0.0) { echo (int)$this-&gt;row-&gt;product_width.' x '.(int)$this-&gt;row-&gt;product_height.' cm'; } ?&gt;

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

6 years 4 months ago [\#321804](#321804) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Re: Dimensions added to Product Listing](/forum/4-how-to/33318-re-dimensions-added-to-product-listing#321804 "Hi Guys,  Is it possible to add the product dimensions (width x height) on the product description (listing&#95;img&#95;title ). It would need to look like 25 x 30 etc.  Thanks  Darren")*

I'm impressed, you always have a great answer and reply so quickly, thank you so much!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMzMzE4LXJlLWRpbWVuc2lvbnMtYWRkZWQtdG8tcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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.083 seconds

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