• Resolved hameedfarah

    (@hameedfarah)


    Hi
    I have created shipping classes and want to disable a particular shipping class for a particular zone.
    As I read I should simply put an empty value (N/A) for the cost and that should disable it but that’s not happening.
    Please help

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hameedfarah

    (@hameedfarah)

    Here is a sample of the settings for one of the zones
    https://paste.pics/EXE9P

    Hi, @hameedfarah !

    Have you checked already this documentation?

    https://woocommerce.com/document/flat-rate-shipping/

    If you do and it doesn’t help, please reply providing more details of what you want to achieve to be able to assist you further.

    I hope it helps. Let us know.

    Thread Starter hameedfarah

    (@hameedfarah)

    Thank you for that.
    Yes I did read them (and many forum posts as well! :))
    Here is what I want to achieve

    I have 2 shipping classes, one is “Inside Jordan” that is used for products that only ship locally,
    “Outside Jordan” for products that only ship internationally
    The way I set it up is that all products have no shipping class except those that I want to limit, (Either local shipping on international shipping)

    I also set up 2 shipping Zones, Local shipping and international shipping (the first only applies to Jordan and the other to everywhere else)
    https://paste.pics/EXE9P This is how the international shipping zone is set up.
    It has a price for products with no shipping class and for products with international shipping class. But the cost for local shipping is left empty.

    The idea is when a customer selects a product which don’t have “Inside Jordan” shipping class and chooses to ship it to USA there should be an error and prevent the user from completing checkout.

    It should display “No shipping method was found” but for some reason that’s not happening. Any idea why?

    Hi @hameedfarah

    The idea is when a customer selects a product which don’t have “Inside Jordan” shipping class and chooses to ship it to USA there should be an error and prevent the user from completing checkout.

    There isn’t a built-in way to prevent specific products from being shipped based on customer’s address. But this can be achieved by using a conditional shipping plugin such as below:

    https://woocommerce.com/products/conditional-shipping-and-payments/
    https://wordpress.org/plugins/conditional-shipping-for-woocommerce/

    I hope it helps.

    Thread Starter hameedfarah

    (@hameedfarah)

    Please explain this to me…
    If a shipping class has no price attached to it (not zero but empty), what’s supposed to happen when that’s the only available shipping option in checkout?

    Hi @hameedfarah

    If there is no shipping class cost applied, the shipping cost will revert to the base, default amount.

    Link to image: https://snipboard.io/cuKAmH.jpg

    Here is how it looks like on the cart page:
    Link to image: https://snipboard.io/L9g6a2.jpg

    Hi @hameedfarah

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Connecting Shipping classes and Shipping Zones’ is closed to new replies.