Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-13-2004 12:56:22

kaz
Member
Registered: 05-19-2004
Posts: 583

Discount Code Only Applied To One Of Each Item!?

I expected discounts to apply to all items when more than one of an item was ordered, but the discount is only being applied for the first item.

I setup a non-expiring discount of $0.11 to apply only to to item 723,
but when you go to  and order 100 you only get a discount of $0.11 at checkout (I was hoping you would get a discount of $0.11 on each one for a total discount of $11.00).  I also tried a percentage discount, same effect.

Clearly I must be doing something wrong, can someone please tell me how to fix this?


Kevin Zaleski -  -

Offline

 

#2 07-16-2004 16:43:48

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19849
Website

Re: Discount Code Only Applied To One Of Each Item!?

This doesn't seem correct.  Can you post a URL and a discount code we can test with?  The $cart_amtprod variable is read in for each line in the cart in the discount routine.  That variable holds the total price for the cart line item (which includes the total price for the total quantity ordered).


Nick Hendler

Offline

 

#3 07-16-2004 16:53:05

kaz
Member
Registered: 05-19-2004
Posts: 583

Re: Discount Code Only Applied To One Of Each Item!?

add 1000 of  to your cart, click Checkout, and enter a discount code of ShelliYanik (which is a non-expiring discount, currency, 0.11 that applies only to related product of 723).

On the Order Summary you will see:
Item Subtotal $470.00
LESS: Discount $0.11
Total $469.89

same thing happens when i tried the corresponding percentage

it works ok when the discount applies to all products, it's only broken when it's "Apply Only To Related Products"


Kevin Zaleski -  -

Offline

 

#4 07-16-2004 17:12:22

Will
Member
Registered: 02-26-2003
Posts: 493
Website

Re: Discount Code Only Applied To One Of Each Item!?

Hmmmm, I tested and sure enough only a discount of .11 for all 1000 of them.


Will

Offline

 

#5 07-16-2004 17:57:45

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19849
Website

Re: Discount Code Only Applied To One Of Each Item!?

I'll check this out.  Thanks.


Nick Hendler

Offline

 

#6 08-02-2004 00:16:50

kaz
Member
Registered: 05-19-2004
Posts: 583

Re: Discount Code Only Applied To One Of Each Item!?

I'll check this out. Thanks.

2 weeks later, have you had a chance yet?  I need this to work.


Kevin Zaleski -  -

Offline

 

#7 08-04-2004 09:59:22

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19849
Website

Re: Discount Code Only Applied To One Of Each Item!?

Sorry I missed this before.  Discount codes are done as an amount off the total order - not individual products.  You can have them apply to have them only count the subtotal of individual products to figure out the discount amount.  If you want x amount off each one, use a percentage discount - not a dollar amount.


Nick Hendler

Offline

 

Board footer