Search Form

1: Shortcode Format

[ovabrw_search /]
+ template: insert your template name + column: one-column, two-column, three-column, four-column, five-column + show_product_name: yes/no + show_attribute: yes/no + show_product_tag: yes/no + show_pickup_loc: yes/no + show_dropoff_loc: yes/no + show_pickup_date: yes/no + show_dropoff_date: yes/no + show_cat: yes/no + show_tax: yes/no + name_product_required: yes/no + product_tag_required: yes/no + pickup_loc_required: yes/no + dropoff_loc_required: yes/no + pickup_date_required: yes/no + dropoff_date_required: yes/no + category_required: yes/no + attribute_required: yes/no + hide_taxonomies_slug: Insert slug taxonomies. separated by "," ( slug_a,slug_b,slug_c) + remove_cats_id: Insert ID Categories. separated by "," ( cat_a, cat_b, cat_c) + taxonomies_slug_required: Insert slug taxonomies. separated by "," ( slug_a,slug_b,slug_c) + dateformat: d-m-Y, m/d/Y, Y/m/d, Y-m-d + hour_default: 12, 24 + time_step: Insert number , Ex: 15 + class: Insert your class
If you don't insert params in shortcode, the params will get value from WooCommerce >> Settings >> Booking & Rental Tab >> Search Settings

2: Make a new template for Search Form:

You can make unlimit search form template.
Example: You make new search with shortcode:
1
[ovabrw_search template="simple_search" /]
Copied!
You have to follow 2 steps: Step 1: Create new template for search Themes/your-theme/ovabrw-templates/shortcode/simple_search.php
Step 2: Customize new template Copy code from Plugins/ova-brw/ovabrw-templates/shortcode/search_form_full.php to Themes/your-theme/ovabrw-templates/shortcode/simple_search.php
Last modified 1yr ago