Hi, we are using solidus_core (2.11.17), and for s...
# support
g
Hi, we are using solidus_core (2.11.17), and for some reason, we continue getting the following error at checkout (Stage: address): "We are unable to calculate shipping rates for the selected items." We created zone, shipping methods, and shipping categories and assigned those to the products we tested. Similar as presented in this YouTube video:

https://www.youtube.com/watch?v=nWFkToYQjd8

We also came across this post, apparently addressing this issue, but clearly, it doesn't solve our issue: Problem: https://github.com/solidusio/solidus/issues/3315 Apparent solution: https://github.com/solidusio/solidus/pull/3130 Does anyone experience this issue and has a solution to it? Thank you!
Here a screenshot of the error:
c
Hey @Georg Keferböck 👋 One thing that may be helpful to know here is if you have a similar scenario as mentioned in 3315 where you are checking out with multiple products, each with a different shipping category, and if you have different shipping methods set for each of those categories. Additionally you mentioned you are running Solidus 2.11.17, it would be good to know if you have made any modifications to the shipping code or if you are running with a mostly stock Solidus install. If you have modified anything in that area of the codebase it may be useful to check if the issue exists in a vanilla sandbox store on the same version of Solidus as you are running.
e
I've seen this behavior with different currencies, products in CAD for example and shipping rates in USD, just make sure everything is in the same currency
g
Thank you so much for the response @Chris Todorov 1) No I am checking out with a single product, therefore there is only one shipping category. 2) I have not modified the shipping code at all. I am currently only made changes to the settings itself. I did read the user guide, and I feel that I had configured the store correctly (apparently not tough). 3) I am setting up a vanilla sandbox store as we speak. The only difference of the current setup to a vanilla installation is that I will not be installing the following gems:
# <https://github.com/solidusio/solidus_stripe>
gem 'solidus_stripe'
# <https://github.com/solidusio-contrib/solidus_volume_pricing>
gem 'solidus_volume_pricing'
# <https://github.com/solidusio-contrib/solidus_sitemap>
gem 'solidus_sitemap', github: 'solidusio-contrib/solidus_sitemap'
# <https://github.com/boomerdigital/solidus_user_roles>
gem 'solidus_user_roles', github: 'boomerdigital/solidus_user_roles'
# <https://github.com/solidusio-contrib/solidus_globalize>
gem 'solidus_globalize', github: 'solidusio-contrib/solidus_globalize'
# <https://github.com/solidusio/solidus_i18n>
gem 'solidus_i18n'
gem 'rails-i18n'
gem 'kaminari-i18n'
# <https://github.com/magma-labs/solidus_simple_dash>
gem 'solidus_simple_dash', github: 'magma-labs/solidus_simple_dash'
# <https://github.com/solidusio-contrib/solidus_sale_prices>
gem 'solidus_sale_prices', github: 'solidusio-contrib/solidus_sale_prices'
# <https://github.com/solidusio-contrib/solidus_easypost>
gem 'solidus_easypost'
Thank you for your input @Edwin Cruz! I changed the currency to GBP. I checked and it is consistent across all areas (product, shipping, taxes, default currency). Unfortunately that doesn't appear to be the issue.
@Chris Todorov - vanilla installation (same version) with sample store works just fine. I will replicate the example shop (in terms of settings) and see if I find the issue.
🎉 1
c
That’s a great start and it would be helpful to understand which setting is causing this behaviour!
g
@Chris Todorov I replicated the settings, I also got rid of all additional gems, there is no customisation, and I experimented with the currency - unfortunately it didn't solve the problem.
@Chris Todorov It turns out, it works with USD, but it doesn't work with GBP
I manually changed any USD currency (every column) in the database to GBP, and I set the default currency in the initialiser to GBP
Now the checkout stopped working
I tested it in various ways - I submitted the bug. Although, am I the first person who is building a store in the UK? That would surprise me ...
👍🏼 1
m
Hi Georg, I'm having a similar issue with EUR currency. Did you eventually find a solution?
e
I'd add a
binding.irb
over here and see what's missing
m
I do not have a
estimator.rb
file. I can see it's in the Solidus backend but I don't have access to it from my starter frontend installation in VS code. How can I add the
binding.irb
plase ?
e
EDITOR=code bundle open solidus
assuming that you have
code
command already setup in your computer edit the file, then restart your rails server
m
Amazing, thank you so much for your help Edwin! 🙌
👍 1