When checking out the cart is set to 0

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
10 months 1 week ago #358235

Hi.
In my store with hikashop, when a non-logged user adds items to the shopping cart and clicks the buy button to go to checkout, the number of products in the shopping cart indicator is set to 0.
It only happens with visiting users.
When a user is logged in this problem does not occur.
Any suggestions?

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 months 1 week ago #358239

Hi,

You have a caching issue on your website I think.
Because it's looks like the website is displaying an old version of the module, without the actual content of the cart being taken into account.

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

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
10 months 1 week ago #358249

I,ve been talking about it with Siteground.
We,ve doing testing deactivating cache.
The problem persist.
Do you think Maybe a problem with “anywhere” module?
What can I Do?

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

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
10 months 1 week ago #358253

Confirmed.
It is the composition of the shopping cart within a anywhere module that is causing problems.
I have relocated the shopping cart to another position and problem solved.
I don't like it because I'm more in favor of putting the shopping cart on the top bar, but at least it doesn't cause errors.
If you have any other suggestions...

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 months 6 days ago #358256

Hi,

Well, I don't know how that top bar is made on your website. Normally, it should be done through your template, which would have a "top bar" position with the different modules you want to display there set to that position. In that case, you wouldn't need to use modules anywhere.
www.balbooa.com/help/knowledge-base/temp...-new-module-position

Also, modules anywhere has an "ignore caching" setting which might help :
docs3.regularlabs.com/modulesanywhere/ge...tarted/configuration

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

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
10 months 6 days ago #358274

Hi Nicolas.
The top bar is made just as you tell me, using the "anywhere" component (you recommended it to me).
If I put the shopping cart in a different module than the one that takes "anywhere" as a reference, it doesn't give an error.
Even activating the Ignore Cache option it still worked poorly.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 months 6 days ago #358278

Hi,

Using modules anywhere is a simple way to display modules when the template doesn't already has a position for modules to be displayed in. I recommend modules anywhere because it's easy.
But the proper way of displaying modules on the frontend is through a normal module position in your template. Modules Anywhere and other modules display extensions can't replicate perfectly all the capabilities of normal module positions.
So while it's a bit more complex to do, if you have issues with modules anywhere, I would then recommend using a normal module position in your template. That's why I now direct you to this.

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

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
10 months 4 days ago #358328

Ok. Thanks!!

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

Time to create page: 0.048 seconds
Powered by Kunena Forum