Hi, My name is Doron.
I’m getting a JavaScript error in wp-admin that breaks buttons on the WooCommerce product edit screen.
Important note:
This error existed from the beginning, when I first started working with the WoodMart theme.
Only now, when the client asked to upload product videos, I tested it properly and noticed that the media / video upload buttons do not work because of this error.
Error (see attached console screenshot):
Uncaught ReferenceError: woodmartConfig is not defined
From:
/themes/woodmart/inc/admin/assets/js/options.js
Result:
Buttons in product edit do not respond
Media / Product gallery video upload does not work
Environment:
WordPress 6.9.2
WooCommerce enabled
WoodMart theme 8.3.9
WoodMart Core active
PHP 8.1
window.woodmartConfig is undefined, which causes options.js to fail.
I’d appreciate your guidance on whether this is a known issue and how it should be fixed.
Thank you,
Doron
Attachments:
You must be
logged in to view attached files.