Create a Search form for Woocommerce Bookings

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Create a Search form for Woocommerce Bookings

This topic contains 12 replies, has 2 voices, and was last updated by chefnelone34 chefnelone34 2 years, 4 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #26507
    chefnelone34
    chefnelone34
    Participant

    Hello,

    (related to this comment: https://codecanyon.net/item/ajax-search-pro-for-wordpress-live-search-plugin/3357410/comments?page=118&filter=all#comment_23942454 )

    I am using the Woocommerce Booking to create bookable products. The plugin does not include the feature to have a SEARCH FORM for this products. I need to place a searcher in the homepage of my site, something like this https://monosnap.com/file/JfHelbWfDdakBFg0UfnrzussDYLvnY

    Then, I need to use your plugin to create this Searcher.

    I have done these captures to show you that your plugin seems to detect all Booking Field to get this done:

    https://monosnap.com/file/BjoHl4bNY2oMHzTe7djRg8dSF8eE02

    https://monosnap.com/file/1DaBbeoFpxPqUff5cVQUUPPMXmG6Tc where you will see

    Let me know if you need admin access to my site, is so I will send credentials by email. thanks.

    • This topic was modified 2 years, 4 months ago by chefnelone34 chefnelone34.
    #26521
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    From the back-end, I think the booking dates are very likely stored in “_booking_start” and “_booking_end” custom fields, although I am not sure.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26532
    chefnelone34
    chefnelone34
    Participant

    Hello,

    Ok, I added the custom field here, is this the right place to add the fields I need?

    But it is not shown in the searcher: here

    Can you tell me where is the right place to start adding the fields?

    thanks.

    • This reply was modified 2 years, 4 months ago by chefnelone34 chefnelone34.
    • This reply was modified 2 years, 4 months ago by chefnelone34 chefnelone34.
    Attachments:
    You must be logged in to view attached files.
    #26538
    chefnelone34
    chefnelone34
    Participant

    Here the settings of the added field: https://monosnap.com/file/mVJ6iIYQM9Elmr1XdlUeUZ36pFe1G5

    Attachments:
    You must be logged in to view attached files.
    #26540
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    You have to make the filters visible, or use the settings shortcode, possible configuration: https://i.imgur.com/WoMYtJN.png
    Related documentation.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26544
    chefnelone34
    chefnelone34
    Participant

    Hi,

    I got the fields to be shown. I first try with a simple search (capture-1) and get now results even where there is a product available (capture-2).

    What about the OPERATORS, I don’t fully know how to use them. Can you please guide me?

    • This reply was modified 2 years, 4 months ago by chefnelone34 chefnelone34.
    Attachments:
    You must be logged in to view attached files.
    #26548
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The “_booking_start” and “_booking_end” custom field does not seem to be existing for the “product” custom post type, but for the booking post type instead. It won’t work that way, the custom field must be set for the post type that you want to filter.
    You could be able to use that to filter the bookings, but not the products, if those fields are not set.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26549
    chefnelone34
    chefnelone34
    Participant

    Hi,

    I attached a capture of “General-Options / Sources”. Can you tell me if I have the right ‘Post types’ and ‘Custom Fields’ added here?

    Attachments:
    You must be logged in to view attached files.
    #26551
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Probably the wc_booking is the one you are looking for. The product won’t do anything here, the filter will automatically rule them out.
    Although the question is, if the wc_bookings post type is public, or viewable by the user – I honestly don’t know that.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26552
    chefnelone34
    chefnelone34
    Participant

    Hello,

    I am afraid I don’t have the knowledge to go deeper with this and to honest I expected a little more help from you.

    Anyway, I understand that this setting could complex and the price I apid to extend my support is not enough for you. If so, is there any chance you can take this as a work under budget (quotation)?

    Regards,

    #26556
    chefnelone34
    chefnelone34
    Participant

    Hi,

    Can you please answer me? I just need to know if I can count on you. Thanks.

    #26558
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’m sorry, I’m doing the most I can. I’m already overdoing my support duties, as configuration, and finding out details about specific installation is not actually part of it. I’m doing my best to help, but I am not the author of the other plugin, and I am not familiar with it’s inner workings, all I can do is share what I find.
    This definitely needs some sort of a customization to somehow connect the product post type with the other one, or use their plugin API. Unfortunately I am not available for customizations, I can barely handle my current duties at the moment. I can suggest trying wpkraken or envato studio to find devs.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26561
    chefnelone34
    chefnelone34
    Participant
Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.