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

#   Product description on top of product page.

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

11 years 1 month ago [\#215181](#215181) by [Meander](/forum/user/38894-meander "View Meander's Profile")  *[Product description on top of product page.](/forum/26-product-category-display/879450-product-description-on-top-of-product-page#215181 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi there. First of all thank you for Hikashop.  I'm trying to get the product description on top of my product page aboven te product image. Now my product description is way back down on the bottom of the page  I read something on this board about changing the product / listing&#95;img&#95;desc.php file in views but that doesn't work for me.  I have put the product description part before the img part amd than deleted the original product desc part on the bottom of the file &gt;&gt;&gt;  etc.  Than I deleted the product description part on the bottom of this file.  It's very important for me to have the product description on top of the page instead of the bottom.  What am I doing wrong and how can I get the product description above the image?  Thanks in advance.")* was created by *[Meander](/forum/user/38894-meander "View Meander's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi there. First of all thank you for Hikashop.

I'm trying to get the product description on top of my product page aboven te product image.
Now my product description is way back down on the bottom of the page

I read something on this board about changing the product / listing_img_desc.php file in views but that doesn't work for me.

I have put the product description part before the img part amd than deleted the original product desc part on the bottom of the file &gt;&gt;&gt;
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.5.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php $height = $this-&gt;newSizes-&gt;height; $width = $this-&gt;newSizes-&gt;width; $link = hikashop_contentLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway,$this-&gt;row); if(!empty($this-&gt;row-&gt;extraData-&gt;top)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;top); } ?&gt; &lt;table&gt; &lt;tr&gt; &lt;td valign="top"&gt; &lt;div class="hikashop_product_item_left_part"&gt; &lt;!-- PRODUCT DESCRIPTION --&gt; &lt;div class="hikashop_product_desc" style="text-align:&lt;?php echo $this-&gt;align; ?&gt;"&gt; &lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt; &lt;/div&gt; &lt;!-- EO PRODUCT DESCRIPTION --&gt; &lt;!-- PRODUCT IMG --&gt; &lt;?php if($this-&gt;config-&gt;get('thumbnail',1)){ ?&gt; &lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;div style="position:relative;text-align:center;clear:both;width:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_x;?&gt;px;margin: auto;" class="hikashop_product_image_subdiv"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt; &lt;?php } $image_options = array('default' =&gt; true,'forcesize'=&gt;$this-&gt;config-&gt;get('image_force_size',true),'scale'=&gt;$this-&gt;config-&gt;get('image_scale_mode','inside')); $img = $this-&gt;image-&gt;getThumbnail(@$this-&gt;row-&gt;file_path, array('width' =&gt; $this-&gt;image-&gt;main_thumbnail_x, 'height' =&gt; $this-&gt;image-&gt;main_thumbnail_y), $image_options); if($img-&gt;success) { echo '&lt;img class="hikashop_product_listing_image" title="'.$this-&gt;escape(@$this-&gt;row-&gt;file_description).'" alt="'.$this-&gt;escape(@$this-&gt;row-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;'; } $main_thumb_x = $this-&gt;image-&gt;main_thumbnail_x; $main_thumb_y = $this-&gt;image-&gt;main_thumbnail_y; if($this-&gt;params-&gt;get('display_badges',1)){ $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;row-&gt;badges, -10, 0); } $this-&gt;image-&gt;main_thumbnail_x = $main_thumb_x; $this-&gt;image-&gt;main_thumbnail_y = $main_thumb_y; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;!-- EO PRODUCT IMG --&gt;

etc.

Than I deleted the product description part on the bottom of this file.

It's very important for me to have the product description on top of the page instead of the bottom.

[ This is what I mean.](http://jetsstudio.nl/index.php/teksten-diversen/product/37-vriendschapsrecept-regulier)

What am I doing wrong and how can I get the product description above the image?

Thanks in advance.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#215204](#215204) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product description on top of product page.](/forum/26-product-category-display/879450-product-description-on-top-of-product-page#215204 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi there. First of all thank you for Hikashop.  I'm trying to get the product description on top of my product page aboven te product image. Now my product description is way back down on the bottom of the page  I read something on this board about changing the product / listing&#95;img&#95;desc.php file in views but that doesn't work for me.  I have put the product description part before the img part amd than deleted the original product desc part on the bottom of the file &gt;&gt;&gt;  etc.  Than I deleted the product description part on the bottom of this file.  It's very important for me to have the product description on top of the page instead of the bottom.  What am I doing wrong and how can I get the product description above the image?  Thanks in advance.")*

Hi,

You're editing the view for the product listing ; not for the product page.
That documentation page will help you with the different HikaShop views :
[ www.hikashop.com/support/support/documen...-display.html#layout](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html#layout)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

11 years 1 month ago [\#215222](#215222) by [Meander](/forum/user/38894-meander "View Meander's Profile")  Replied by *[Meander](/forum/user/38894-meander "View Meander's Profile")* on topic *[Product description on top of product page.](/forum/26-product-category-display/879450-product-description-on-top-of-product-page#215222 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi there. First of all thank you for Hikashop.  I'm trying to get the product description on top of my product page aboven te product image. Now my product description is way back down on the bottom of the page  I read something on this board about changing the product / listing&#95;img&#95;desc.php file in views but that doesn't work for me.  I have put the product description part before the img part amd than deleted the original product desc part on the bottom of the file &gt;&gt;&gt;  etc.  Than I deleted the product description part on the bottom of this file.  It's very important for me to have the product description on top of the page instead of the bottom.  What am I doing wrong and how can I get the product description above the image?  Thanks in advance.")*

Thanks for the reply.

I've been on that page already but I don't know what they mean since mine is in Dutch

I know how to find the views but not which one to change for my purpose.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#215223](#215223) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product description on top of product page.](/forum/26-product-category-display/879450-product-description-on-top-of-product-page#215223 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi there. First of all thank you for Hikashop.  I'm trying to get the product description on top of my product page aboven te product image. Now my product description is way back down on the bottom of the page  I read something on this board about changing the product / listing&#95;img&#95;desc.php file in views but that doesn't work for me.  I have put the product description part before the img part amd than deleted the original product desc part on the bottom of the file &gt;&gt;&gt;  etc.  Than I deleted the product description part on the bottom of this file.  It's very important for me to have the product description on top of the page instead of the bottom.  What am I doing wrong and how can I get the product description above the image?  Thanks in advance.")*

Hi,

As you can see in the graph in the documentation page, it's " product / show_default ".

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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