Home › Forums › WoodMart support forum › Split: Problem with Fancy Product Designer Plugin
Split: Problem with Fancy Product Designer Plugin
- This topic has 7 replies, 2 voices, and was last updated 2 years, 5 months ago by Elise Noromit.
-
AuthorPosts
-
July 3, 2022 at 7:08 pm #388235
tgParticipantHello! We are facing the exact same issue. We went ahead and took the .js files (addToCartAllTypes.js and addToCartAllTypes.min.js in wp-content/themes/woodmart/js/scripts/wc) from a different site still running WoodMart 6.4.2 to have a temporary fix. But this only works if the “Combine JS files” is off. If combine is on, we still see the following error:
combine.min.js?ver=6.5.4:1 Uncaught TypeError: Cannot read properties of undefined (reading 'submitter') at HTMLFormElement.<anonymous> (combine.min.js?ver=6.5.4:1:96687) at HTMLBodyElement.dispatch (jquery.min.js?ver=3.6.0:2:43064) at v.handle (jquery.min.js?ver=3.6.0:2:41048) at Object.trigger (jquery.min.js?ver=3.6.0:2:71515) at HTMLFormElement.<anonymous> (jquery.min.js?ver=3.6.0:2:72110) at Function.each (jquery.min.js?ver=3.6.0:2:3003) at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481) at s.fn.init.trigger (jquery.min.js?ver=3.6.0:2:72086) at s.fn.<computed> [as submit] (jquery-migrate.min.js?ver=3.3.2:2:8557) at fancyProductDesigner.viewInstances.<computed>.toDataURL.format ((index):1968:19) at FancyProductDesigner-all.min.js?ver=5.3.1:8:59774 at i._initPattern (fabric-3.0.0.min.js?ver=3.0.0:1:5498) at i.__setBgOverlayColor (fabric-3.0.0.min.js?ver=3.0.0:1:67022) at i.setBackgroundColor (fabric-3.0.0.min.js?ver=3.0.0:1:66377) at FancyProductDesignerView.toDataURL (FancyProductDesigner-all.min.js?ver=5.3.1:8:59694) at HTMLFormElement.<anonymous> ((index):1964:45)
The issues seems to be caused by the change in addToCartAllTypes.js in Line 16:
WoodMart 6.4.2:
if ($productWrapper.hasClass('product-type-external') || $productWrapper.hasClass('product-type-zakeke') || $productWrapper.hasClass('product-type-gift-card')) { return; }
WoodMart 6.5.4:
if ($productWrapper.hasClass('product-type-external') || $productWrapper.hasClass('product-type-zakeke') || $productWrapper.hasClass('product-type-gift-card') || $(e.originalEvent.submitter).hasClass('wd-buy-now-btn')) { return; }
Regards,
StefanJuly 4, 2022 at 2:37 pm #388448
Elise NoromitMemberHello,
Please update the theme till the recent version and apply the patch: 388364
Find our documentation tutorial about this here: https://xtemos.com/docs-topic/automatic-patcher/
If you have any questions please feel free to contact us.
Best Regards
July 4, 2022 at 5:03 pm #388518
tgParticipantHello!
We applied the patch and cleared the Browser cache / tried in incognito mode (Google Chrome) but the error unfortunately persists:
addToCartAllTypes.min.js?ver=6.5.4:1 Uncaught TypeError: Cannot read properties of undefined (reading 'submitter') at HTMLFormElement.<anonymous> (addToCartAllTypes.min.js?ver=6.5.4:1:404) at HTMLBodyElement.dispatch (jquery.min.js?ver=3.6.0:2:43064) at v.handle (jquery.min.js?ver=3.6.0:2:41048) at Object.trigger (jquery.min.js?ver=3.6.0:2:71515) at HTMLFormElement.<anonymous> (jquery.min.js?ver=3.6.0:2:72110) at Function.each (jquery.min.js?ver=3.6.0:2:3003) at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481) at s.fn.init.trigger (jquery.min.js?ver=3.6.0:2:72086) at s.fn.<computed> [as submit] (jquery-migrate.min.js?ver=3.3.2:2:8557) at fancyProductDesigner.viewInstances.<computed>.toDataURL.format (VM13:1943:19) at FancyProductDesigner-all.min.js?ver=5.3.1:8:59774 at i._initPattern (fabric-3.0.0.min.js?ver=3.0.0:1:5498) at i.__setBgOverlayColor (fabric-3.0.0.min.js?ver=3.0.0:1:67022) at i.setBackgroundColor (fabric-3.0.0.min.js?ver=3.0.0:1:66377) at FancyProductDesignerView.toDataURL (FancyProductDesigner-all.min.js?ver=5.3.1:8:59694) at HTMLFormElement.<anonymous> (VM13:1939:45)
July 5, 2022 at 1:17 pm #388759
Elise NoromitMemberHello,
Please insert the site admin access as well as FTP into the Private content below the message area. We will take a closer look at the case.
If you have any questions please feel free to contact us.
Best Regards
July 7, 2022 at 5:37 pm #389441
tgParticipantProviding credentials.
Site is fully updated (relevant plugins +WoodMart patcher).Steps to reproduce:
1. Load sample product page
2. Select any option in “Gedenktafel-Konfigurator 30×20”
3. Click “in den Warenkorb”
4. Error will occur.Thanks,
StefanJuly 8, 2022 at 3:21 pm #389626
Elise NoromitMemberHello,
Please deactivate all the plugins except these ones:
Slider Revolution
Elementor
Woodmart Core
Contact Form 7
MailChimp for WordPress
WooCommerce
Safe SVG
Switch to the parent theme and check the issue.If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Best Regards
July 8, 2022 at 4:00 pm #389646
tgParticipantHello!
I just did this. And to no surprise the issue arises as soon as Fancy Product Designer is active – which the Javascript error message already hints at. You already released a patch (#388364) which should fix this issue, but didn’t for us.
Why are we starting at the beginning of debugging again?July 11, 2022 at 2:02 pm #390198
Elise NoromitMemberHello,
We are sorry for the delay.
Please apply patch 390080 Find our documentation tutorial about this here: https://xtemos.com/docs-topic/automatic-patcher/
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
Tagged: Problem Fancy Product designer
- You must be logged in to create new topics. Login / Register