Spree 4.1 update
Ghaithdabash opened this issue · 3 comments
I have two issues after updating spree to the new version:
1- Uncaught ReferenceError: Spree is not defined
On Spree.url_params["locale"] = "en";
2- Deface adds_locales_bar_to_main_nav_bar is not working
Any idea why this would happen?
Thanks
I'm having the exact same issue.
So far I think it might have to do with /spree_i18n/app/overrides/spree/adds_params_to_body.rb
rendering the javascript code at /spree_i18n/app/views/spree/layouts/_add_js_params.html.erb
via Deface, which should probably be done through the asset loading chain. Still working on the fix, though.
Did you manage to work it out?
I didnt manage to work it out, i tried few things but the issue is not solved
Fixed via #844
Thank you all for reporting!