Home Forums WoodMart support forum Open “Select options” through the quick view window

Open “Select options” through the quick view window

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #497163

    sadovit.help
    Participant

    Hello, please help to solve one question:
    We have a variable product, when we click on the “Select options” button, the product page opens. Can we make it so that when “Select options” is pressed, a quick view window opens?

    That is, when clicking the “Select options” button:
    https://i.imgur.com/ng8jhPl.png

    A quick view window was opened:
    https://i.imgur.com/SGQU3nl.png

    This applies specifically to variable goods.

    I know about such a view of variations, but unfortunately it does not suit us:
    https://i.imgur.com/A3KEJsx.png

    It’s just that we have a food store and we use additional fields for variations, we are trying to implement so that when “Select options” is clicked, a window opens like when “Quick View” is clicked.
    I’ve been struggling with this question for two weeks and I can’t think of anything, please help

    You can test the work on this page – https://www.mrbbq.com.ua/product-category/test/
    On this product – https://www.mrbbq.com.ua/product/test-klasychni-pankejky/
    https://i.imgur.com/TBi36zs.png

    • This topic was modified 1 year, 5 months ago by sadovit.help.
    • This topic was modified 1 year, 5 months ago by Artem Temos.
    #497214

    Artem Temos
    Keymaster

    Hello,

    Try to add the following code snippet to the Custom JS area on document ready in Theme Settings to do this

    jQuery('.product_type_variable.add_to_cart_button').click(function(e) {
        e.preventDefault();
        jQuery(this).parents('.product-grid-item').find('.open-quick-view').click();
    })

    Kind Regards

    #497379

    sadovit.help
    Participant

    Thank you, everything works, thank you very much!

    #497397

    Artem Temos
    Keymaster

    You are always welcome. Feel free to contact us if you have any further questions.

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

The topic ‘Open “Select options” through the quick view window’ is closed to new replies.