Order Total Discount Not Applied

escoles - February 4, 2009 - 01:25
Project:UC Discounts
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm trying to apply a discount using Order Total, and it doesn't seem to have any effect on the cart total.

I'm trying to have people register for a conference using a product with attributes that capture their their personal contact information (name, email, title, etc.). So each registrant is a unique instance of the registration product.

When more than four people register at once, the price per registration goes down by a fixed amount.

I originally tried using product discounts, but that seems to break when there are unique instances of the product. So I shifted to trying to use Order Total, since I could get more or less the same effect: If the price is over a certain amount, I know they're making at least four registrations.

Problem is, I can't seem to make it work.

I'm attaching a screen shot of my Order Total discount. Here's what I've done:

I created a Condition on the Order Total property, with the "less than" conditional operator and an amount of 300. That seems to me to be saying that if the amount is greater than 300, the condition is satisfied. (But: I also tested it with the operator set to other values to see what would happen, and it seemed to have no effect at all.)

I created an Action on the "Discount amount from order total" property, with an arbitrary value of $25. (In the real version, I'd use a percentage, but I wanted the least problematic case for initial testing.)

The result: Nothing.

I've tested this with different numbers of items in the cart and thus different total values, and always the same result: No change in the cart total. (I've also tried checking out, and there was no discount applied.)

Am I missing something, here? Is there another step I need to take in order to make this apply?

AttachmentSize
Picture 2.png57.41 KB

#1

glennnz - February 4, 2009 - 01:30

escoles

I've been trying for the last week to get uc_discounts to work with Role Discounts, with no luck at all. It's quite broken, and nobody seems to be responding to issues or support requests... :-(

I know there is a new discounts module for UC2 under development, but it's not ready at all yet, and won't be for some number of weeks.

I doubt this helps you at all, unless you can hold off for the new module.

If you manage to figure it out, please let me know!!!!!!

Glenn

#2

escoles - February 4, 2009 - 02:16

Alas, no, doesn't help, but thanks for responding. I need to get something working in the next couple of days. Will have to do some kind of workaround I guess.

#3

glennnz - February 4, 2009 - 02:30

I'm in exactly the same place. I need this working...

I've explored these options for my needs:

Drupal 5.x with eCommerce 3.x (doesn't have all the modules I need)
Drupal 5.x with Ubercart 1.x (doesn't have all the modules I need)
Drupal 6.x with eCommerce 4.x (doesn't have all the modules I need)
Drupal 6.x with Ubercart 2.x (doesn't have all the modules I need)

It's different for every case, but in all cases there are missing modules. If I figure out a work-around I'll let you know, if you can do the same would be great. My email is glenn@sustainabledesign.co.nz. It is a holiday weekend in New Zealand, so I'm away now until Monday.

My last chance is to downgrade my Ubercart from v1.7 to v1.5 (on Drupal 5.x), I think there may be some patches that help to get discounts and taxes working better. I've run out of energy now, that's Monday for me...

Cheers

Glenn

#4

escoles - February 4, 2009 - 10:16

I've just verified that I can't make this work in Drupal 5, either.

There's a guy on the Ubercart forums who says he's gotten order total to work; I'll ask him if he's got any ideas for why.

#5

escoles - February 4, 2009 - 12:22

... and he didn't have any ideas. It was worth a shot.

Glenn, what I'm looking at next is either outsourcing to a 3rd party or doing it in either ZenCart or CubeCart. I have a very tight time constraint on this (my schedule will slip already), so I'll need to just get something done. Hopefully I'll be able to circle back and see a real solution to the discounting problem (which is also going to be a problem for another client I'd hoped to put on Ubercart).

(I wonder why volume discounts have so little traction? I'd have expected it to be a commonly-needed feature.)

#6

escoles - February 5, 2009 - 15:57

Another followup for glennnz:

We're working around this by using either OSCommerce or (probably) ZenCart (because the available discount functionality is closer to what we need), for the short term, but will be circling back to Ubercart and uc_discounts for three future sites. I'm looking into offering a bounty on fixing the Order Total and Product components of uc_discounts. Not prepared to offer more details on that at this time, though.

#7

glennnz - February 7, 2009 - 03:30

I know that there is a brand new discounts module being written for D6 and UC2, but it is still several weeks away at least for alpha testing even, I think. I might have to look at zen-cart too in the interim. A less than ideal solution....

Keen to keep in touch and hear what solutions you may have come up with, and I'll do the same.

Glenn

#8

MissyM - March 22, 2009 - 21:31

Subscribe -- I can't seem to get discounts working either.

#9

tjjacobsen - August 26, 2009 - 12:48

Subscribe.

Ive got Discounts working on ubercart 2.x-rc6. BUT...Discounts on Order Total only work if using conditions "<" or "<=".

>, >= and == do not work.

Adding fuel to the fire, "Negate" does not work either.

I have been trying to get a response / reply from the Ubercart folks, but not a word from them yet.

VERY frustrating.

#10

AaronChristian - October 25, 2009 - 19:23

Hey guys,

Thought I'd throw in my 2 cents. I have the discounts working properly.

I've attached a screenshot to show the order in which I am applying these discounts. Be sure to have the largest discount & volume at the top with the lowest weight. I found that having it in the reverse order made any books purchased that surpassed the 60 (quantity) would apply each of the listed discounts once to the total price.

Hope this helps someone.

AttachmentSize
Ubercart Discounts - Setup 83.66 KB

#11

AaronChristian - October 25, 2009 - 19:30

Sorry guys,

Heres some more of the actual set-up for each of the discounts.

The screenshot below for 40-59 books is the same as the discounts for 10-19 Books, 20-39 with a different "value" based on the starting number of books.

Obviously you'll have to adjust it to suit, but this should help anyone struggling with this issue.

AttachmentSize
60+ Books 105.33 KB
40-59 Books 107 KB
 
 

Drupal is a registered trademark of Dries Buytaert.