ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Problem with Discount Codes Filtered by Product
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with Discount Codes Filtered by Product

 Post Reply Post Reply Page  12>
Author
Message
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Discount Codes Filtered by Product
    Posted: 16-February-2011 at 11:32am
I am struggling to get a discount code filtered by product to work and was wondering whether anyone else had come across the problem.
 
I can get it to work when a the type of discount code is set to Percent Discount but not when the type of discount is a fixed amount. 
 
In V4 I expect the discount only apply to the eligible items in the cart, which is does when the discount is a %, but when a fixed amount is used the value is deducted off the whole cart.  I am thinking that this may be a bug which hasnt be noticed before because it will only be noticed under a specific circumstance.  I.e when the total cost of elligible items is less than the total value of the fixed discount. 
 
Regards
Matt
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 11:52am
Hi Matt, I am not sure I understand. If the discount is $10 on an eligible product then that would be the amount deducted from the total.
What am missing / misunderstanding here?
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 11:58am
Hamish - I read Matt's post a bit differently.  Seems he is reporting that when the discount is set as a percentage and against a product, it works.  When discount is set as an amount and against a product, the discount is applied to the entire order (instead of eligible products).
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 12:20pm

Hi, you mean if it's a $10 discount that is being applied to every product in the cart, so 5 products gives $50 discount? Or that if the qualifying product is $2 and the discount is $10 they are getting $8 credit towards other items? Sorry. Being a bit slow to understand the issue.
Back to Top
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 12:31pm

I am never very good at explaining things but Greg summed it up pretty well.

Lets say I have a $7 discount code that has certain excluded products set.
 
If my customer has a cart with $5 of items that qualify and $5 of items that do not qualify, Productcart will still apply the whole $7 discount to their order.  I.e the code has applied $2 of discount to the non qualifying items.  The customer is happy, but I am $2 out of pocket.
 


Edited by mattprice - 16-February-2011 at 12:34pm
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 12:42pm
Hi Matt, I see what you mean. Is it a 'bug' though? I guess the question in response is why offer a discount that is more than the value of the products it is applied to. I'll shop on your store all the time :-)
Seriously though, I suggest setting it as a percentage discount with a maximum value. That should solve the issue.


Back to Top
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 12:55pm

Yes I agree Its an odd scenario and why it has not come up before as I explained in my first post.  We use the discount code to offer customers free samples.  They are entitled to £4 of free samples and anymore they must pay for.  We do not want the customers using the samples for other products however.   This is where the problem arises. 

Using the % discount will not solve this problem ?
 
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 1:02pm
try a 100% discount and set a maximum value of 4 gbp - I think that should work as you want it to. let me know if it does and I'll then update the wiki.
Back to Top
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 1:14pm
Hi Hamish,  I am afraid this will not work because we allow customer £4.00 of free samples but anymore they must pay for.  Most samples are set at a cost of £1.00 each.  Whilst most people choose just 4 samples and checkout at zero cost (after applying the discount code) there are some that put six different sample products in their cart at a cost of £6.00.  They get 4 free and have to pay for the other 2.
 
A 100% discount code limited at £4 would not allow them any free samples under the above scenario.
 
 
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 16-February-2011 at 1:37pm
Hi, Are you sure? The logic (in my head anyway) says it would. Give it a test, if you haven't already.  
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.