Trying to figure out why my test shipping method i...
# support
g
Trying to figure out why my test shipping method isn't working and checkout returns
We are unable to calculate shipping rates for the selected items.
when I try to advance to the delivery step. I've searched and saw possible causes could be: - no shipping methods with calculators that match the order's currency - no shipping methods that match the shipping category of the items in the order - no shipping methods available for the order's zone I've checked the shipping method and it's assigned to the "Default" shipping category, it's assigned to the "North America" zone. I've tried both "flat rate" set to $0/"USD" and "flat percent" set to 0 (and doesn't have a currency). Checking the product, it's also assigned to the "Default" shipping category and the address I'm testing with is in North America. I'm at a loss as to what else could be missing. The only thing I can think that's different than any other shop I've worked on is that this one uses dynamic variants. That doesn't need anything else accounted for, does it?
k
I was about to suggest to check the stock for those variants, do you have enough? I’m not sure how that works with dynamic variants though
g
We do have the product set as backorderable, but this is my first go with dynamic variants and wasn't sure either so I added a few on the main product just to make sure it would cover my order. The dynamic part is the piece that has me wondering if that's the issue. Let me make a test product real quick that isn't dynamic and see if that changes anything.
👍 1
Nope, even with a normal product I get the same message.
k
that’s very strange, can you please double check that the country/state you are using are in the right zone? Maybe they are in two zones?
g
Sure thing! The test address I'm using on the order is Ohio, USA, and I've made sure that there is a zone assigned to the shipping method for "North America", I've made sure that zone includes USA. Just to check I added a state-based Ohio zone and added that to the shipping method and still didn't get any rates. And for my testing I've been disabling all other zones on the shipping method, just to test one zone at a time.
k
I’m not sure what to suggest, maybe you could spin up a fresh solidus install and try with the same configuration. At least to understand if everything is setup correctly.
Copy code
rails new test_store
cd test_store
bundle add solidus
bin/rails generate solidus:install
👍 1
g
It worked on another install, and after some more investigating it looks like it's because we're working on setting up easypost, which does some shenanigans that prevents local shipping methods from showing up. I wanted to just use a flat-rate $0 shipping, so I had those disabled while we were testing. Enabling one of the methods from easypost showed up.
I appreciate your help trying to get it sorted!
k
You are welcome, thanks for letting me know it’s sorted!
👍 1