Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - MaterialMart (SKU# FLEX-00020)

TOPIC: In child product, the loading wheel always rotates

In child product, the loading wheel always rotates 6 years 4 months ago #15367

Hello. When I select a child product, the loading wheel always rotates. How can I fix it?

www.vilyn.com/it/shop/category/separe-divisori/separe-centri-estetici/pardonna-di-spalle-detail.html
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 4 months ago #15373

Is there anyone who can solve the problem?
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 4 months ago #15377

Hi,

Can you try disabling the JCH plugin and try again?

Looks like something goes wrong in the background while AJAX request is occuring (upon changing the custom field). AJAX request gets never finished; thus the loading banner never goes away.

FYI: the loading banner is inserted to page as:
<div class="vmLoadingDiv"><div class="vmLoadingDivMsg"></div></div>

which is generated and removed by dyupdate.js file (official Virtuemart's JS file)

Regards.
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 4 months ago #15383

Hello. I disable jch but the problem remains. If you want to check, now jch is disabled
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 3 months ago #15401

Hi,

Can you please try one of these work arounds?

Open this JS file:
www.vilyn.com/templates/bestshop/js/dynupdate.js

scroll to the bottom and find this line:
addthis.toolbox(".addthis_toolbox");

right after that, insert this line:
if (typeof Virtuemart.stopVmLoading === 'function') {Virtuemart.stopVmLoading();}

So, actually it will look like this:
addthis.toolbox(".addthis_toolbox");
if (typeof Virtuemart.stopVmLoading === 'function') {Virtuemart.stopVmLoading();}

If it won't work, then insert these 2 lines:
$('body').removeClass('vmLoading');
$('div.vmLoadingDiv').remove();

So, it will look like this:
addthis.toolbox(".addthis_toolbox");
$('body').removeClass('vmLoading');
$('div.vmLoadingDiv').remove();


Regards.
Last Edit: 6 years 3 months ago by Support.
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 3 months ago #15404

Hello. With both methods, the child product is loaded, but can no longer select new options.
Attachments:
Last Edit: 6 years 3 months ago by Davide Boggian.
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 3 months ago #15405

If I disable Aiax on virtuemart, in configuration, models, everything works properly, but I do not know if it could be the correct solution
Attachments:
Last Edit: 6 years 3 months ago by Davide Boggian.
The administrator has disabled public write access.

In child product, the loading wheel always rotates 6 years 3 months ago #15413

Hi,

Disabling that option actually disables the AJAX loading within the product details page. So; the selected option gets loaded via page refresh. Page refresh always the most straightforward way to load content. Ajax loading can be problematic sometime. In your case, it is obvious, something is blocking the AJAX loading, since the AJAX loading never gets completed fully, the "load bar" never disappears. I am sure it is a very simple thing that blocks the ajax loading, but it is hard to diagnose. I investigated your website, but couldn't find the source of the problem.

If you are happy with what you get now (loading the content via page-refresh instead of ajax loading), then you are all good to go. If not, you should start "disabling" 3rd party plugin/components/template overriding one by one and find out what extension causes the problem and focus on the extension.

Regards
The administrator has disabled public write access.

In child product, the loading wheel always rotates 5 years 6 months ago #15674

Hi Davide,

I think I have same problems on my website. I look your website and now is working well ;-)

Did you find a solution or issue ?

Thanks by advance for your reply

Philippe
The administrator has disabled public write access.

In child product, the loading wheel always rotates 5 years 6 months ago #15688

Hi Philippe, this problem will also be resolved by itself upon updating Virtuemart to v3.40 and MaterialMart to v1.1.0

Regards
The administrator has disabled public write access.
Time to create page: 0.191 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo