VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: marvays on December 12, 2018, 04:32:27 AM

Title: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 04:32:27 AM
One problem alternates one problem. Since yesterday, customers have been calling for goods to be placed in the basket. It inserts one product and displays another and many more in the basket. where is the problem?
Title: Re: spontaneous addition to the cart
Post by: Jörgen on December 12, 2018, 06:10:05 AM
Link ?
Vm version, website status, did it ever work ? Etc

Jörgen @ Kreativ Fotografi
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 06:13:09 AM
Joomla 3.9.1 and Virtuemrt 3.4.2
Website start before 2 weeks. Problem started yesterday night. Yesterdays I was instaled JCH Optimize and JotCache. Now I uninstaling this component and migrate to http2
link www.lukysipy.cz
Title: Re: spontaneous addition to the cart
Post by: Jörgen on December 12, 2018, 07:09:47 AM
I think You have Your answer there
Quoteesterdays I was instaled JCH Optimize and JotCache.

Jörgen @ Kreativ Fotografi
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 07:16:19 AM
JotCache?
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 08:58:39 AM
Both or either ... Only u can test this
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 09:26:49 AM
Quote from: GJC Web Design on December 12, 2018, 08:58:39 AM
Both or either ... Only u can test this

I was uninstaled both. Now i have website on http/2 and not need JCH
Title: Re: spontaneous addition to the cart
Post by: Jörgen on December 12, 2018, 09:51:01 AM
And ????
The site is exteeeeemly slow.

Jörgen @ Kreativ Fotografi
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 10:07:19 AM
Quote from: Jörgen on December 12, 2018, 09:51:01 AM
And ????
The site is exteeeeemly slow.

Jörgen @ Kreativ Fotografi

cart is ok. but sloooooow!

I am unhappy with the speed of my site. I did everything I could. I have a huge TTFB. another website on hosting is fine. something is wrong there. i am using a new template builder, maybe the problem is here.

I make copy on another webhosting with debug, if you can see on it:
http://32295.w95.wedos.ws/domains/live.lukysipy.cz
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 10:19:46 AM
http://32295.w95.wedos.ws/domains/live.lukysipy.cz

J debug is on .. this takes huge resources
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 10:33:37 AM
Quote from: GJC Web Design on December 12, 2018, 10:19:46 AM
http://32295.w95.wedos.ws/domains/live.lukysipy.cz

J debug is on .. this takes huge resources

I know. Trying find problem in php.

Maybe setup php to 5.6?
Title: Re: spontaneous addition to the cart
Post by: jjk on December 12, 2018, 10:58:44 AM
In general your site loads a lot of time consuming stuff. I would suggest to use the Firefox web developer tools ('network' tab) to identify elements which could be removed respectively displayed only on certain pages. Concerning your cart speed, your third party OPC  takes a long time to load. First I would check if the speed improves if you disable the chat module from the cart view and also check if the cart loads faster with the original VM cart.
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 11:10:05 AM
Quote from: jjk on December 12, 2018, 10:58:44 AM
In general your site loads a lot of time consuming stuff. I would suggest to use the Firefox web developer tools ('network' tab) to identify elements which could be removed respectively displayed only on certain pages. Concerning your cart speed, your third party OPC  takes a long time to load. First I would check if the speed improves if you disable the chat module from the cart view and also check if the cart loads faster with the original VM cart.

Do you mean cart module? or cart page? The problem with this site is a long TTFB. Hosting reports overload PHP limit.

I'll figure out where to see what's going on at the TTFB. When I know what is happening at TTFB, I can find the problem and solve it.
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 11:13:30 AM
List from my components:
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 11:14:23 AM
tempalte I was build in https://astroidframework.com/
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 12:01:18 PM
I can't see how you can manage to turn a simple about us page
http://32295.w95.wedos.ws/domains/live.lukysipy.cz/index.php?option=com_quix&view=page&id=2&Itemid=653
which should be a small bit of html/css/js and some navigation into a 108 requests / 4.70 MB monster?

If your plain jane html pages are that size/complex how will VM ever run fast?
clean, mean and fast is what you should be aiming for .. eye candy is all well and good but if it creates a miserable browsing experience then what is the point?

why do u need a component option=com_quix to show some text and an image???
Title: Re: spontaneous addition to the cart
Post by: jjk on December 12, 2018, 12:02:25 PM
I suggest to remove sh404sef. It creates a huge amount of of cache files which slow down a shop (did you check the sh404sef cache folder?). Joomla's and VM's own SEF features are doing a good job.
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 12:05:13 PM
When I use Quix for a more complex page, I will use it everywhere. Do you think Quix slows down a lot? I want the web to be fast but also nice to look at.
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 12:10:56 PM
everything slows everything..  everything uses resources...

