VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: zainabubu on July 19, 2013, 09:14:00 AM

Title: Add to cart
Post by: zainabubu on July 19, 2013, 09:14:00 AM
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?
Title: Re: Add to cart
Post by: zainabubu on July 19, 2013, 18:43:47 PM
refreshing page doesn't make a different also...it shows the changes after a few minutes.
Title: Re: Add to cart
Post by: Maxim Pishnyak on July 21, 2013, 23:42:18 PM
Link?
Title: Re: Add to cart
Post by: zainabubu on July 22, 2013, 01:07:20 AM
www.test.com many thanks.
Title: Re: Add to cart
Post by: Maxim Pishnyak on July 22, 2013, 09:59:03 AM
You web shop frontend disabled in a strange manner.
Title: Re: Add to cart
Post by: zainabubu on July 22, 2013, 14:34:01 PM
yes, it has been fixed...a mini auto tweet issue. Please check back again. Thanks.
Title: Re: Add to cart
Post by: zainabubu on July 22, 2013, 17:01:59 PM
I still have the cart issues...
Title: Re: Add to cart
Post by: jenkinhill on July 22, 2013, 17:39:42 PM
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
Title: Re: Add to cart
Post by: zainabubu on July 23, 2013, 13:54:17 PM
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?
Title: Re: Add to cart
Post by: jenkinhill on July 23, 2013, 15:21:50 PM
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.
Title: Re: Add to cart
Post by: Maxim Pishnyak on July 23, 2013, 16:56:43 PM
Am I too late to see some heavy web pages?