Forums Forums Search & Filter Pro How to add array on woocommerce email?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #215861

    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.

    Trevor
    #215869

    I am sorry, but that is not something I would be able to help you with, as it is not within the scope of our support. You would need to use a third party developer to write the code for you.

Viewing 2 posts - 1 through 2 (of 2 total)