Can We Remove The Js File Called In Easystore And Call Our Custom Js File For Customization - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Can We Remove The Js File Called In Easystore And Call Our Custom Js File For Customization

A

Amvimedia

EasyStore 9 months ago

Is it possible to remove the cart.site.js file from the core files and replace it with our custom JavaScript file for further customization? Since overriding the model files is not an option, we aim to write custom logic to fetch and display records dynamically on the cart page, checkout page, and order details page.

The cart.site.js file is loaded from the joomla.assets.json file located in the media directory. Can we remove this default JavaScript file and replace it with our custom file? Additionally, will this modification persist, or will the joomla.assets.json file and the cart.site.js file revert to their default state during an EasyStore update?

0
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 9 months ago #179137

Hello Amvimedia

Sorry, it is not possible to customize JavaScript and preserve it. You can change the file but after each EasyStore update, it will be overriden. So, you have to update the file again after each update.

Best regards

0