WCMp bundle is available at a slashed price

Grab It Now

Integration with Quick View

Integration with Quick View2019-10-03T04:08:55-05:00

Home Support Forum WCMp Vendor Vacation Integration with Quick View

WCMp Vendor Vacation

Integration with Quick View Resolved

  • Author
    Posts
  • terry
    Participant
    Post count: 21

    Hi,
    I am trying to get Vendor Vacation to stop the Quick View button from showing when the vendor is on vacation. I think the correct hook in Quick View is ‘wc_quick_view_pro_show_button_in_shop’ as changing this to ‘false’ in their code stops it showing, but everywhere of course. I have tried both Quick View Pro and Woocommerce Quick View, neither stop ordering when the vendor is on vacation.

    I assume the correct hook in Vendor Vacation is ‘$today_is_avoided’ but I could be completely wrong, most of my success with php filters has been either accidental or with a lot of help!

    Am I completely on the wrong track or just writing the filter wrong, any help much appreciated.
    Thanks
    Terry

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 5381

    Hello Terry,

    Thanks for your query.

    I am afraid, ‘$today_is_avoided’ , which you though as a action / filter is just a variable. Currently there is no such hook / filter / function that will return that whether today is on vacation or not.

    You need to do some custom coding to achieve the same, you can check the section we wrote to generate that variable as a reference.

    Kindly let us know if you need any further help in that development.

  • susmita
    Moderator
    Post count: 433

    Hello Terry,

    I presume that your issue is resolved, since, we haven’t heard back from you.

    We are marking this thread as resolved.

    Kindly open a new thread if you face any further query.

The topic ‘Integration with Quick View’ is closed to new replies.