I don't see the connection between endless 3rd party extensions and -> "nice to look at"
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 12:15:24 PM
good. I will take your advice to your heart. I will try to improve it and build the site again.

What components for eshop are the minimum necessary to use? Virtuemart and? At least I need some template builder. I do not want to buy the finished template. I definitely need productXport for xml feed. what's wrong yet?
Title: Re: spontaneous addition to the cart
Post by: jjk on December 12, 2018, 12:17:09 PM
Additional comment: Just noticed that your template framework still relies on loading mootools. Of course loading an additional javascript library takes unnecessary time, too.
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 12:18:16 PM
Quote from: jjk on December 12, 2018, 12:17:09 PM
Additional comment: Just noticed that your template framework still relies on loading mootools. Of course loading an additional javascript library takes unnecessary time, too.
what does it mean?
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 13:29:44 PM
I build all my sites from a simple white label bootstrap blank I have developed over the years

there's plenty available for free - start with the simplest and only add extensions that you need
I don't use any third party ext apart from VM and needed plugins
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 14:26:54 PM
Quote from: GJC Web Design on December 12, 2018, 13:29:44 PM
I build all my sites from a simple white label bootstrap blank I have developed over the years

there's plenty available for free - start with the simplest and only add extensions that you need
I don't use any third party ext apart from VM and needed plugins

I cant primary free . . . i have money :) But need good product.
Tell me any good and quick tempalte framework or builder, please.

and about 3D, i need use
Virtuemart
jSitemap
productXport
Custom Filters PRO
OPC
Akeeba
Google Structured Data

Its all right?
Title: Re: spontaneous addition to the cart
Post by: Studio 42 on December 12, 2018, 16:11:40 PM
@marvays,
fast sites  and framework is not compatible.
Most frameworks have so many possibility that they loose time on each page loading.
Use native bootstrap theme generator is the best solution, because Joomla already use bootstrap by default.
You can find basic Joomla templates and adapt it for your needs.
Most nice template and framework, use stupid overrides and some time reapply same CSS rules, add !important in rules ...
I have for eg. a customer using bootstrap+ui-kit CSS+ ui-kit Virtuemart Css + custom Css so all work together, this is how to slowdown the page load.
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 17:02:57 PM
QuoteI have for eg. a customer using bootstrap+ui-kit CSS+ ui-kit Virtuemart Css + custom Css so all work together, this is how to slowdown the page load.

can only agree... then a ton of silly JS is loaded to create one silly visual effect ( most effects can be handled natively by css transitions etc )

I see this all the time and they are never happy with their website speeds

Why on earth do u need a template and content builder with some opaque framework? Its all junk and intended for users with zero skill.

An attractive site is of course important but 90% of e-commerce users will choose price, usability, ease of ordering, service, ease of use over some silly visual effects
Title: Re: spontaneous addition to the cart
Post by: marvays on December 12, 2018, 18:50:59 PM
Good. Instead of Quix, should I use joomla articles and try to do it nicely?
But I do not want to remodel the template but build it. They do not mind buying a commercial template and then reworking them. which framework is the smallest evil?
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 12, 2018, 18:59:06 PM
Spyros's at  https://www.olympianthemes.com/virtuemart-templates/horme-free-virtuemart-template.html
totally free -- lightening fast -- fully compatible always
Title: Re: spontaneous addition to the cart
Post by: jenkinhill on December 13, 2018, 11:22:23 AM
I must agree with GJ, I use Spyros'templates for VM sites and they are fast and easy to further customise if required. I did look at https://astroidframework.com/ and installed a test version - I am not impressed with code used or speed. And why mootools, which is loaded as well as jQuery? Nope, sent to the bit bucket in the sky.
Title: Re: spontaneous addition to the cart
Post by: marvays on December 13, 2018, 11:47:36 AM
Dear friends. Thank you very much for valuable advice. From Today to building eshop I will take the page load speed as a priority.

This morning I installed this template and edited it to make the most of a live eshop.

You can check out here: http://lukynove.richta.eu
Title: Re: spontaneous addition to the cart
Post by: Studio 42 on December 13, 2018, 12:03:00 PM
I dont know all plugin you load, but even your new site is to slow !
1.14s for HTML only is to slow for a so simple page.
My shop HTML is rendered in 300ms(sometime slower because server setting)
The first to do, is to find why Joomla && your server need so man time to render the HTML.
Try to enable Joomla debug to find the DB slow queries.
CSS optimisation is the next job, but your image are really big too ! 84KB for the logo can certainly be optimized on my website the max image thumb weight is perhaps 10kb
Title: Re: spontaneous addition to the cart
Post by: GJC Web Design on December 13, 2018, 12:05:09 PM
25 requests |  816.82 kB 

I know a long way from finished but u see the huge difference in server load compared to

108 requests / 4.70 MB

which wasn't even loading VM

server still seems a bit slow though  - 1.28sec to first bit...