Applying Discounts to Only Certain Items
I have tried it again, and I am getting the error:
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/drbirdie/WA_eCart/birdie_VB.asp, line 294, column 93
itmObj.TotalPrice = ((itmObj.Price * itmObj.Quantity) - ((itmObj.Quantity>6 &itmObj.category='1')?((itmObj.Quantity-6)*18):0))'w
--------------------------------------------------------------------------------------------^
Also, it does not like the character ' after itmObj.category= '1', as it comments out the last of the calculation.