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

#   Documentation for product template

##

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#89919](#89919) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#89919 "Hello, there is a detailed documentation to complete modify the product page template?")* was created by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")*

Hello, there is a detailed documentation to complete modify the product page template?

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

13 years 8 months ago [\#89977](#89977) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#89977 "Hello, there is a detailed documentation to complete modify the product page template?")*

Hi,

Actually the documentation is:
[ www.hikashop.com/fr/support/documentation/faq.html#layout](http://www.hikashop.com/fr/support/documentation/faq.html#layout)
We know that we have to improve it.

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#89988](#89988) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#89988 "Hello, there is a detailed documentation to complete modify the product page template?")*

Well, I read that documentation but is not helping me too much.
I need to change a lot in the product layout for example moving charateristic block, moving title,moving add button ecc...but I did not find the corresponding code in the views.

For example, the table you create for charateristics, how can I modify the position?
Thank you

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

13 years 8 months ago [\#90021](#90021) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#90021 "Hello, there is a detailed documentation to complete modify the product page template?")*

You can see that there is comments for each part of the product page, for example for characteristics the is the comment: //LAYOUT show_block_charasteristic
So the part to move is: Code:

&lt;?php //LAYOUT show_block_charasteristic $this-&gt;setLayout('show_block_characteristic'); echo $this-&gt;loadTemplate(); ?&gt;

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#90092](#90092) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#90092 "Hello, there is a detailed documentation to complete modify the product page template?")*

Yes, I understand how to move the full section of charaterics.
But I need to move the charateristics inside the module.

So the layout show_block_charasteristic is
Code:

&lt;?php if (!empty ($this-&gt;element-&gt;characteristics)) { ?&gt;&lt;div id="hikashop_product_characteristics" class="hikashop_product_characteristics"&gt;&lt;?php echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params); ?&gt;&lt;/div&gt;&lt;?php } ?&gt;

Where I have to change the layout for caracteristic block?
I mean, in this link [ goo.gl/DmgtF](http://goo.gl/DmgtF) I need the form "Taglia" just next to "Colore" on the same line.

Thank you

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

13 years 8 months ago [\#90143](#90143) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#90143 "Hello, there is a detailed documentation to complete modify the product page template?")*

You have to edit "administrator/components/com_hikashop/types/characteristic.php" and edit the format of the case "dropdown".
Be careful it's HikaShop core file, so it's better to copy the original file, and at each update of HikaShop you will have to do these modifications.

It require php knowldege.

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#90177](#90177) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#90177 "Hello, there is a detailed documentation to complete modify the product page template?")*

Sorry, for doing an hack like the picture, I have to edit the core of hikashop and doing again the same hack every time I update the software?!

I suppose there is another common way to do it, am I right?
Thank you

[ ![screenshot.jpg](/forum/attachment/8587) ](/forum/attachment/8587 "screenshot.jpg")

- [ ![screenshot.jpg](/forum/attachment/8587) ](/forum/attachment/8587 "screenshot.jpg") [ ](/forum/attachment/8587?download=1 "screenshot.jpg")

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

13 years 8 months ago [\#90379](#90379) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#90379 "Hello, there is a detailed documentation to complete modify the product page template?")*

Instead of changing the code directly in that file, you can use a characteristic display override whereby you basically copy the code displaying the characteristics in an external PHP function where you can change it and which won't be overwritten each time you update.
It's a bit more difficult than changing directly the code in the file though. Here is more information on such overrides:
[ www.hikashop.com/en/support/documentatio...tation.html#override](http://www.hikashop.com/en/support/documentation/62-hikashop-developer-documentation.html#override)

However, I don't think that you need to edit any code to do that change. You shoule be able to change the positioning of the characteristics simply with CSS...
For that, you need to set a display:block on the tbody tag, and a display: block;float:left; on the tr tags of the tbody of the characteristic table.

The following user(s) said Thank You: [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#90633](#90633) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Documentation for product template](/forum/2-general-talk-about-hikashop/78333-documentation-for-product-template#90633 "Hello, there is a detailed documentation to complete modify the product page template?")*

Thank you so much, I did your suggestion with success, thank you again.

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

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

[](#top)
