Display duplicated after adding item to cart

  • Posts: 2
  • Thank you received: 0
10 years 11 months ago #136832

-- url of the page with the problem -- : www.icyber.co.za/index.php/microsoftoffice.html
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.16
-- PHP version -- : 5.3.15
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : None

Hi All

I've done an automated update from the previous to the latest version of HikaShop (2.2.3)

After the update, whenever I add something to the cart (no matter which browser is used) the whole page is duplicated. It seems that it tries to display the site within the cart module. When I turn off the cart module the phenomenon disappears.

Please, I need urgent assistance since this is a Live site.

Regards,
Lionel


---EDIT---
This problem occurs when I set "After a product is added to the cart" to "Always go to the checkout".

When I use Stay on same page and Display a popup options the problem does not occur.

Attachments:
Last edit: 10 years 11 months ago by lionelpcn. Reason: New info added

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

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

Hi,

Thanks for the report, I just corrected it on our end.

To correct it, you have to edit the file "components/com_hikashop/controllers/product.php" function "updatecart()" and replace:

if($params->get('from','module') == 'module'){
By:
if($params->get('from','module') == 'module' && $config->get('redirect_url_after_add_cart','stay_if_cart') != 'checkout'){
Or wait for the next package.

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

  • Posts: 2
  • Thank you received: 0
10 years 11 months ago #137370

Hi Xavier

Awesome and thanks for the fix. I will however wait for the next version since I've found a good workaround.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum