Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Fauzan Azizie

    (@fauzanade)

    Hi @jderosa,

    May I know what is the product type for your Kids Yoga product? By default, our BOGO product only support Simple and Variable Product type.

    Thread Starter jderosa

    (@jderosa)

    Hi, thanks for the help!

    Our product is custom, created by another plugin to sell class spots.

    You say that BOGO only works with Simple and Variable by default, is there a way to make it work with other product types?

    Plugin Support Jeff Alvarez

    (@superlemon1998)

    Hi @jderosa ,

    Please give this snippet a shot, to use it simply change or add more $product_types[] or update the custom_product_type1 to the product type your store is using.

    add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_custom_products' );
    function acfw_search_add_support_for_custom_products( $product_types ) {
        $product_types[] = 'custom_product_type1';
        $product_types[] = 'variable-custom_product_type1';
        return $product_types;
    }

    Once your happy with the code, please add the snippet to your child theme’s functions.php or through the WPCode plugin

    You can reach out to the other plugin’s support or author to help complete the snippet.

    • This reply was modified 1 year, 8 months ago by Jeff Alvarez.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BOGO can’t find any products’ is closed to new replies.