OneStepCheckout Not Compatible with OpenMage 1.9 #3233
Replies: 5 comments 1 reply
-
which version of openmage 19 are you running? "use the latest version of prototypejs" 🤣 it was literally released a milion years ago... |
Beta Was this translation helpful? Give feedback.
-
I can change the qty of an item just fine on your page, in the checkout cart or minicart. No errors in the console.log. |
Beta Was this translation helpful? Give feedback.
-
I confirm this issue in the onepage checkout page, but we don't support 3rd party extensions. |
Beta Was this translation helpful? Give feedback.
-
anyway, these vendors... is this the "support" they give? update prototypejs? really? my. god. |
Beta Was this translation helpful? Give feedback.
-
A golden rule says not to modify something that works. In general, those who have little knowledge of programming, immediately update to a new version without checking its functionality intensively. I can personally say that I have variants that will be moved to production, where 2-3 months are expected until the "good to publish" stamp is put. In thiscase the cause may be found, but I doubt it is from the prototype.js library. He can put back a version from the last Magento and see what happens. If it works then he can find out the cause. I will move the reporting to Q&A discussions because it is not confirmed in the OpenMage checkout. |
Beta Was this translation helpful? Give feedback.
-
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
ototype.js:5265 Uncaught Error: Syntax error, unrecognized expression: div.payment-methods input[name^=payment[method]]
at Sizzle.error (prototype.js:5265:8)
at tokenize (prototype.js:5800:11)
at Sizzle.select (prototype.js:6160:20)
at Sizzle (prototype.js:4770:9)
at Object.select (prototype.js:6296:27)
at window.$$ (prototype.js:4478:29)
at :1:1
S
while testing with clean prototype.js this is perfectly valid selector and results with elements found or with [] empty array if nothing is found. If I swap out the prototypejs library to unmodified version (as openmage seems to change it ) on runtime while testing your site with devtools , then it works just as expected.
OneStepCheckout support replied also: So I suggest you to use plain prototypejs latest version and validate why openmage changes that and if it affects your site and if it is safe to use unmodified prototypejs on your site. .
Beta Was this translation helpful? Give feedback.
All reactions