Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Split Woocommerce Site › Reply To: Split Woocommerce Site
Hi Ernest,
Apologies for the slow reply, your email went into junk and we have only just found it.
So for limiting the search you recommend adding code to the functions.php which is fine but we need to know exactly what to add/change –
`add_action(‘asp_layout_in_form’, ‘asp_layout_in_form_archive_input’, 10);
function asp_layout_in_form_archive_input() {
$taxonomies = ‘category, post_tag, product_cat’; // Enter the taxonomy names here
We will have two searches so which part do we change to point at the right one ? how are product categories to be separated – air guns, targets, < – is that correct ?
We are using Elementor Pro as requested by the client, we have two separate headers , two different searches that will be split. We have spent alot of time going through your documentation, but we still cannot work out how to point one search result to one Elementor search page (i.e. fishing and the other shooting)
Hope that makes sense
Thanks
Ross