Hello,
My situation is, when a customer adds a quantity of four or more to a product, I want to set a discount of $40 off the price of that product. I have setup up a discount conditions and actions to do this (see discount1.JPG attachment) but whenever I add that product and change the quantity to four it never adds the discount onto it. Also whenever I add a product to the shopping cart, no matter if I have set up a discount for it or not, the shopping cart gives me this error, "warning: Invalid argument supplied for foreach() in /home/inst5969/public_html/modules/uc_discounts/uc_discounts.module on line 309." (see discount2.jpg attachment).
Any help would be greatly appreciated!
Thanks in advance.
Stephen
Comment | File | Size | Author |
---|---|---|---|
discount2.JPG | 31.03 KB | smschwindt | |
discount1.JPG | 52.48 KB | smschwindt |
Comments
Comment #1
cakka CreditAttribution: cakka commentedEhmm... i am getting same trouble...
The discount not affected the product price.
I have setting the discount. I have submit some products to discount.
But the discount not run anyway.
Any ideas ?
Thanks
Comment #2
cakka CreditAttribution: cakka commentedHelloo, are there any one that have the same problem and know about the solution ?
Thanks
Comment #3
cakka CreditAttribution: cakka commentedAny ideas ? Thanks
Comment #4
smschwindt CreditAttribution: smschwindt commentedComment #5
rkeppner CreditAttribution: rkeppner commentedFor some reason, this just cropped up on one of my sites using uc_discounts. I don't have time to track down what's being passed in at the moment, since the discounts aren't being actively used right now. (They get used heavily for a few weeks a year, surrounding a conference event.)
I got around the problem by changing this (starting at line 309):
to this:
I'd roll a patch for it, but it looks like the module isn't being maintained. Let me know if someone actually wants one.
Comment #6
smschwindt CreditAttribution: smschwindt commented