Home Forums WoodMart support forum woodmart remove select options button and replace with quick view button

woodmart remove select options button and replace with quick view button

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #365576

    kang
    Participant

    Is this possible

    #365578

    kang
    Participant

    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

    #365688

    Hello,

    You can disable the quick shop for variable products from Theme Settings >> Shop.

    Screenshot: https://gyazo.com/8bc4f3ae74db2ea517720a5c622a792d

    Best Regards

    #490480

    steen.r.nielsen
    Participant

    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();
    });
    #490652

    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.

Viewing 5 posts - 1 through 5 (of 5 total)