Replies: 1 comment 5 replies
-
Hello! The first site has a js error because of the missing This error stops all other inline js Do you have any idea why |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is Vladimir from MageMe. We have been developing the MageMe WebForms plugin and released the WebForms Breeze compatibility module over a year ago.
We also developed an add-on for the WebForms plugin which lets you replace the standard custom options of the product with the form built with our form builder on a catalog page (also has Breeze compatibility module).
The problem is that once you switch on the turbo mode some important JavaScript libraries are loaded randomly (not always) via the requirejs script like the conditional logic script and form validation on catalog pages where the form is integrated.
One of our clients has it working on staging site here (click on Gloves to see conditional logic in action):
https://staging.leathercollection.com/custom-made-leather-suit-japan-flag.html
But has problems with another store view on the same site (click on Gloves , logic is not working, js error in console):
https://stagingms.leathercollection.com/tyro-for-beginners.html
The bundles are randomly generated depending on which page of the site you are after refreshing the cache.
Is there any trick to make sure the requirejs is 100% loading the library in turbo mode?
We have made a breeze_default.xml file and it works absolutely fine without the turbo mode enabled. But once turbo is on, everything gets funky.
Thank you for your time. Looking forward to your response.
Beta Was this translation helpful? Give feedback.
All reactions