Problems with card and product quatities display

  • Posts: 13
  • Thank you received: 0
10 years 7 months ago #174841

-- url of the page with the problem -- : www.kdauto.lt
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.27.
-- Browser(s) name and version -- : Chrome

Hey,

Something wrong happens for cart module on my site.
First of all, then I press add to card button, the card show that is empty, then I have to go for any other page, to see product in it. Some times, I go to main page and again see that card is empty. Sometimes I delete all products from card, getting message that card is empty, but when going to any other page I see deleted products in cart again. On all browsers is the same.

Other problem with cart module is delete button. In settings it turned on. On Opera and Firefox browsers I see delete button any time , but in Chrome browser in some case i can see it in some don't. Some times everything is okay, but I adding one more product ant then it gone.

Third problem is also with card module, but on check out. It shows different ways to add product quantities.
Adding some screen shots, maybe it will be more clear from pictures.

EDIT:
Third problem solved. By bad. Find option where i did mistake.

Any ideas?

Attachments:
Last edit: 10 years 7 months ago by Kadasta.

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

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
10 years 7 months ago #174870

Hi,

Both problem 1 and problem 2 are the same. The issue is that you have some caching activated on your website and thus, once a page is generated it is cached and anyone will see the same page until the cache expires. So that's why you don't see the changes happening in the cart module where in fact they are recorded by HikaShop but you just don't see them appearing on your pages.
You cannot cache pages with a cart system since it has to be dynamic. Turn off the caching on your website and it should fix your issues.

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

  • Posts: 13
  • Thank you received: 0
10 years 7 months ago #175070

Thank you, problem with displaying products in cart is solved. But turning off caching didn't solve problem with displaying delete button in card on Chrome browser.

Last edit: 10 years 7 months ago by Kadasta.

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

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
10 years 7 months ago #175077

Ok, I checked your website, but as far as I can see it is a problem with some caching on your website.
I went to www.kdauto.lt/index.php/kategorijos/kat/21-0w30
I then clicked on a "add to cart" button.
Here the page doesn't change.
Now, I refresh the same page www.kdauto.lt/index.php/kategorijos/kat/21-0w30
Still no change.
Now, I change the URL to www.kdauto.lt/index.php/kategorijos/kat/21-0w30?test=test
This adds a test parameter to the URL. It doesn't change anything from the processing of the page. The only difference is that a caching system would have to reprocess the whole page as the URL is different.
And indeed, in that case, I now see the product in the cart.
And if I open again the URL www.kdauto.lt/index.php/kategorijos/kat/21-0w30 without the test parameter I again see the cart empty.
I don't see anything else which could generate such problem besides some caching system.

Now you say that the caching is disabled on your Joomla configuration, but that doesn't mean that you don't have some other caching running on your web server. It could be a CDN, it could be your hosting company applying some caching at the server level. Or it could be the template, or another extension on your website.

The following user(s) said Thank You: Kadasta

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #175123

Hi,

You issue about the delete icon in the cart module seems to be a template issue.
It is probably related on the product name size, if to large so no more place to display the delete button.

Please to check the html/css thanks to your browser console.
Here is some documentation to see how it work:
hikashop.com/support/support/documentati...ize-the-display.html

The following user(s) said Thank You: Kadasta

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

  • Posts: 13
  • Thank you received: 0
10 years 7 months ago #175211

Bought of you was right. I had no idea that I can turn off cache somewhere else.
Problem with delete icon was solved by disabling img{max-width:100%} in css file.

If we are taking about CSS, have one more question. I want to change background color of Hikashop header buttons. On attached picture it marked in red. But when I change the color together changing background color at top of the page (marked blue). I suppose, that somewhere in code written, that this two backgrounds must be the same color. I was trying to find it, but no result. Have no enough knowledge.

Thanks for your patience.

Attachments:

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

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
10 years 7 months ago #175222

Hi,

That's because the CSS of your template uses the same id for the toolbar at the top as the toolbar of the hikashop interface.
Add the CSS code below and that should avoid the problem :
.hikashop_header_buttons{ background-color: white !important; }

The following user(s) said Thank You: Kadasta

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

Time to create page: 0.072 seconds
Powered by Kunena Forum