• Resolved kevin heath

    (@ypraise)


    Hi,

    I’m having issues with the discounting on items.
    I want to be able to give 25% discount if someone buys more than 6 mugs.
    I’ve followed the example you give in the documents for BOGO and I’ve almost got what I want.

    If people add 6 different mugs to their checkout then the discount is applied to each mug correctly and I get the correct total.

    However if someone adds 6 of the same mugs – or 2 of the same mug etc – then the discount is split between each product.

    So for example if someone buys 6 different mugs each mug is discounted correctly at £1.99
    but if someone buys 6 of the same mugs then that £1.99 is split between the 6 giving each a discount of about 33p.

    Is this a bug in the plugin or have I made an obvious mistake in the settings.

    Thanks
    Kevin

    https://wordpress.org/plugins/pricing-deals-for-woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author vark

    (@vark)

    Hi,
    Thanks for your query. I need a bit more information, please…

    (1)what version of the plugin – free or pro?
    (2) Please summarize the rule you have employed – for example:
    “Buy 6 or more in Category X, get 25% off”
    (3)Using the Advanced Rule selection, is the Buy Group Amount Applies To = ‘each’ or ‘all’?
    Each = “Buy 6 or more of a specific item in Category X, get 25% off”
    All = “Buy 6 or more of any combination of items in Category X, get 25% off”
    (4) I have to admit to confusion regarding how the discount is incorrect… Please give details of each transaction –
    Units purchased, Original Unit Price, discounted Unit price…
    Best,
    Vark

    Thread Starter kevin heath

    (@ypraise)

    Hi Vark

    1. Currently I’m using the free version.

    2. Buy 6 or more and get 25% off – all items in shop:

    Cart purchase discount
    Buy one Get one
    Buy something discount the item
    advanced

    Buy group:
    any product
    Buy unit quantity – 6
    All products (total by group)
    apply rule once per cart

    Get group:
    discount group same as buy group
    discount unit quantity – 6
    all products (total by group)
    unlimited discounts group repeat

    discount:
    % off – 25
    all products (products as a group)

    here is the debug information at the checkout. I’ve edited out some of the information to stop duplication.

    As you can see when 1 mug of Usk Bridge is part of the order of 6 the mug gets the full discount and is given the correct discounted price of £5.95

    But with the Abergavenny Castle mug there are 3 mugs however is it viewed as 1 product and the £1.99 discount is shared between the 3 mugs so the discounted price of the mug is £7.28 and the full 25% discount is not applied to each mug.

    Usk Bridge printed mug 1
    £1.99

    Usk Bridge printed mug
    ++ Computation Summary ++ (may exclude tax until end…)
    – Total Product Discount = 1.99
    – Pre-Discount Unit Price =
    £7.95

    – Unit Quantity = 1
    – Subtotal = Quantity * Pre-Discount Unit Price = 7.95
    – Discounted subtotal = subtotal – discount = 5.96
    – Initial discounted Unit Price = Discounted subtotal / quantity = 5.96
    – Test new subtotal = Initial discounted Unit Price * quantity = 5.96
    – Final discounted Unit Price =
    £5.96

    – Final Unit Price including Tax =
    £5.96

    – Final Unit Price excluding Tax =
    £5.96

    Abergavenny Castle printed mug 1
    £1.99

    Abergavenny Castle printed mug
    ++ Computation Summary ++ (may exclude tax until end…)
    – Total Product Discount = 1.99
    – Pre-Discount Unit Price =
    £7.95

    – Unit Quantity = 3
    – Subtotal = Quantity * Pre-Discount Unit Price = 23.85
    – Discounted subtotal = subtotal – discount = 21.86
    – Initial discounted Unit Price = Discounted subtotal / quantity = 7.29
    – Test new subtotal = Initial discounted Unit Price * quantity = 21.87
    – Test new subtotal > Discounted subtotal, and
    “give more or less discount” = more,
    so .01 subtracted from Initial discounted Unit Price = 7.28
    – Test new subtotal = New discounted Unit Price * quantity = 21.84
    – Final discounted Unit Price =
    £7.28

    – Final Unit Price including Tax =
    £7.28

    – Final Unit Price excluding Tax =
    £7.28

    Thanks again
    Kevin

    Plugin Author vark

    (@vark)

    Hi,
    Is the “Abergavenny Castle printed mug” a group product? If possible, I’d like to see this issue in motion. Please contact me at my support channel http://www.varktech.com/support/ so we can do a skype chat …
    Best,
    Vark

    Thread Starter kevin heath

    (@ypraise)

    Hi Vark,

    No the mug is not a grouped product.

    I’ll contact your support and give you log in details to the site as it’s not yet live and you can play with it yourself.

    thanks
    Kevin

    Plugin Author vark

    (@vark)

    Hi,
    Thanks for the access to your test environment. The issue seems to be due to a module conflict…
    Best,
    Vark

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘discounting issues’ is closed to new replies.