1

I've set up a shipping method/zone purely for testing but it doesn't show up during checkout. :/

I created a shipping zone only for the state of Oregon:

enter image description here

And for the shipping method there's just ONE rule with the ONLY condition being that the shipping zone is Oregon:

enter image description here

Here's the code I have for the shipping page of the checkout process: http://d.pr/n/fizP

Finally, when I go through the checkout process, I make sure that my shipping address uses Oregon as the state. I've confirmed this by using this on the shipping page (not seen in the code above): {{ cart.shippingAddress.state }}

What am I missing??

  • I'd first check if the shipping method works with the test templates included with Commerce...if it comes up there, but not your own, it's a template issue. If it doesn't come up there, it points to a set up issue (perhaps something about the products in your cart that stops it being an available method?) – Jeremy Daalder Nov 23 '16 at 4:48
  • Hi Angie, I just tried to reproduce the same shipping method, zone and rule, and was able to have the shipping method show up on the front end. Silly question, but can you confirm the rule and method are 'enabled'? – Luke Holder Nov 23 '16 at 4:50
  • Figured it out - the country wasn't being set. :/ – Angie Herrera Nov 29 '16 at 4:01
1

My issue was that the country wasn't being set properly. Since we're only shipping to the US, I had mistakenly commented out my hidden input for the country field.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.