Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Min order quantity and free product
- This topic has 33 replies, 2 voices, and was last updated 10 years, 4 months ago by Natasha Solley.
- AuthorPosts
- April 13, 2016 at 7:29 am #419Natasha SolleyParticipant
Hi there
yes I have. I have tried with selecting”BOGO matching products” and that just adds 1 x extra product to the cart – even if I have 6 items in the cart. And if I select “Allow multiplication of the free products” it ends up with 6 products – so that isn’t right either.
April 13, 2016 at 8:30 am #420Soft79KeymasterCan I take a look? Please send credentials to admin at soft79.nl
April 13, 2016 at 8:34 am #421Natasha SolleyParticipantSorry Im not sure I understand what you re asking for? Did you want admin log in?
April 13, 2016 at 9:57 am #422Soft79KeymasterYes please, then I can take a look what’s wrong.
April 14, 2016 at 2:59 am #423Natasha SolleyParticipantI have emailed you with this info :-)
April 14, 2016 at 7:06 am #425Soft79KeymasterHi,
I see, for bogo the filter didn’t apply. I changed this on your setup. This change will be in 2.3.3-b3.
April 14, 2016 at 7:11 am #426Natasha SolleyParticipantyay it works – thank you :-)
I need to know exactly what you changed though as I need to transfer this over onto our live site – that was just on our testing site.
April 14, 2016 at 7:19 am #427Soft79Keymasterjust copy the wp-content/plugins/woocommerce-auto-apply-coupons-pro/includes/wjecf-pro-free-products.php to your live site (assuming 2.3.3-b2 is already on the live site, otherwise copy the whole plugin).
April 14, 2016 at 7:40 am #428Soft79KeymasterOnce the new version is released, you might need to make a change in functions.php because for BOGO I will probably create it’s own filter (wjecf_bogo_product_amount_for_coupon) instead of using wjecf_free_product_amount_for_coupon.
If I don’t forget I will tell you about this at release, otherwise please keep this in mind. The plugin won’t update automatically so don’t worry about that…
April 14, 2016 at 7:52 am #429Natasha SolleyParticipantOK excellent will do thanks. Can your plugin be updated from inside of wordpress?
April 14, 2016 at 7:54 am #430Soft79KeymasterUnfortunately not (yet?).
April 14, 2016 at 9:14 am #432Natasha SolleyParticipantOk. Hopefully soon :-) How do we know when an update is available then?
April 14, 2016 at 11:04 am #434Soft79KeymasterYou won’t, not without manually checking soft79.nl. I’m looking into this, though.
May 14, 2016 at 11:27 am #475Soft79KeymasterHi Natasha, 2.3.3 is out. Unlike the beta you are using, there are two filters you can hook to:
wjecf_bogo_product_amount_for_coupon( $quantity, $coupon )
wjecf_free_product_amount_for_coupon( $quantity, $coupon )So if you’re using the script for BOGO, make sure you hook to the wjecf_bogo_product_amount_for_coupon instead of wjecf_free_product_amount_for_coupon.
June 3, 2016 at 2:02 am #495Natasha SolleyParticipantHi there
Wonderful great news about the update.
Will this update allow for the option I wanted without having to add a new hook each time. Eg if they purchased min of 12 of item x they would receive 12 free of item y. and then multiplications eg buy 24 of item x and get 24 free of item y. Or do I need to create a hook each time I want to do a new one of these?
- AuthorPosts
- You must be logged in to reply to this topic.