Checkout's discount system: how does it work?
|
Hänsel
Joined: 2008-11-16
Posts: 39 |
Posted: Fri, 2008-12-19 13:32
|
|||
|
I don’t suss the discount system right: I assume, I suppose wrongly the settings (both tried with and without activating default) on the screen shot mean: when a customer adds one item or one image or more he gets discount 1 when entering the code xxx (that seems to work) and discount 2 when entering yyy when he orders at least 11 images (or or and one item?). But latter seems not to apply in the way I want: when I add up to and including seven images in Discount 2 (ACP) the code yyy applies, more than seven and the code doesn’t. Why is that? So, when I e.g. would offer 4 different discounts having 4 different codes may be effecting according to the amount, quantity, how should I do this best?
|
||||

Posts: 4338
From the checkout configuration page:
If you tick the default box for both discounts, then, whether or not you enter a code, only the first discount will be used because the first one will always match before the second one matches.
So you should apply discounts in this order:
Large before small, more products/items before fewer items, and put all the default discounts at the end.
Does that help?
Posts: 39
Many thanks.
Ok, well, yes, it helps a bit, though I do not really understand yet, how it works, so when I exactly know, which discounts I really want to offer, I will try and if I fail ask again. But is this right:
When a customer adds the code xxx to obtain discount 1, he though might obtain discount 2 which should actually be applied by entering the code yyy?
When I clear Minimum Value, Min. Images, Min. Products, then the code entered by the customer applies the discount set for this code and not any other code? So, when he adds xxx he gets discount 1 (and never another discount), when he adds yyy he gets discount 2 (and never another discount)?
Edit: Testing with three discounts I see, it is not like that.
And a discount's default box being unticked, can be applied still. What is the difference between unticking and ticking the box?
Posts: 4338
It works like this:
Take the first discount: Is the "default ticked" OR is the code entered? Are the minimum quantities satisfied? Is the minimum value satisfied? If ALL THESE are yes THEN apply the discount and FINISHED.
Otherwise...
Take the second discount: Is the "default ticked" OR is the code entered? Are the minimum quantities satisfied? Is the minimum value satisfied? If ALL THESE are yes THEN apply the discount and FINISHED.
Otherwise...
Take the third discount: Is the "default ticked" OR is the code entered? Are the minimum quantities satisfied? Is the minimum value satisfied? If ALL THESE are yes THEN apply the discount and FINISHED.
etc.
Is that clearer?
If 'default' for discount 2 is ticked, and he fails discount 1 but matches discount 2, then discount 2 is obtained, even if he entered the code for 1. (You don't need to enter a code if 'default' is ticked.)
Posts: 39
Yes, ok, many thanks, I have understood this (I hope, I should be carefully with saying that meanwhile):
I would have thought the settings like they are on the screen shot would mean just the matching code being entered will be applied, that's all, but I see it isn't like that. So, when I have three codes referring to three different discounts and the codes are the only criterion to be matched (the customer adding the right code gets the referred discount, independent of any minimum quantities, prices etc.), what had I to set?
Sorry for my savvying difficulties and thanks for your patience.
Posts: 4338
What you have is correct - if that doesn't work, then it's a bug :-0
Posts: 39
So I simply shouldn't offer these kinds of discounts, may be I'll find another way.
Thanks for your fast supporting.
Posts: 4338
Why should you not? if it's not working how it should, then it's a bug, tell me, and I'll fix it.
Posts: 4338
I'm sorry, I'm unable to reproduce a problem:
Posts: 39
Many thanks for trying.
I have completely deinstalled, deleted "checkout" and "checkoutemail" and reinstalled both and suddenly both the “Add ok to cart” message and the discount codes work properly. I don't know what has changed, but it really seems to work now.
May be this means that there has been a same source causing both errors, a connection between these errors...or there had been something messed up in the data base...
...I am wondering whether the errors might have been caused by wrongly set write permissions (though I didn't change anything)...
I have tried your discount settings and mine I had have before, both work. Before, when inserting code xxx for discount 1 wrongly discount 2 displayed (“default” unticked), yyy let rightly appear discount 2, zzz rightly discount 3...
Strange...
I am very happy about that it's working now, thank you very much for your always fast given support.
P.S. And sorry for causing you the trouble for nothing...
Posts: 1
This is a great module, thanks so much alecmyers.
I'm setting it up around a base image price and then using discount codes to adjust the image price appropriately for bigger and smaller images. I'd like to set the base price for the most popular size images ie A6 or maybe A5 and charge more for larger images. So . . . can I adjust the module to effectively surcharge for larger images/higher print runs? Please point me to the right place to tweak. Many thanks in advance
Posts: 4338
Er... not really. You should set the correct price for each different size of image by configuring each size as a different product.
To alter the price based on the size of 'print run' use the checkoutpricebands module.