Limit order to a specific state or zip code

  • Posts: 6
  • Thank you received: 0
13 years 5 months ago #16383

Is there a way to restrict registration and orders to a single state or better yet to one zip code.

Thanks in advance.

Please Log in or Create an account to join the conversation.

  • Posts: 82726
  • Thank you received: 13342
  • MODERATOR
13 years 5 months ago #16384

For the registration, you would have to build a joomla user plugin and check the address post code in your plugin.

For the orders, yes. You can turn on the option "Force shipping regardless of weight" in the config, under the tab checkout. Then, in the menu System->Shipping methods->manual shipping methods plugin, you can create new shipping methods with post code restrictions to allow all post codes except the ones you don't want. That way, during the checkout, if the system doesn't find any shipping method for the address of the user, it won't let him finish the order.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
13 years 5 months ago #16386

Thank you for the quick response to a first time Hika Shop user. I like what I see already.

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
10 years 10 months ago #138351

Hi!

Is it possible to restrict certain products from express and international shipping?

Thanks :)

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 10 months ago #138363

Hi,
Sure the best solution will probably be to :
- Use the "Use price per product" option of your shipping configuration page
- Go to your product configuration page
- Block or set a shipping price regarding the shipping method through the "Shipping prices" tab of your product configuration page.

Please Log in or Create an account to join the conversation.

  • Posts: 18
  • Thank you received: 2
9 years 11 months ago #181877

If I want to only deliver to a list of postal codes (e.g. a comma seperated list in the field "shipping_min_zip"). I would have to edit Class hikashopShippingClass, mehtod getShippings, line 152 to 177, to check if the postal code entered by the user is allowed by that shipping method, right?

Or can I do an override or something?

Last edit: 9 years 11 months ago by Head.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 11 months ago #181878

Hi,

This can be done via plugin.
Here is a plugin which is managing the zip codes in an advanced manner:
brainforge.co.uk/downloads/category/15-h...export-plug-ins.html

The following user(s) said Thank You: Head, Michal Brach

Please Log in or Create an account to join the conversation.

  • Posts: 18
  • Thank you received: 2
9 years 11 months ago #181978

Thank you. I think I can work with this.

This is the correct download address: brainforge.co.uk/downloads/category/14-h...ipping-plug-ins.html

The following user(s) said Thank You: Michal Brach

Please Log in or Create an account to join the conversation.

Time to create page: 0.106 seconds
Powered by Kunena Forum