Zen Follower
- Join Date:
- Apr 2008
- Posts:
- 159
- Plugin Contributions:
- 0
Show certain content for for a specific zone definition only
Hi!
Been tampering with this one for a while now, but I simply can't figure out the solution myself. I hope some kind person has a minute to spare for me :). I'm familiar with the file structure of zen cart and know tiny bits of php but... apparently not enough :).
My store is located in Sweden, and we get a lot of international orders. Some within the European Union, and some from countries outside the EU. I've obviously solved this by defining one zone for EU and another one for outside EU (to get the tax calculations right).
So for example, I'd like to show some info regarding import tax for customers outside EU only. My current "solution" would be something like this :
The link takes to you an EZ-page with info about import taxes.
I would much rather hide this line completely unless the order is actually gonna be shipped to my "outside EU" defined zone.
Or, even better, be able to show 1 specific line for the "outside of EU" zone, and another one for the "within EU" zone, and maybe a third one for my "Sweden" zone :).
I would truly appreciate some hints on how a code example for this would look like! There are several other places I want to do this as well, so it's an important matter to me. Once I've learned how to solve this one I can easily work it out myself on the other places though (at least that's what I believe) :)
Many thanks in advance!
Peter