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

#   Hikashop Module class assignment

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

13 years 4 months ago [\#108040](#108040) by [Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")  *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108040 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")* was created by *[Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")*

v2.1.2

/modules/mod_hikashop.php

L50 :

&lt;div id="hikashop_module_&lt;?php echo $module-&gt;id;?&gt;" class="hikashop_module &lt;?php echo @$module_options; ?&gt;"&gt;

array $module_options does not include 'moduleclass_sfx' element

Cannot assign class suffix given in Hikashop module.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzQyOS1oaWthc2hvcC1tb2R1bGUtY2xhc3MtYXNzaWdubWVudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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 4 months ago [\#108078](#108078) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108078 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

Hi,

This option is working fine, but the suffix is added to the Joomla part of the module, not directly in the hikashop module part.
If you check the html with you browser inspector you should see that the suffix is added correclty.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

13 years 4 months ago [\#108176](#108176) by [Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")  Replied by *[Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108176 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

checked the source code, not there for us.
print_r($module_options), and no moduleclass_sfx element

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzQyOS1oaWthc2hvcC1tb2R1bGUtY2xhc3MtYXNzaWdubWVudD90bXBsPW1hcmtkb3du) 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: 86320
- Thank you received: 14276
-
-

13 years 4 months ago [\#108179](#108179) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108179 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

The class is not added in that file. It is added by your template around the module. There is no point in checking the source code of the module as if you don't have the class added, the problem is with the template, not the module.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

13 years 4 months ago [\#108473](#108473) by [Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")  Replied by *[Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108473 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

Strange, Joomla is adding the class we specify to other modules. Perhaps we have some content override. I will check.
...

On another issue, we are using the checkout flow like this :
login on one page then address, shipping, cart, pay, coupon on the next page.

This was working perfectly, however I noticed login now brings a 'next' button instead of the actual next page. The URL for the 'next' button and the next page are the same :

/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=step&amp;step=1

Is there a config in Hikashop or Joomla generally that we are overlooking ?

The behaviour we want is to go from login to the next page, not just a page with a 'next' button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzQyOS1oaWthc2hvcC1tb2R1bGUtY2xhc3MtYXNzaWdubWVudD90bXBsPW1hcmtkb3du) 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: 86320
- Thank you received: 14276
-
-

13 years 4 months ago [\#108564](#108564) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108564 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

Can you give a screenshot of the checkout tab of the configuration and a link to a product page so that we can see that ?

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

13 years 4 months ago -  13 years 4 months ago [\#108580](#108580) by [Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")  Replied by *[Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108580 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

Hi Nicholas, the config shot is attached. We PM'd you the rest.

...

Not to worry, for whatever reason the system appears to be behaving as desired.

- [ ![hs&#95;config&#95;checkout.png](/forum/attachment/10559) ](/forum/attachment/10559 "...g&#95;checkout.png") [ ](/forum/attachment/10559?download=1 "...g&#95;checkout.png")

Last edit: 13 years 4 months ago by [Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile"). Reason: resolved

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MzQyOS1oaWthc2hvcC1tb2R1bGUtY2xhc3MtYXNzaWdubWVudD90bXBsPW1hcmtkb3du) 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: 86320
- Thank you received: 14276
-
-

13 years 4 months ago [\#108715](#108715) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108715 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

I'm not able to reproduce the problem apart from your website. Can you try to update to the latest version ?
If that doesn't help, we'll need a FTP access to your website to directly trace down the issue.

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

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

Less More

- Posts: 27
- Thank you received: 0
-
-

13 years 4 months ago [\#108772](#108772) by [Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")  Replied by *[Buchberger](/forum/user/6515-buchberger "View Buchberger's Profile")* on topic *[Hikashop Module class assignment](/forum/3-bug-report/83429-hikashop-module-class-assignment#108772 "v2.1.2  /modules/mod&#95;hikashop.php  L50 :  div id=&quot;hikashop&#95;module&#95;&amp;lt;?php echo $moule-&amp;gt;id;?&amp;gt;&quot; class=&quot;hikashop&#95;module &quot;&gt;  array $module&#95;options does not include 'moduleclass&#95;sfx' element  Cannot assign class suffix given in Hikashop module.")*

Thank you for taking a look. Seems to be ok now, not sure why. We'll update soon. Cheers Nicholas.

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

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

[](#top)
