News:

Support the VirtueMart project and become a member

Main Menu

Add to cart

Started by zainabubu, July 19, 2013, 09:14:00 AM

Previous topic - Next topic

zainabubu

Hello,

I just noticed that my cart does not update correctly when I decide to add extra items to cart...unlike before. Noticed this problem after updating to 2.0.22.

With the initial add to cart, all the items show correctly in my cart, but when I increase qty for the items in the cart, the over all cost increases, but the current quantity order remains at 1.

I think this may be a cache problem...and I keep seeing comments about disabling cache in cart page...but how do i do that? I use Joomla's system cache + GK cache plugins, and there is no option for that there. Am I missing something others seem to understand easily?

zainabubu

refreshing page doesn't make a different also...it shows the changes after a few minutes.

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

zainabubu

#3
www.test.com many thanks.

Maxim Pishnyak

You web shop frontend disabled in a strange manner.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

zainabubu

yes, it has been fixed...a mini auto tweet issue. Please check back again. Thanks.

zainabubu

I still have the cart issues...

jenkinhill

Do not use caching if at all possible, and if you do you must exclude the cart, latest product modules etc. Some have said that JotCache can be made to work OK but no other system. When you cache the cart, apart from update issues,  shoppers checking out may find  other shopper's items in their cart!

If you site is slow then try using Yslow or similar to analyse what is loading. eg I see this on your home page:

Grade F on Make fewer HTTP requests
This page has 19 external Javascript scripts.
This page has 16 external stylesheets.
This page has 14 external background images. Try combining them with CSS sprites.

Try removing external connects from the page, eg the facebook thing. Again using Yslow:

Grade F on Reduce DNS lookups:
The components are split over more than 4 domains

    www.iyaoloja.com: 108 components, 1644.7K (989.0K GZip)
    fonts.googleapis.com: 2 components, 1.7K (0.6K GZip)
    themes.googleusercontent.com: 6 components, 134.6K
    www.google-analytics.com: 1 component, 39.7K (15.6K GZip)
    cdn.zopim.com: 3 components, 321.7K (95.3K GZip)
    ajax.googleapis.com: 1 component, 93.6K (33.4K GZip)
    connect.facebook.net: 1 component, 171.4K (57.6K GZip)
    static.ak.facebook.com: 1 component, 26.4K (9.8K GZip)
    s-static.ak.facebook.com: 1 component, 26.7K (9.9K GZip)
    www.facebook.com: 2 components, 37.5K (12.5K GZip)
    fbstatic-a.akamaihd.net: 7 components, 389.4K (111.7K GZip)
    fbexternal-a.akamaihd.net: 2 components, 7.9K (7.0K GZip)
    fbcdn-profile-a.akamaihd.net: 13 components, 31.4K
    fbcdn-sphotos-f-a.akamaihd.net: 2 components, 40.3K
    fbcdn-sphotos-e-a.akamaihd.net: 2 components, 23.6K
    fbcdn-sphotos-b-a.akamaihd.net: 1 component, 20.2K
    fbcdn-sphotos-c-a.akamaihd.net: 3 components, 51.1K
    fbcdn-sphotos-a-a.akamaihd.net: 1 component, 17.3K
    fbcdn-sphotos-g-a.akamaihd.net: 2 components, 26.4K
    fbcdn-sphotos-d-a.akamaihd.net: 2 components, 144.2K
    fbcdn-photos-f-a.akamaihd.net: 1 component, 4.1K
    fbcdn-sphotos-h-a.akamaihd.net: 1 component, 16.5K

And for DOM:
Grade F on Reduce the number of DOM elements

There are 1921 DOM elements on the page
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

zainabubu

thanks. stopped using cache which worked and didn't affect site's perform much. as for dns and dom, i'm using jch and admintools to help with that but the difference is not much.

Do you have an alternative way to reduce the problem?

jenkinhill

You are just loading too many things into your pages for the site to run quickly, but if that is what you prefer to do then make sure you are on a good fast high spec server.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Maxim Pishnyak

Am I too late to see some heavy web pages?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart