Hi,
I believe I have found an issue with saving products in EasyStore 3.0.1 on Joomla 6.1.3.
When editing a product, both Save and Save & Close do nothing. There is no visible error, no error in the browser console, and no request is sent to the server.
I did some debugging and found the following:
- The toolbar uses the correct task: product.apply
- Joomla.submitbutton('product.apply') is called and completes without throwing an error
- Joomla's normal form validation returns true
- However, the hidden task field is never set and the form is never submitted
- If I manually set the task to product.apply and submit #item-form directly, the product saves correctly
So the backend, database and product.apply task itself appear to work correctly. The problem seems to occur in the JavaScript submit/validation flow before the form is submitted.
I traced this further to EasyStore's admin.js, where EasyStore overrides/handles the Joomla submit process and performs its own validation. It appears that this validation can stop the submit process silently, even though Joomla's form validation considers the form valid.
As a test, I made a small modification to admin.js which allows the normal Joomla submit to continue in this situation. After replacing the file and clearing the browser cache, Save works again normally.
I am not suggesting that this should be used as an official fix, as bypassing part of EasyStore's internal validation may have side effects. I am only providing the modified file so you can see exactly what I changed and hopefully identify the underlying problem.
I have uploaded the test file/patch to my server. The download URL is included below as hidden content.
Thanks for taking a look!