woodmart remove select options button and replace with quick view button
-
i have worked this out with this code:
jQuery(‘body’).on(‘click’, ‘.button.product_type_variable.add_to_cart_button.add-to-cart-loop, .product-element-bottom’, function(e) {
e.preventDefault();
jQuery(this).parents(‘.product-grid-item’).find(‘.open-quick-view’).click();
});
but i want to remove the or disable the “.quick-shop-wrapper .variations_form” function
Hello,
You can disable the quick shop for variable products from Theme Settings >> Shop.
Screenshot: https://gyazo.com/8bc4f3ae74db2ea517720a5c622a792d
Best Regards
How do i get this code to work to make select options open a quick view window?
jQuery(‘body’).on(‘click’, ‘.button.product_type_variable.add_to_cart_button.add-to-cart-loop, .product-element-bottom’, function(e) {
e.preventDefault();
jQuery(this).parents(‘.product-grid-item’).find(‘.open-quick-view’).click();
});
Hello,
Sorry to say it requires customization and beyond our support policy. Additional code customizations are out of our theme support scope.
Hope you can understand!
Best Regards.