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

#   Modifying the product page modules

##

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

Less More

- Posts: 94
- Thank you received: 4
-
-

4 years 2 months ago [\#343902](#343902) by [bfred](/forum/user/39746-bfred "View bfred's Profile")  *[Modifying the product page modules](/forum/26-product-category-display/904851-modifying-the-product-page-modules#343902 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 103.0.2  Hi! Thanks a lot for all the previous answers. In fact I am in the process of customizing 'my Hikashop' display with a Joomla! template which doesn't really matches and I'm getting there. I have managed to add category name under the product name in the product page (though &quot;category&quot; is hardcoded and I need to use the proper translatable term for that), thanks to some code previously posted in the forum a few years back.  I also added a module with other products from the same category below my product display. I would like to actually add something before the category name, like &quot;also available from...&quot; or &quot;more from...&quot; and the category name. Where do I need to look to achieve that, and in which translatable file should I incorporate that text? I guess hikashop ones get overwritten by updates.  Thank you again for your help.  As a more in depth question do you have some general documentation to make a Hikashop template?  Thank you.")* was created by *[bfred](/forum/user/39746-bfred "View bfred's Profile")*

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Firefox 103.0.2

Hi!
Thanks a lot for all the previous answers. In fact I am in the process of customizing 'my Hikashop' display with a Joomla! template which doesn't really matches and I'm getting there.
I have managed to add category name under the product name in the product page (though "category" is hardcoded and I need to use the proper translatable term for that), thanks to some code previously posted in the forum a few years back.

I also added a module with other products from the same category below my product display. I would like to actually add something before the category name, like "also available from..." or "more from..." and the category name.
Where do I need to look to achieve that, and in which translatable file should I incorporate that text? I guess hikashop ones get overwritten by updates.

Thank you again for your help.

As a more in depth question do you have some general documentation to make a Hikashop template?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDQ4NTEtbW9kaWZ5aW5nLXRoZS1wcm9kdWN0LXBhZ2UtbW9kdWxlcz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

4 years 2 months ago [\#343904](#343904) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Modifying the product page modules](/forum/26-product-category-display/904851-modifying-the-product-page-modules#343904 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 103.0.2  Hi! Thanks a lot for all the previous answers. In fact I am in the process of customizing 'my Hikashop' display with a Joomla! template which doesn't really matches and I'm getting there. I have managed to add category name under the product name in the product page (though &quot;category&quot; is hardcoded and I need to use the proper translatable term for that), thanks to some code previously posted in the forum a few years back.  I also added a module with other products from the same category below my product display. I would like to actually add something before the category name, like &quot;also available from...&quot; or &quot;more from...&quot; and the category name. Where do I need to look to achieve that, and in which translatable file should I incorporate that text? I guess hikashop ones get overwritten by updates.  Thank you again for your help.  As a more in depth question do you have some general documentation to make a Hikashop template?  Thank you.")*

Hi

The module will be displayed in the view file product / show , so I would recommend editing that view file via the menu Display&gt;Views to add your text.
There, near the end of the view file, you can find that code: Code:

echo JModuleHelper::renderModule($module);

This is the code displaying the "modules under the product page".
So you could add such line of code before to add some text: Code:

if($module-&gt;id == xx) { $mainProductCategory = reset($this-&gt;categories); echo 'also available from '. $mainProductCategory-&gt;category_name; }

where xx is the id of the module in the Joomla modules manager.

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

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

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

Less More

- Posts: 94
- Thank you received: 4
-
-

4 years 2 months ago [\#343951](#343951) by [bfred](/forum/user/39746-bfred "View bfred's Profile")  Replied by *[bfred](/forum/user/39746-bfred "View bfred's Profile")* on topic *[Modifying the product page modules](/forum/26-product-category-display/904851-modifying-the-product-page-modules#343951 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 103.0.2  Hi! Thanks a lot for all the previous answers. In fact I am in the process of customizing 'my Hikashop' display with a Joomla! template which doesn't really matches and I'm getting there. I have managed to add category name under the product name in the product page (though &quot;category&quot; is hardcoded and I need to use the proper translatable term for that), thanks to some code previously posted in the forum a few years back.  I also added a module with other products from the same category below my product display. I would like to actually add something before the category name, like &quot;also available from...&quot; or &quot;more from...&quot; and the category name. Where do I need to look to achieve that, and in which translatable file should I incorporate that text? I guess hikashop ones get overwritten by updates.  Thank you again for your help.  As a more in depth question do you have some general documentation to make a Hikashop template?  Thank you.")*

Yes! Thank you very much. So I have my line of text appearing thanks to you but the module title (the category in my case) also appears below in h2 format. I tried editing the module but didn't find any option to remove that title.. or I could use CSS?

What would be your approach in that case then?
Thank you either way, super helpful.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDQ4NTEtbW9kaWZ5aW5nLXRoZS1wcm9kdWN0LXBhZ2UtbW9kdWxlcz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

4 years 2 months ago [\#343955](#343955) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Modifying the product page modules](/forum/26-product-category-display/904851-modifying-the-product-page-modules#343955 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 103.0.2  Hi! Thanks a lot for all the previous answers. In fact I am in the process of customizing 'my Hikashop' display with a Joomla! template which doesn't really matches and I'm getting there. I have managed to add category name under the product name in the product page (though &quot;category&quot; is hardcoded and I need to use the proper translatable term for that), thanks to some code previously posted in the forum a few years back.  I also added a module with other products from the same category below my product display. I would like to actually add something before the category name, like &quot;also available from...&quot; or &quot;more from...&quot; and the category name. Where do I need to look to achieve that, and in which translatable file should I incorporate that text? I guess hikashop ones get overwritten by updates.  Thank you again for your help.  As a more in depth question do you have some general documentation to make a Hikashop template?  Thank you.")*

Hi,

If you edit the module in the Joomla modules manager, you have a "show title" setting that you can turn off:
[ i.imgur.com/wCrWnzx.png](https://i.imgur.com/wCrWnzx.png)

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

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

Less More

- Posts: 94
- Thank you received: 4
-
-

4 years 2 months ago [\#343964](#343964) by [bfred](/forum/user/39746-bfred "View bfred's Profile")  Replied by *[bfred](/forum/user/39746-bfred "View bfred's Profile")* on topic *[Modifying the product page modules](/forum/26-product-category-display/904851-modifying-the-product-page-modules#343964 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Firefox 103.0.2  Hi! Thanks a lot for all the previous answers. In fact I am in the process of customizing 'my Hikashop' display with a Joomla! template which doesn't really matches and I'm getting there. I have managed to add category name under the product name in the product page (though &quot;category&quot; is hardcoded and I need to use the proper translatable term for that), thanks to some code previously posted in the forum a few years back.  I also added a module with other products from the same category below my product display. I would like to actually add something before the category name, like &quot;also available from...&quot; or &quot;more from...&quot; and the category name. Where do I need to look to achieve that, and in which translatable file should I incorporate that text? I guess hikashop ones get overwritten by updates.  Thank you again for your help.  As a more in depth question do you have some general documentation to make a Hikashop template?  Thank you.")*

Thank you. That didn't seem to work on my site though. I'll do a css display none for now, I think it's faster for everyone ![:-)](/media/kunena/emoticons/9.png ":-)")
Thank you.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

[](#top)
