> > On May 12, 2005, at 12:29 PM, suppressed wrote: > > > Quoting Noah Silverman <suppressed>: > > > > > >> Hi, > >> > >> I have a tricky tax situation and was hoping that someone could > >> help me out. > >> > >> We are shipping some products overseas. > >> We are using the foundation store > >> > >> The tax needs to be $2 per item PLUS 5% of the price. > >> > >> Does anybody have an idea about how to do this easily. > >> > >> Thanks in advance, > >> > >> -Noah > >> > > > > I assign all my Tax/VAT manually on the checkout page based on a > > region lookup > > in the country table, in this example all countries with region set to > > Europe-EC would get taxed at 5% + $2 and anything gets a Tax of 0. > > > > [assign salestax] > > [if type="data" term="country::region::[value country]" op="eq" > > compare="Europe-EC"] > > [assign salestax="[calc](([total-cost noformat=1]-[salestax > > noformat=1]) * > > 0.05)+2)[/calc]"] > > [else] > > [assign salestax=0] > > [/else] > > [/if] > > > > Hope that helps, > > Andy. > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > Quoting Noah Silverman <suppressed>: > Thanks, > > ALMOST what I need. > > I have to charge $2 PER ITEM plus 5% > > I would love for it to show up in the tax field. I did see that > there is a way to enter a calculation for each region's tax. I > didn't know if there was a way to say something like: > "($2*quantity) + (.05*subtotal)" > > Thanks, > > -N I misread that bit, nitems will return the number of items so just change the calc to set the tax to nitems * 2 then add 5%. Are you adding 5% to the subtotal or the total-cost though? If it is subtotal then you won't be taxing the shipping/handling. Regards, Andy. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.