View Full Version : Tax and nontax
stevesmith373400
04-14-2009, 01:55 PM
Can anyone guide me as to how to set the cart up if some items are taxed and others aren't. In my products table I have a column with yes or no if the item is to be taxed. I thin I would like to do this as a server side calculation but the eCart help and calculations help are not very helpful. Does anyone know how to do it and where in the cart to put it?
Thanks
Ray Borduin
04-14-2009, 02:02 PM
I would add a column to the cart called "Taxable"
Then set its value to either 0 or 1 if it is taxable.
Then create a calculation:
TotalTaxable = [TotalPrice] * [Taxable]
Then you can create a tax charge based on the total of that calculated column.
stevesmith373400
04-14-2009, 02:45 PM
So when you add the column to the cart, what do you set the output type as?
Ray Borduin
04-14-2009, 02:58 PM
A Number or integer since it will be zero or one.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.