[Skip to main content](#vessel-content)

#   Restricting Buying to Canada And US +

##

- **[QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")**
- [![QureshiMo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38203-qureshimo "View QureshiMo's Profile") Topic Author
- [ Offline](/forum/user/38203-qureshimo)

Less More

- Posts: 54
- Thank you received: 0
-
-

11 years 3 months ago [\#211827](#211827) by [QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")  *[Restricting Buying to Canada And US +](/forum/4-how-to/878820-restricting-buying-to-canada-and-us#211827 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m  Hello:  How can I restrict a user to enter addresses with Canada and U.S?  Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.  Thanks, &gt;&gt;")* was created by *[QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.12
-- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m

Hello:

How can I restrict a user to enter addresses with Canada and U.S?

Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.

Thanks,
&lt;&lt;&lt; Ali &gt;&gt;&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3ODgyMC1yZXN0cmljdGluZy1idXlpbmctdG8tY2FuYWRhLWFuZC11cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#211832](#211832) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Restricting Buying to Canada And US +](/forum/4-how-to/878820-restricting-buying-to-canada-and-us#211832 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m  Hello:  How can I restrict a user to enter addresses with Canada and U.S?  Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.  Thanks, &gt;&gt;")*

Hi,

You can use Zone restrictions for your shipping methods and the setting "force shipping regardless of the weight".
So if there is no shipping method available for the zone, the checkout won't be able to be completed.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3ODgyMC1yZXN0cmljdGluZy1idXlpbmctdG8tY2FuYWRhLWFuZC11cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")**
- [![QureshiMo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38203-qureshimo "View QureshiMo's Profile") Topic Author
- [ Offline](/forum/user/38203-qureshimo)

Less More

- Posts: 54
- Thank you received: 0
-
-

11 years 2 months ago [\#213456](#213456) by [QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")  Replied by *[QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")* on topic *[Restricting Buying to Canada And US +](/forum/4-how-to/878820-restricting-buying-to-canada-and-us#213456 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m  Hello:  How can I restrict a user to enter addresses with Canada and U.S?  Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.  Thanks, &gt;&gt;")*

Hello:

Thanks for the reply ....

The other question is how can I present tax based on the GeoLocation Id of the visitor. Currently, the tax is displayed after the user enters his/her address?

Is there a document regarding the format of the geolocation information returned and how can I access within my site?

Thanks,
&lt;&lt;&lt; Ali &gt;&gt;&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3ODgyMC1yZXN0cmljdGluZy1idXlpbmctdG8tY2FuYWRhLWFuZC11cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 2 months ago [\#213458](#213458) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Restricting Buying to Canada And US +](/forum/4-how-to/878820-restricting-buying-to-canada-and-us#213458 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m  Hello:  How can I restrict a user to enter addresses with Canada and U.S?  Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.  Thanks, &gt;&gt;")*

Hi,

You can do that with the geolocation plugin:
[ www.hikashop.com/support/support/documen...hop-geolocation.html](http://www.hikashop.com/support/support/documentation/76-hikashop-geolocation.html)
The current country of the user arriving of the website will be set automatically by the geolocation plugin so the user with see the taxes to be applied to his country based on how you configured your tax rules.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3ODgyMC1yZXN0cmljdGluZy1idXlpbmctdG8tY2FuYWRhLWFuZC11cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")**
- [![QureshiMo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38203-qureshimo "View QureshiMo's Profile") Topic Author
- [ Offline](/forum/user/38203-qureshimo)

Less More

- Posts: 54
- Thank you received: 0
-
-

11 years 2 months ago [\#213545](#213545) by [QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")  Replied by *[QureshiMo](/forum/user/38203-qureshimo "View QureshiMo's Profile")* on topic *[Restricting Buying to Canada And US +](/forum/4-how-to/878820-restricting-buying-to-canada-and-us#213545 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m  Hello:  How can I restrict a user to enter addresses with Canada and U.S?  Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.  Thanks, &gt;&gt;")*

Hello:

Thanks for the help.

I will need more than country information.

We, in Canada, have different taxes in different provinces. What I want is that if a visitor is coming from Province of Alberta, I how Alberta taxes and if the visitor is from Ontario, then Ontario taxes. Please note that the site I am working on is for Canada and US.

Beside the country, what other information is returned by the plugin and how can I access this information from within my site?

Thanks,
&lt;&lt;&lt; Ali &gt;&gt;&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3ODgyMC1yZXN0cmljdGluZy1idXlpbmctdG8tY2FuYWRhLWFuZC11cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 2 months ago [\#213575](#213575) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Restricting Buying to Canada And US +](/forum/4-how-to/878820-restricting-buying-to-canada-and-us#213575 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Chrome Version 44.0.2403.155 m  Hello:  How can I restrict a user to enter addresses with Canada and U.S?  Currently, I have setup tax based on the zone. For example, Ontario (Canada) has 13%. This tax shows up only after the user enters the address. What I like to do is to present the taxes based on Geolocation id of the user.  Thanks, &gt;&gt;")*

Hi,

There is no option to do geolocation at the state level, only at the country level as the geolocation services we integrate with (which are free to use), do not offer that information.
A custom plugin would be necessary in that case.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3ODgyMC1yZXN0cmljdGluZy1idXlpbmctdG8tY2FuYWRhLWFuZC11cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
