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

#   module class suffix not taking effect

##

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

Less More

- Posts: 3
- Thank you received: 1
-
-

13 years 3 months ago [\#112731](#112731) by [dwlamb](/forum/user/21701-dwlamb "View dwlamb's Profile")  *[module class suffix not taking effect](/forum/2-general-talk-about-hikashop/84787-module-class-suffix-not-taking-effect#112731 "For the site I am working on, I have 4 random products I want to display on the site landing page, one from each of four categories. I have setup 4 Hikshop random product modules. To style these...")* was created by *[dwlamb](/forum/user/21701-dwlamb "View dwlamb's Profile")*

For the site I am working on, I have 4 random products I want to display on the site landing page, one from each of four categories. I have setup 4 Hikshop random product modules. To style these div's I need to add a module class suffix but the class names do not appear in the div tags. These are the steps I use to edit the module:

1. Go into modules from Joomla's Extension's menu
2. Open one of the four random products modules
3. Click on the Options tab
4. under Basic Options enter a label such as **customClass** in the text box beside Module Class Suffix. I have tried this both with and without a leading space to add to or replace the class definition of the div.
5. Click Save.

Refreshing the site home page and examining the html, I examine the module div and all I see are Code:

&lt;div id="hikashop_module_113*" class="hikashop_module "&gt;

(* realise the numbers will vary depending on the module id set by the system).

Does the free version of Hikashop not offer module class suffix support?

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 3 months ago [\#112965](#112965) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[module class suffix not taking effect](/forum/2-general-talk-about-hikashop/84787-module-class-suffix-not-taking-effect#112965 "For the site I am working on, I have 4 random products I want to display on the site landing page, one from each of four categories. I have setup 4 Hikshop random product modules. To style these...")*

Hi there,

Could you provide a link to your website? I'll be able to visualize the html structure and help you with it.
Anyway, Hikashop doesn't propose class suffix since the module ids are always the same. You can thus override your specific module by using this specific id.
Also, why don't you create a unique module with your 4 random products with it? It sounds easier to me.

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

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

Less More

- Posts: 3
- Thank you received: 1
-
-

13 years 3 months ago [\#113049](#113049) by [dwlamb](/forum/user/21701-dwlamb "View dwlamb's Profile")  Replied by *[dwlamb](/forum/user/21701-dwlamb "View dwlamb's Profile")* on topic *[module class suffix not taking effect](/forum/2-general-talk-about-hikashop/84787-module-class-suffix-not-taking-effect#113049 "For the site I am working on, I have 4 random products I want to display on the site landing page, one from each of four categories. I have setup 4 Hikshop random product modules. To style these...")*

At this time, sharing a site url is not possible for I have not deployed to a production server. While the idea of a unique module is challenge I want to take on, where do I begin? Never made a unique or custom module before. Can you point Me in the direction of good tutorial?

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

Less More

- Posts: 86315
- Thank you received: 14276
-
-

13 years 3 months ago [\#113111](#113111) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[module class suffix not taking effect](/forum/2-general-talk-about-hikashop/84787-module-class-suffix-not-taking-effect#113111 "For the site I am working on, I have 4 random products I want to display on the site landing page, one from each of four categories. I have setup 4 Hikshop random product modules. To style these...")*

Hi,

Eliot is wrong. The HikaShop modules have a class suffix field.
You can enter your class name there and it will be added as a class in the parent div of the div that you put in your message and not by HikaShop but by your template.

Xavier simply said that instead of creating 4 modules, one per product, you should instead create only 1 module with four products displayed in it. It's quite easy actually. Disable three of them, and in the fourth, click on the hikashop options link and change on the options screen the number of elements option from 1 to 4.

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

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

[](#top)
