Hikashop Module class assignment

  • Posts: 27
  • Thank you received: 0
10 years 11 months ago #108040

v2.1.2

/modules/mod_hikashop.php

L50 :

<div id="hikashop_module_<?php echo $module->id;?>" class="hikashop_module <?php echo @$module_options; ?>">

array $module_options does not include 'moduleclass_sfx' element

Cannot assign class suffix given in Hikashop module.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 11 months ago #108078

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 or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 11 months ago #108176

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

Please Log in or Create an account to join the conversation.

  • Posts: 81708
  • Thank you received: 13104
  • MODERATOR
10 years 11 months ago #108179

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 or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 11 months ago #108473

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&ctrl=checkout&task=step&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 or Create an account to join the conversation.

  • Posts: 81708
  • Thank you received: 13104
  • MODERATOR
10 years 11 months ago #108564

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 or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 11 months ago #108580

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.

Attachments:
Last edit: 10 years 11 months ago by Buchberger. Reason: resolved

Please Log in or Create an account to join the conversation.

  • Posts: 81708
  • Thank you received: 13104
  • MODERATOR
10 years 11 months ago #108715

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 or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 11 months ago #108772

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum