Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Adding right amount of free product #15373
    Katja Mosbach
    Participant

    Oh shit!

    I’m sorry. I did that and its almost perfect now!!
    Everything works as it should except that if I add more than 12, may it be 13, 14 or 20. It still adds 1 free product. Is it possible to constraint it only 12 products?
    I tried

    Usage Restrictions: Ticked: Cant combine with other discunts / Cant be applied on sale / Minimum quantity of matching products: 12 / Maximum quantity of matching products: 12

    and also the combination

    Usage Restrictions: Ticked: Cant combine with other discunts / Cant be applied on sale / Minimum quantity of matching products: 12
    Usage Limits: Limit usage to X items: 12 / Limit discount to every nth item

    Did not work. As said its almost perfect but needs to be restricted to 12 products only

    in reply to: Adding right amount of free product #15371
    Katja Mosbach
    Participant

    Hi! Thank you once again!

    I’ve done as said – but it still adds 12 free products rather than just on 1 free/12.
    Also as soon you have 12 in the cart or more, for example 14 it adds 14 free products.
    And then also if you add another totally different product, just like 1, to the cart of the 14 then it counts the same in the cart – adding a 1 free product/1 product. So you end up with 14product + 14free + 1another product +1 free another product = 30 products in the cart in total.

    My settings are:
    General: Fixed product discount
    Usage Restrictions: Ticked: Cant combine with other discunts / Cant be applied on sale / Minimum quantity of matching products: 12
    Usage Limits: Limit discount to every nth item
    Free Products: Ticked: BOGO matching products / Allow multiplication of the free products
    Otherwise only ticked Auto coupon.

    Is that what effs it up? Or does the code snippet need adjustment?

    Please let me know <3

    in reply to: Adding right amount of free product #15367
    Katja Mosbach
    Participant

    Thank you, thank you!!

    Just to be super sure:
    I’m adding the code snippet to functions of the theme that I use?
    Cause i tried some of the code snippets I found on the forums, but not sure if maybe then posted them in the wrong file? So just want to know the best file to post your code snippet!!

    Thank you again!

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