-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checkout fields not showing with minified/bundled version #77
Comments
…nd this.settings are defined
@marceldekoning I'm afraid I don't have any news on this issue. Did you try my changes in my pull request? Do you have Javascript errors in the console? |
Great to hear that @marceldekoning and really nice of you for creating a patch! 🙏 Good to know my PR is also fixing your issue. @JerrySmidt what do you think? |
Magento 2.4.6 with minified and Magepack-bundled files seems to work without any errors on release 3.1.9. Is there anything else needed to reproduce this issue? Could you provide more info on how exactly to reproduce this issue (e.g. any other settings, modules etc that affect this)? Otherwise we can't test for this issue and a future module version could have the same issue again. Thanks for your efforts. |
Thank you for your reply @JerrySmidt . Did you test it with the onestep checkout module from onestepcheckout-dot-com? |
@Paulsky, no I don't have that module, But assuming you have it, could you check with onestepcheckout-dot-com disabled to see if you still get the error? |
@JerrySmidt I will check it. But could you have a look at my PR. It's mostly only checking if some variables are set or not. @marceldekoning are you also using OneStepCheckout from onestepcheckout-dot-com? |
No, I'm not using OSC, but just the native checkout with Magento 2.4.5-p1. I did not test this on 2.4.6 tho. |
Thanks @marceldekoning. @JerrySmidt FYI: the screenshots in #72 (comment) seems to show the same problem (this.settings is undefined). |
This issue still persists using version 3.1.11 on Magento 2.4.6-p2 without minified/bundled JS, but only the first time after the cache has been cleared. |
See #72 (comment) |
When I enable minify and bundling (with magepack), Javascript errors are thrown and the checkout fields fail to load:
Cannot read properties of undefined (reading 'show_hide_address_fields') house-number-select.js line 18
Cannot read properties of undefined (reading 'setOptions') address-autofill-nl.js line 171
I suspect (not sure!) this is related to: #59
The text was updated successfully, but these errors were encountered: