Jump to content

Show Taxes (including / excluding) by Country


Recommended Posts

Hi guys,

 

I have been playing around with this for days now and I don't get it running!!!! HELP!!

 

MY GOAL

- I sell to 2 different contries:

-> USA: 0% VAT

-> FRANCE: 19% VAT

- For example: I want those prices to show in the Front-End:

-> USA: 10$ ( including 0% VAT )

-> FRANCE: 10€ (including 19% VAT)

- I WANT TO USE THE FLAGS (french, usa) to SWITCH between both COUNTRY-MODES.

 

 

This is how I currently have each product set up:

- TAX RULE (assigned to ALL products)

-> 19% VAT in Europe

-> 0% in USA.

- Product / individual PRICE DEFINITION (per Product)

-> Country: France -> 8.40 (excluding VAT)

-> Country: USA -> 10.00 (excluding VAT)

 

THE FLAG-SWITCH

As I only sell to 2 contries I want to use the "Flags" to switch betwen the VATS / Price-displays.

 

Right now I am using the following code in a module

				
// French Flag
$cookie->iso_code_country = "FR";
$cookie->id_currency =  1;

 

THE PROBLEM

The problem is that prices are shown EXCLUDING TAXes. Which means: If i am in "FRENCH MODE" the shown final-price is 8.40€ (excluding vat). BUT I WOULD LIKE THE FRONT-END TO SHOW 10€ (including 19% VAT).

 

Any ideas how to solve this issue?

Rassy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...