Search Tour Shortcode

Category

Departure Date

Guests

Adult

0

Child

0

Baby

0
class: Add a custom class
fields: product-name|category|checkin-date|guests|attribute|product-tag|price-filter => Fields to display
columns: 1 or 2 or 3 or 4 => Number of columns used to display the fields

product_name_label: Label of the "product-name" field
product_name_placeholder: Placeholder of the "product-name" field
product_name_required: "yes" or "no" => Make the "product-name" field required

category_label: Label of the "category" field
category_placeholder: Placeholder of the "category" field
default_category: Default category value on page load (enter the category slug)
category_required: "yes" or "no" => Make selecting a category required
incl_cat: 123|456|789 => Include categories (enter category IDs separated by a vertical bar)
excl_cat: 123|456|789 => Exclude categories (enter category IDs separated by a vertical bar)

checkin_date_label: Label of the "checkin-date" field
checkin_date_placeholder: Placeholder of the "checkin-date" field
checkin_date_required: "yes" or "no" => Make selecting a check-in date required

guest_label: Label of the "guests" field
min_guests: Minimum number of total guests
max_guests: Maximum number of total guests
guest_required: "yes" or "no" => Make selecting guests required

(Make sure you have added a guest with the guest name "adult" in Woo >> Settings >> Tour Booking >> Guests)
default_adult: Default number of Adults
min_adult: Minimum number of Adults
max_adult: Maximum number of Adults
(Do the same for child or baby if they have been created in Woo >> Settings >> Tour Booking >> Guests)

(Make sure you have added attributes in Products >> Attributes)
attribute_label: Label of the "attribute" field
attribute_placeholder: Placeholder of the "attribute" field
attribute_required: "yes" or "no" => Make selecting an attribute required

product_tag_label: Label of the "product-tag" field
product_tag_placeholder: Placeholder of the "product-tag" field
product_tag_required: "yes" or "no" => Make entering a product tag required

price_filter_label: Label of the "price-filter" field
min_price: Enter an integer => Minimum price on the price slider
max_price: Enter an integer => Maximum price on the price slider
(If min_price and max_price are not set, the default min_price and max_price from the "wc_product_meta_lookup" table will be used)

button_text: Text for the submit button
result_url: Link to the Result page (this page must contain the Search Ajax element or shortcode)