Hi there,

We use NewLifestyle for a new project. There is one issue:
When I add a product to the shopping cart, the cart remains empty until I navigate to a new page or refresh the browser. This means the Ajax code does not work. According to HikaShop this has to do with the template override. Any idea or experience with another user that had the problem in the past?

Thanks

Hi

What template version number are you using?

Cheers
Paul

Hi Paul,

good to see you back here! The number is: 2.0.7

thanks

Hi 🙂

Can you add ftp and joomla admin details

Cheers
Paul

Sure: Can I add them here or are they then public?
thanks

If possible can I download a backup of the site? - do you have akeeba backup installed?

Would you also be able to add a link in the secure details pointing to the hiksahop version you are using?

Cheers
Paul

Hi there,

just added the details in the box. Hikashop version is latest. Backup is no problem. Do you need an upload of it? If so, where can I upload it?

Thanks

Hi

I managed to get hold of a copy and I've downloaded a copy of the site

What component or plugin or code is redirecting the site?
As I can't get the backup to work - I can see you have sh404sef - I have disabled this extension via the database and turned off htaccess / checked config.php

Is there anything else? I can see lots of stuff in the site

Cheers
Paul

I need to see your site as my local quickstart version does work with the hikashop latest version so need to compare yours with mine so see what configuration differences you have

Cheers
Paul

Hi Paul
thanks a lot. Let me know what you need from our side. SH404 is installed but not activated at the moment as it did not deliver the result with HikaShop. Joomla SEF is turned on and I think there is a forced www. coming from htaccess (+maybe the certificate forcing https).

Anything else I can help you with?

thanks

I have turned off all the sef urls which seems to have done the trick

Where is the alert coming from when a product is added?

At the moment if I add a product and then navigate to a different page the cart is new populated

Cheers
Paul

Thanks. But this is not exactly what I meant. The problem is after I populate the cart.

1) I do "add to cart" ->
2) I see the pop-up telling me that product has been added to the cart
3) But when I then click on the cart item it tells me it is empty. Only after a browser refresh it shows me the product I added to the cart. Hikashop says this comes from the template.

best regards

    MaMuster 2) I see the pop-up telling me that product has been added to the cart

    Yes this is what I don't have on my localhost version

    On my local version

    1) works
    2) no pop up but it does add to the cart
    3) I don't need to refresh as the cart populates as expected

    I'm not a regular user of hikashop - I have the same version as you installed to a quickstart and I want to replicate your pop up on my install

    Can you tell me to how to do this? As at the moment the template is working as expected but I've not your pop up enabled

    Thanks for your message. I try my best.
    To my best knowledge the pop-up is part of the new cart system introduced in HKS 3.0 (see here: https://www.hikashop.com/home/blog/367-hikashop-3-0-out.html#cart) It works via a plugin. But we did not pay much attention to it as it worked out of the box like this. What we did was turning off the legacy mode for the shopping cart.

    Writing this I wonder if it might be a plugin order issues with template code and plugin code?

    thanks

    Thanks for the info I will test this over the weekend and see if I can re-produce the problem

    Cheers
    Paul

    4 days later

    Hi there, could you replicate the issue. During the weekend I also tried it with the legacy cart settings. It works a bit better, but the cart is also inconsistent.

    thanks a lot

    Sorry yes thanks for the prod

    Disabling the legacy options breaks the cart layout - re-enabling them and the cart is back working

    I'll need to talk to the developers on this and get back to you

    Cheers
    Paul

    I've made a bug report and will talk to the developers when they are online

    You need to Login to view replies.