
WooCommerce Shipping zone issue
- or -
Post a project like this1894
$30
- Posted:
- Proposals: 5
- Remote
- #3036105
- Awarded
Description
Experience Level: Entry
Hi,
*PLEASE READ FIRST BEFORE APPLYING - NO TIME WASTERS PLEASE*
I have a custom theme which is using the WooCommerce plugin, the shop sells over 400 products.
We have 4 different shipping zones depending on distance to calculate the shipping cost, some of the products can't be sold when the 4th shipping zone is applied.
We have setup shipping classes for these four categories and the products have been assigned to these classes, when a user orders only that item and falls within the 4th zone and goes to checkout WooCommerce gives an error and doesn't allow them to checkout which is correct, however when the user adds a second item to the cart which is allowed to be shipped to the 4th Zone it still allows them to checkout which shouldn't be the case.
I need to get this programatically sorted, so I'd need a hook for WooCommerce that checks the zone and then loops through the cart items to see if an item of those classes is added, if that's the case and the zone is the 4th it should throw a message and stop the user from placing the order.
*PLEASE READ FIRST BEFORE APPLYING - NO TIME WASTERS PLEASE*
I have a custom theme which is using the WooCommerce plugin, the shop sells over 400 products.
We have 4 different shipping zones depending on distance to calculate the shipping cost, some of the products can't be sold when the 4th shipping zone is applied.
We have setup shipping classes for these four categories and the products have been assigned to these classes, when a user orders only that item and falls within the 4th zone and goes to checkout WooCommerce gives an error and doesn't allow them to checkout which is correct, however when the user adds a second item to the cart which is allowed to be shipped to the 4th Zone it still allows them to checkout which shouldn't be the case.
I need to get this programatically sorted, so I'd need a hook for WooCommerce that checks the zone and then loops through the cart items to see if an item of those classes is added, if that's the case and the zone is the 4th it should throw a message and stop the user from placing the order.
Ali M.
100% (12)Projects Completed
10
Freelancers worked with
9
Projects awarded
31%
Last project
21 Jun 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-

Can you provide me the Site Link so i can have a look at it ?
Ali M.16 Oct 2020Sure it’s
Nicefoodonline.comTech Holding Inc.16 Oct 2020Thank you, let me go through the Link and see what is the issue.
951811
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies