- Posts: 50
- Thank you received: 4
Shipping Groups / shipping exceptions
5 years 8 months ago #329823
by infinityb
Shipping Groups / shipping exceptions was created by infinityb
I've got ~150 shipping rules set up to define my UK shipping by postcode.
The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately.
What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group.
So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)
The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately.
What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group.
So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)
Please Log in or Create an account to join the conversation.
5 years 8 months ago - 5 years 8 months ago #329872
by Philip
Replied by Philip on topic Shipping Groups / shipping exceptions
Hello,
From what you explained us, we have maybe an idea to suggest follow us step by step :
1. From Main HikaShop Configuration, go to System dropdown => Zones
2. Create 2 new custom zone :
3. Define your zone type as "Shipping zones"
4. Fill in the Sub-zones part with the required zone
Later you will just have to restrict your shipping method with this 2 new custom zone.
Hope this will fit your needs.
Regards
From what you explained us, we have maybe an idea to suggest follow us step by step :
1. From Main HikaShop Configuration, go to System dropdown => Zones
2. Create 2 new custom zone :
3. Define your zone type as "Shipping zones"
4. Fill in the Sub-zones part with the required zone
Later you will just have to restrict your shipping method with this 2 new custom zone.
Hope this will fit your needs.
Regards
Last edit: 5 years 8 months ago by Philip.
Please Log in or Create an account to join the conversation.
5 years 8 months ago #329952
by infinityb
Replied by infinityb on topic Shipping Groups / shipping exceptions
Hi Philip, I did think of this but unfortunately the shipping zones don't have any configuration options for postcodes.
Please Log in or Create an account to join the conversation.
5 years 8 months ago #329955
by nicolas
Replied by nicolas on topic Shipping Groups / shipping exceptions
Hi,
The current version of HikaShop (4.4.1) has a new option "Post code RegEx" in shipping methods where you can enter a regex to match post codes:
www.regular-expressions.info/tutorial.html
So for example, you can enter: (4568|2135|9852)
and the shipping method will match with any of these three post codes.
The current version of HikaShop (4.4.1) has a new option "Post code RegEx" in shipping methods where you can enter a regex to match post codes:
www.regular-expressions.info/tutorial.html
So for example, you can enter: (4568|2135|9852)
and the shipping method will match with any of these three post codes.
Please Log in or Create an account to join the conversation.
5 years 6 months ago #332428
by infinityb
Replied by infinityb on topic Shipping Groups / shipping exceptions
Hi, RegEx is unfortunately not a viable option for UK postcodes, as this discussion shows:
stackoverflow.com/questions/164979/regex...atching-uk-postcodes
The ability to group or categorise (and use these groups to include/exclude) shipping options would be useful.
stackoverflow.com/questions/164979/regex...atching-uk-postcodes
The ability to group or categorise (and use these groups to include/exclude) shipping options would be useful.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
5 years 6 months ago #332481
by Mohamed Thelji
Replied by Mohamed Thelji on topic Shipping Groups / shipping exceptions
Hello,
If using the shipping method's options of restriction, then the last solution will be to directly develop a custom manual shipping plugin which will directly apply these restrictions in the code.
To do it, you'll just have to copy the code of the Hikashop manual shipping method and apply your restriction through the code of the "onShippingDisplay" function. For more information :
www.hikashop.com/support/documentation/6...ml#onShippingDisplay
Kind regards,
Mohamed.
If using the shipping method's options of restriction, then the last solution will be to directly develop a custom manual shipping plugin which will directly apply these restrictions in the code.
To do it, you'll just have to copy the code of the Hikashop manual shipping method and apply your restriction through the code of the "onShippingDisplay" function. For more information :
www.hikashop.com/support/documentation/6...ml#onShippingDisplay
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds