WOOCS ajax call
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from prokops on November 7, 2022, 12:05Hello,
Much like this topic:
https://pluginus.net/support/topic/how-to-avoid-ajax-call-in-case-of-server-cache-enabled-the-main-currency-is-set/I have an ajax call on category and product pages that loads in the currency changer:
https://paste.pics/b7ff5534c2550febb6c8996e05b362d2
I'd like this call to stop. I have a base currency of € and a home currency of € - unless the customer selects something else, I don't want or need a ajax refresh. I have disabled the cache support but still the selector seems to require an ajax load. The underlying problem for me is that our speed optimization / litespeed configuration stops the currency selector from loading in, resulting in a hang. We dont want to break our optimization / pagespeed on waiting for the currency selector.
So, in short, can the ajax check get disabled?
Cheers
Hello,
Much like this topic:
 https://pluginus.net/support/topic/how-to-avoid-ajax-call-in-case-of-server-cache-enabled-the-main-currency-is-set/
I have an ajax call on category and product pages that loads in the currency changer:
https://paste.pics/b7ff5534c2550febb6c8996e05b362d2
I'd like this call to stop. I have a base currency of € and a home currency of € - unless the customer selects something else, I don't want or need a ajax refresh. I have disabled the cache support but still the selector seems to require an ajax load. The underlying problem for me is that our speed optimization / litespeed configuration stops the currency selector from loading in, resulting in a hang. We dont want to break our optimization / pagespeed on waiting for the currency selector.
So, in short, can the ajax check get disabled?
Cheers
Quote from Pablo Borysenco on November 7, 2022, 13:09Hello
Please drop me exact link to the issue
https://c2n.me/4h3GnhF.jpg - This has nothing to do with currency checking and ajax requests. this is switcher loading(smart designer)
Hello
Please drop me exact link to the issue
https://c2n.me/4h3GnhF.jpg - This has nothing to do with currency checking and ajax requests. this is switcher loading(smart designer)
Quote from prokops on November 9, 2022, 22:35OK good to hear.
The page in question is (example): https://micronordic.com/dk/product/panasonic-toughbook-fz-g2/
So the switcher load, can it be prevented / cached ? Sometimes it fails to complete the load, and just spins. It is a caching issue, but we are looking for simplifying the load, maybe defer the load until user interaction or similar.
What can we do?
OK good to hear.
The page in question is (example): https://micronordic.com/dk/product/panasonic-toughbook-fz-g2/
So the switcher load, can it be prevented / cached ? Sometimes it fails to complete the load, and just spins. It is a caching issue, but we are looking for simplifying the load, maybe defer the load until user interaction or similar.
What can we do?
Quote from Pablo Borysenco on November 10, 2022, 12:17Hello
The switcher is only rendered after the page is fully loaded. That is, if your page loads faster, the switcher will appear faster.
There are no ajax requests here. Just a script waiting for the page to load to check it and render the switcher
To hide animation you can add CSS:
body .woocs-lds-ellipsis{
display: none !important;
}
Hello
The switcher is only rendered after the page is fully loaded. That is, if your page loads faster, the switcher will appear faster.
There are no ajax requests here. Just a script waiting for the page to load to check it and render the switcher
To hide animation you can add CSS:
body .woocs-lds-ellipsis{
 display: none !important;
 }
Quote from prokops on November 10, 2022, 12:24Thanks for the answer!
Is there a way to force load first and not last? We seem to have problem with page load, so that it seems that switcher hangs, while waiting for something else.
Until we fix that, could we force switcher to load in first?
Cheers
Thanks for the answer!
Is there a way to force load first and not last? We seem to have problem with page load, so that it seems that switcher hangs, while waiting for something else.
Until we fix that, could we force switcher to load in first?
Cheers
Quote from Pablo Borysenco on November 10, 2022, 13:33Unfortunately no, that's the whole point. The script waits for the entire page to load to find and draw all swichers
while waiting for something else. - It could be JS errors on your site
As a temporary solution, you can use a different type of switcher(don't use a smart designer)
Unfortunately no, that's the whole point. The script waits for the entire page to load to find and draw all swichers
while waiting for something else. - It could be JS errors on your site
As a temporary solution, you can use a different type of switcher(don't use a smart designer)
Quote from prokops on November 10, 2022, 13:56Thanks for the answer.
Do you mean another configuration within your plugin or do you mean another plugin / solution?
The designer screen for switcher in WOOCS does not seem to offer another type of switcher.
Thanks for the answer.
Do you mean another configuration within your plugin or do you mean another plugin / solution?
The designer screen for switcher in WOOCS does not seem to offer another type of switcher.
Quote from Pablo Borysenco on November 11, 2022, 11:46Hello
Ok! What are you using to display the switcher on the product page?
Hello
Ok! What are you using to display the switcher on the product page?
Quote from prokops on November 11, 2022, 11:56Shortcode, [woocs sd=1]
Shortcode, [woocs sd=1]
Quote from Pablo Borysenco on November 11, 2022, 12:56Graet! So please try: [woocs ]
and choose any type of switcher - https://share.pluginus.net/image/i20221111105617.png
Graet! So please try: [woocs ]
and choose any type of switcher - https://share.pluginus.net/image/i20221111105617.png
