Reply 345583 to: Swatch image thumbnail size ratio + product filters

Avatar: Rose Tyler
Rose Tyler
Support staff
January 31, 2023 at 11:56

Hello, Enjin

1/ We added next filters in your xstore-child/functions.php -> https://prnt.sc/m_txHuHsmLAi


// loop product image swatch size
add_filter('sten_wc_archive_loop_image_swatch_size', function() {
return 'woocommerce_thumbnail';
});

// single product image swatch size
add_filter('sten_wc_single_image_swatch_size', function() {
    return 'woocommerce_thumbnail';
});

Also, we improved your CSS styles for those images ->
before: https://prnt.sc/-z3jLxmzxLPh
after: https://prnt.sc/52unoaUZf8wm and https://prnt.sc/F7EzvRvZWO2G

2/ Product filtes widget was created for Elementor product builder as extension to use product filters from any page and redirect the customer to filtered products on shop. We did think about ajax feature but for making it work we understood it will create different issues and requires bad coding practice which we would like to avoid in our projects.
Here is another example of Product widgets widget on our demo -> https://xstore.8theme.com/elementor/demos/book-store/ https://prnt.sc/eZKbfp7F8fUQ

Kind Regards,
8theme team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.