In Summary - I have installed an extension, refreshed on the modification page and changes made to product_form.twig are not showing in admin.
Details and checks:
1) install.xml mods to product_form.twig were successfully applied according to the log
2) the mods have been applied correctly in the storage area to {{storage}}/modification/admin/view/template/catalog/product_form.twig
3) if I overwrite /admin/view/template/catalog/product_form.twig with the version in storage/modification... it works fine
So, something is causing Opencart to continue using the unmodified version, even though is has correctly created a modified version.
Best wishes
Lozza
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
It would surprise me that the Theme Editor can also modidy admin templates ..
For catalog templates see this https://github.com/opencart/opencart/pull/8925
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Sorry, yes, you are right, the theme editor only does it for frontend templates.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Ran yesterday into that "trap".
Simply replace the modification.xml with that here and it works:
https://github.com/opencart/opencart/bl ... cation.xml
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Really .. still after that long time we both are here?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Momentum level.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thank you all for your replies and sorry I took so long to read them!!OSWorX wrote: ↑Tue Nov 24, 2020 8:43 pmSimply replace the modification.xml with that here and it works:
https://github.com/opencart/opencart/bl ... cation.xml
The issue has been resolved by replacing the modification.xml - thank you OSWorX.
Best wishes
Lozza
Thanks for confirming Lozza, Kindly add word [SOLVED] in beginning of your post title.
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
Users browsing this forum: No registered users and 27 guests