bryanblue Posted July 28, 2014 Share Posted July 28, 2014 Hi all, i am having problem with items add to my cart speed. it will take around 4 second for an item to add to cart with and without animation enable. when i check on developer tool for slowness this is what apears when i click on add to cart. ?rand=1406567669911 ?rand=1406567701642 ?rand=1406567746099 everytime i click on add to cart, new one generates. everyone of them takes around 4 second to generate, which is my add to cart speed. any help? Link to comment Share on other sites More sharing options...
bryanblue Posted July 29, 2014 Author Share Posted July 29, 2014 still looking.... Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 best to supply url to front office for better community support. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 (edited) here is my website url : www.myshop.com Edited July 30, 2014 by bryanblue (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 I do not see the issue you posted, when I click add to cart it takes me to checkout, for your shop I think it better to continue shopping and not go directly to cart. maybe you changed this to avoid slow add to cart? Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 well yea...i switch back now. you can have a look...it take few second to put products into cart. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 it works very well for me, please clear your browse cache and cookies..this sometimes for shop owners creates issues, this is not a recommended fix say for every visit. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 (edited) hi sorry i don't want the animation to apear as it seems unprofessional so i diabled it. the problem seems more obvious without animation. it the picture it takes 2.6 second to put products in cart. Edited July 30, 2014 by bryanblue (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 uhm, as a shopper if I add a .98 cent item to my cart and go directly to checkout, my next click will be to exit shop. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 yea...i figure that....so my next step would be to try to look for a better popout box that would pop out and display picture, title price, of product and has a function of continue shopping or checkout. But first thing first....add to cart function need to be quick. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 it was quick when it would slide to cart, when I tested now it is slow, i.e. stays on page but not slide to cart this results in page refresh, this can possibly be solved by removing render blocking javascript, see my sig...the only module for 'any' cms that supports defer javascript, (not trying to sell you this, but something 'all' top loaders need to address)... btw; great theme, nice shop...I think we have worked together before for some other question. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 well.....yea..i already bought this and install it.....if you could show me how to do it..that would be great. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 well.....yea..i already bought this and install it.....if you could show me how to do it..that would be great. modules-->javapro-->configure select tab profiling simulator--->enable-->put x at end of IP address-->visit shop--> note: let me know when you do this so I can check without javapro runningw this allows us to check if you have moved script bottom that is best served at the top... (now I know why I liked you shop, above the fold had some nice giddy up) Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 so in the profiling simulator i click on enable, and do i just put X in the ip address field or do i put it behind my ip address? Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 really does not matter, front back as we just want to simulate module being disabled. I tested when javascript all loaded top with no difference. suggest disable simulator so JavaPro does it's job. are you using cdn? Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 well.....i have static in media server. i try to remove it once and end up with broken image and theme so i just leave it in there. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 ave maria pues (omg in ColOmbia) I do not like CDN especially when using same hosting (i.e. sub-domain). I will ask another community member to help (I recommend not using CDN but they are experts in this area). Link to comment Share on other sites More sharing options...
Dh42 Posted July 30, 2014 Share Posted July 30, 2014 How do you have your cdn set up? Are you using a cname from site.com ->cdn.site.com? If so, when you take out the media server everything should load as normal. If you have moved the files off to another server then you will more than likely have issues. 1 Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 hi i am using media server field "static.mysite.com" and in the subdomain i create static.mysite.com and redirect to www.mysite.com. and nothing else i have done. but when i take off media server and remove subdomain...i have picture not showing up, theme break issue. thanks Link to comment Share on other sites More sharing options...
Dh42 Posted July 30, 2014 Share Posted July 30, 2014 Hmm, you might try removing the media server from the backend of PrestaShop (if you want to take it off) then clearing the PrestaShop cache. The images look to be in the right location, I can access them correctly, http://www.cookingideal.com/4639-medium_default/2-dozen-13-oz-pressed-mixing-glass-3-1516h.jpg As for the slow add to cart, there are two reasons that would slow it down. The first being that the server is taking too long to return the ajax call. The server is basically attempting to load another page behind the scenes, so this takes time. The second is the machine you are using is slower and it has a hard time processing the js used for all of the behind the scenes interaction. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 HI, do i simply remove whats in the media server field? do i have to remove the subdomain in cpanel thats redirecting to my homepage? it seems to be fine just removing what's in the media server. For the slow cart, i see few websites using the same blockcart module loads extremely fast.....like 5 times faster than mine....everything is loading in okay speed....except for this. Link to comment Share on other sites More sharing options...
Dh42 Posted July 30, 2014 Share Posted July 30, 2014 If it works like that, I would just leave it like that. Have you tested the cart interaction from different computers with your site? Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 yes i have, i have test them on different computers, but they are all the same speed. Link to comment Share on other sites More sharing options...
Dh42 Posted July 30, 2014 Share Posted July 30, 2014 Can you enable it so that I can see. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 with the slider method (add to cart) shop is fast, while refreshing page is not as fast as you like. is it that you don't like the slider action, I am not sure if that action can be removed (sliding motion), but it may be worth investigating. This way you are not doing a page refresh at add to cart time. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 i don't like the original flying animation but instead i choose popcart, even though its not fully compatitble yet. but i can show you the speed of using popcart. it still takes time like regular add to cart. Link to comment Share on other sites More sharing options...
Dh42 Posted July 30, 2014 Share Posted July 30, 2014 Sure. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 did you see the speed when clicking on add to cart? Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 yes, with pop up, it's fast because there is no page refresh. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 was it really that fast for you? because on my site it still takes 3 second to add to cart even after i use popcart. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 was it really that fast for you? because on my site it still takes 3 second to add to cart even after i use popcart. nope did not see that delay, there was a 'slight' delay but faster than page refresh. Funny thing that drew me to PrestaShop originally was the product add to cart slide action. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 at first i think its pretty cool too, but overtime especially with that delay, it begin to annoy me...because as a customer when i click on add to cart i expect it to happend immediately so i can move on. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 at first i think its pretty cool too, but overtime especially with that delay, it begin to annoy me...because as a customer when i click on add to cart i expect it to happend immediately so i can move on. understood, but when you had that enabled I did not see a slow down. can you turn that back on and we can see it again? Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 yes, its on now. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 looked good to me...as java is running on our machines not remote, this opens another can of worms. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 now i was unable to get into cart summary page by clicking on shopping cart icon. Link to comment Share on other sites More sharing options...
Dh42 Posted July 30, 2014 Share Posted July 30, 2014 Looking in the network tab on my end I am getting it takes 1.5 seconds. But it is being held up because you have a couple of js erros and 404 images on the page and with the popcart. Link to comment Share on other sites More sharing options...
El Patron Posted July 30, 2014 Share Posted July 30, 2014 now i was unable to get into cart summary page by clicking on shopping cart icon. yes, that is much nicer when that happens I did notice it did not work earlier, but failed, sorry about that. Link to comment Share on other sites More sharing options...
bryanblue Posted July 30, 2014 Author Share Posted July 30, 2014 i did like to know what was causing the js error and as for 404 image, i think the problem is when product is added to the cart the drop down should show that products' image in the drop down, but it fail to do so...but refreshing the page would make that image reapear, don't know why. And i already deleted the popcart. Link to comment Share on other sites More sharing options...
Recommended Posts