Popup not showing only in product view

  • Posts: 73
  • Thank you received: 1
11 years 6 months ago #133393

-- url of the page with the problem -- : exo-l.com/webshop
-- HikaShop version -- : 1.6
-- Joomla version -- : 2.5
-- PHP version -- : 5.3.x
-- Browser(s) name and version -- : Firefox

For some reason the popup doesn't appear for products in a certain category when in product view. In category view where the products are listed it works fine. When I append ?popup=1 it works.
exo-l.com/webshop/accessoires/product/88-strap-rechts for the product view
exo-l.com/webshop/accessoires for the category view.

I would gladly fix it in PHP but I don't even know where to start debugging it.

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #133433

That has already been fixed in newer releases of HikaShop. Update and you won't have the problem anymore.

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

  • Posts: 73
  • Thank you received: 1
11 years 6 months ago #133459

as it stands now updating is not really an option, that's scheduled for next year once some modifications have been modularized. Any idea where it has been fixed? Filenames would be sufficient

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #133579

Unfortunately, I don't know. Also, A lot has happened with the popup system and add to cart and if you replace some code from HikaShop 1.6.0 with some code of the 2.2.2, it's likely that it will get even worst and break the whole page with a Fatal error because the new code is expecting something else to be available somewhere else in HikaShop.
The best I can say is to look in the updatecart function of the components/com_hikashop/controllers/product.php where the add to cart action is processed and which can potentially call the display of the popup, and also look in the file administrator/components/com_hikashop/helpers/cart.php where the popup is initialized.

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

  • Posts: 73
  • Thank you received: 1
11 years 6 months ago #133597

Thank you for your reply! I wasn't going to replace the code, just try to fix it myself. I will look in those files and see what's going on. I think somewhere, somehow the &popup=1 is not being appended. So I might just force it since all products always require a popup.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum