- This topic has 1 reply, 2 voices, and was last updated 6 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › How to add array on woocommerce email?
I get the array on the result page using this code:
<?php
//Get the search term
//replace 1526 with the ID of your search form
global $searchandfilter;
$sf_current_query = $searchandfilter->get(154)->current_query();
echo $sf_current_query->get_fields_html(
array(“_sft_manufacturer”, “_sft_year”,”_sft_engine_type”,”_sft_engine_model”)
);
?>
it shows:
manufacturers: crusader
years: All years
engine type: inboard
Engine Model: All Engine Model
So how to let it show on woocommerce new order email ?
Thanks.