[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Challenging tax issue


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.
_______________________________________________
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.