Here’s a video of whats happening – https://www.loom.com/share/613d1f2a039a4cf6897b5e55ab3817af
Public
Ticket #148449
Here’s a video of whats happening – https://www.loom.com/share/613d1f2a039a4cf6897b5e55ab3817af
Hi Graham,
Thanks for reaching out to us. Can you please give us product links to check?
It will help us to inspect it further.
Hope to hear from you soon.
Thank You
Hm, seems that messages replied to via email don’t make it to this ticket do they. So I’ll just re-iterate it here.
I said:
This one works fine
https://yarn.devbuild.website/product/malabrigo-nube/
This one does too but the waiting list function doesn’t work when you click on an out of stock product
https://yarn.devbuild.website/product/malabrigo-rasta-chunky/
https://yarn.devbuild.website/product/malabrigo-rios/ – this seems to be broken as you can select a swatch but you can’t add it to cart. Strangely when I’m logged into WordPress it does work but still the waiting list option doesn’t work.
Then you replied:
add_filter( ‘woo_variation_swatches_global_ajax_variation_threshold_max’, ‘woo_variation_swatches_global_ajax_variation_threshold_max_edit’, 10, 2 );
function woo_variation_swatches_global_ajax_variation_threshold_max_edit( $size, $product ){
return 700;
}
So I added that but the Waitlist function still does not activate. The only change is that now the https://yarn.devbuild.website/product/malabrigo-rios/ product can be selected. It had worked previously but only when logged in.
What else can we do?
I’ve created a login for you to get in. You’ll notice the load speed isn’t the fastest but thats because its a dev site so its a little slower. We’ll move it to production if we can get the swatches working first.
https://yarn.devbuild.website/wp-admin/
UN: swatchman
PW: &dLlN5GnQ9BLt7hMnuPmnWkg
Hopefully you can come to a resolution.
Thanks,
Graham.
Hi Graham,
Thanks for giving me the dev site.
I have added a snippet using the Code Snippet plugin (which is installed on your dev site)
Please check now and don’t forget to flush your cache like browser cache, caching plugin cache, and server-side cache.
Hope to hear from you soon.
Thank You
Thanks mate, that seems to have made the Waiting List module start working again for the heavy variant products.
Although you may have noticed this is slow to load (I did mention that the server is slow) but would you happen to know of a way to optimise variant products to speed up the load process? This seems to be an ongoing issue but though having experience with this custom plugin you have have some insights on how to speed up these products loading.
https://www.yarntrader.com.au/product/malabrigo-rios/ – you’ll see this product is slow on the live site as well.
Thanks.
Hi Graham,
You have a large number of variations for this product: https://www.yarntrader.com.au/product/malabrigo-rios/
Please contact your hosting support and ask if they have Redis Object Cache on their server.
If so, please ask them to enable it for your site. Then use this plugin: https://wordpress.org/plugins/redis-cache/
Our plugin has built-in support for the Redis Object Cache.
Thank You
I’m aware of the many variants. We’ve had products where we’ve had to split them but its not proactical for the user.
https://www.yarntrader.com.au/product/hedgehog-fibres-dk-a-to-m/
https://www.yarntrader.com.au/product/hedgehog-fibres-merino-dk-n-to-z/
Redis can’t be used as its a shared server (Synergy Wholesale) so wouldn’t work with the setup. We do have the Lightspeed cache plugin in use though.
Hi Graham,
Please make sure they provide any server-side cache.
A server-side cache can help you to speed up your site.
Server-side cache is also recommended by WordPress.
You can check the article on Lightspeed regarding object cache: https://blog.litespeedtech.com/2018/02/07/object-cache-support-in-lscache/
Thank You
Plugin Testing
Graham WEST
Hi there, I tried chat but no response after a day so thought I’d try this channel.
I just bought the Swatches plugin to try and I’m getting mixed results. Does it have a max capacity on how many swatches it can handle because it works on some products but disables features on others.
Look forward to hearing from you.
Thanks,
Graham.