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

#   Changing Layout Type

##

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

Less More

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

15 years 10 months ago [\#4791](#4791) by [eshu](/forum/user/653-eshu "View eshu's Profile")  *[Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4791 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")* was created by *[eshu](/forum/user/653-eshu "View eshu's Profile")*

hello!
I have a question about changing Layout type...
for instance HikaShop offers this line of order (product listing template):
Image - Price - Name of the product

i would like to have this kind of order:
Name of the product - Image - Price - Description(?)

so, is it possible to include Description (truncated) in the product listing template or at least to change the order?

if its possible then how to do that?

i was doing some researching and get to this function (that controls the way layout displays itself) div_item_layout_type but further than that i dont know...

for an online example i would like to accomplish this (direct from product listing template) is that possible?
[ www.kucazelenogcaja.com/trgovina/zeleni-cajevi/](http://www.kucazelenogcaja.com/trgovina/zeleni-cajevi/)

any help would be appreciated
thank you!
![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3OTEtY2hhbmdpbmctbGF5b3V0LXR5cGU/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

15 years 10 months ago [\#4792](#4792) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4792 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

Hi,

That's possible. You need to edit the options of the menu/module used to display your listing of products. You can do that via the menu Display-&gt;Content menus and Display-&gt;Content modules. In the options, you will have the option "item box layout" where you can select "image and description". That will set the option div_item_layout_type that you found in the code.

If you want to truncate the description, you can use the "read more" button of your editor in the description. That should add the HTML &lt;hr id="system-readmore" /&gt; which will be used by HikaShop to truncate the description on the listing of products.

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

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

Less More

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

15 years 10 months ago [\#4794](#4794) by [eshu](/forum/user/653-eshu "View eshu's Profile")  Replied by *[eshu](/forum/user/653-eshu "View eshu's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4794 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

yes i tried that too, but still i didn't manage to change the order of the parts... ie. image - mane of the product - price
is it a way to edit function div_item_layout_type and where to do that?
thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3OTEtY2hhbmdpbmctbGF5b3V0LXR5cGU/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

15 years 10 months ago [\#4795](#4795) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4795 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

The order of the information will have to be changed in the code of the view. You can go in the menu Display-&gt;Views to edit the views of hikashop.

If you set the item layout to "image and description", you will want to edit the file listing_img_desc of the view product. There, you should be able to easily invert the code for the name and the price.

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

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

Less More

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

15 years 10 months ago [\#4796](#4796) by [eshu](/forum/user/653-eshu "View eshu's Profile")  Replied by *[eshu](/forum/user/653-eshu "View eshu's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4796 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

ok i see..
i will do that...
thank you again... ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

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

15 years 10 months ago [\#4798](#4798) by [eshu](/forum/user/653-eshu "View eshu's Profile")  Replied by *[eshu](/forum/user/653-eshu "View eshu's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4798 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

one more question please ![:)](/media/kunena/emoticons/3.png ":)")

is it somehow possible to put or show Characteristics and or put chart button direct to product listing list?
can you please show how to do that

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3OTEtY2hhbmdpbmctbGF5b3V0LXR5cGU/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

15 years 10 months ago [\#4799](#4799) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4799 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

Adding "add to cart" buttons in the listing of products can be achieve with the corresponding option in the module/menu listing your products.
However, that will add the main product in the cart.

There is no option to display the characteristics selection in the listing of products. The data isn't loaded nor parsed in the listing. If you want to do it you will need to edit the listing files of the product view and add SQL query, parsing of the variant/characteristics data and the code displaying the characteristics selection and the variant display... It's a lot of work and would require to carefully analyze the code we used on the product page.
In your case, and using hikashop, I would rather not have the characteristic selection and just have a quantity field so that the customer can order several times the same 50g product.

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

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

Less More

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

15 years 10 months ago [\#4871](#4871) by [eshu](/forum/user/653-eshu "View eshu's Profile")  Replied by *[eshu](/forum/user/653-eshu "View eshu's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#4871 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

thank you for your answer...
its a great product and even greater support! ![:)](/media/kunena/emoticons/3.png ":)")
cheers

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

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

Less More

- Posts: 25
- Thank you received: 0
-
-

14 years 5 months ago [\#54036](#54036) by [bubiny](/forum/user/5636-bubiny "View bubiny's Profile")  Replied by *[bubiny](/forum/user/5636-bubiny "View bubiny's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#54036 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

I used this and it is great. Now I would like to hide whatever description is above the system-readmore in the product/show.php that way I kind of have customized description for the listing and it does not show again in the product details page. Can you help me with that? thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ3OTEtY2hhbmdpbmctbGF5b3V0LXR5cGU/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 5 months ago [\#54109](#54109) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing Layout Type](/forum/4-how-to/4791-changing-layout-type#54109 "hello! I have a question about changing Layout type... for instance HikaShop offers this line of order (product listing template): Image - Price - Name of the product  i would like to have this kind of order: Name of the product - Image - Price - Description(?)  so, is it possible to include Description (truncated) in the product listing template or at least to change the order?  if its possible then how to do that?  i was doing some researching and get to this function (that controls the way layout displays itself) div&#95;item&#95;layout&#95;type but further than that i dont know...  for an online example i would like to accomplish this (direct from product listing template) is that possible?   www.kucazelenogcaja.com/trgovina/zeleni-cajevi/  any help would be appreciated thank you! :)")*

In that case, you will want to edit the files "show" and "show_default" of the view "product" via the menu Display-&gt;Views and change the code:
'#&lt;hr *id="system-readmore" */&gt;#i'

to:
'#.*&lt;hr *id="system-readmore" */&gt;#is'

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

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