Public
Ticket #132715
Hi Leah,
Unfortunately, this feature is not currently available.
Please add a feature request here: https://storepress.fider.io/
Thank You
Hello, I am hoping to still do what I need to for my client and if you could provide a snippet of code for me to add to the functions file to accomplish this it would be appreciated.
I would like an option to only display image swatches for color in the archive but to use regular drop down selector on the single product page.
Also wondering if there is a way to disable the colour swatch (circles) on the archive if there is only one colour.
Thank you in advance.
Hi Leah,
I hope that you are doing great. Sorry for the late response.
I shared your request with our team and we have come up with the following solution for you.
Please add the following snippet to your child theme’s functions.php file:
add_filter('default_woo_variation_swatches_single_product_dropdown_html', function($default){
return true;
}, 10, 1);
Let me know if this helps.
Thank You
Thank you for this. It worked great. However, I have spent the day troubleshooting why the store response time has slowed down considerably in the last few weeks of development. I have been able to narrow it down to the pro version of your plugin and I’m hoping you can help us speed up the use of your plugin on our store.
I have allocated a lot of resources and cpu to the site along with lightspeed cache on a lightspeed server with minimal to no improvement. It is a custom theme and we have never had this issue before.
I just noticed one more thing… while this snippet works great and as expected. It looks like that now our Woocommerce Quick View plugin (by woocommerce) no longer allows the variation image to change in quick view when using the colour attribute dropdown.
Hi Leah,
Please try adding 5 or 10 here. It may help with the loading.
Additionally, we have support for object caching(Redis). Please try enabling Redis from your server.
Let me know if this helps.
I just noticed one more thing… while this snippet works great and as expected. It looks like that now our Woocommerce Quick View plugin (by WooCommerce) no longer allows the variation image to change in quick view when using the color attribute dropdown.
Please check by deactivating the snippet or our plugin to check if it works with the default WooCommerce.
Thank You
Not compatible with YITH pre-orders on out of stock products
Leah Reeder
is there a way to only display image swatches for color in the archive but to use regular drop down selector on the single product page?