• Resolved greendragontech

    (@greendragontech)


    I wanted to try your plugin out. It looks great. I need to do a BOGO 1/2 off deal for a client of mine. However, when I try to add a product, it only shows some of our products, but not all of them. The products I’m trying to add Booking products we’ve created using WooCommerce Bookings. Is this compatible?

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

    (@fauzanade)

    Hi @greendragontech,

    By default, we only support the core WooCommerce’s product type, for example, simple and variable products. But, in some cases, integration can be as simple as needing to be able to search for the products within our interfaces search boxes and for those cases, we have introduced a filter so that this can be done via code.

    Could you please add the following snippet to your child theme’s function.php:

    add_filter( ‘acfw_product_search_allowed_types’ , ‘support_booking_product_type_in_search’ );

    function support_booking_product_type_in_search( $allowed_types ) {
    $allowed_types[] = ‘booking’;
    return $allowed_types;
    }

    Please let me know how it goes.

    Best Regards

    Thread Starter greendragontech

    (@greendragontech)

    Wow, thanks for the immediate reply.

    So, that did work and I was able to test the plugin and it works as advertised.

    However, here’s what I’m trying to accomplish and I don’t know if your plugin will do what I need it to do: I’m trying to allow it so that each person booked is at a rate of buy one get one 1/2 off. However, when we do a booking, whether it is for one person or 20 people, WooCommerce only sees that cart shows a quantity of 1 booking of 20 people. Since it is not a WooCommerce quantity of 20, (but only a quantity of 1), then I can’t seem to make the coupon work.

    Any ideas? Does that make sense?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t add BOGO products’ is closed to new replies.