frappe / webshop

Open Source eCommerce Platform
GNU General Public License v3.0
105 stars 117 forks source link

How to override the JS and HTML file under webshop application #188

Open prasanth1166 opened 3 months ago

prasanth1166 commented 3 months ago

Hello @all,

We have few customization's we require on list.js, grid.js and in order.,html which comes under webshop application.

How to override and make the required changes according to the requirement?

Anyone tried or anyone who did can help us in overriding the custom changes for webshop application.

Regards, Prasanth

prasanth1166 commented 2 months ago

any clue @Nihantra-Patel

Nihantra-Patel commented 2 months ago

reference: https://discuss.frappe.io/t/overriding-a-js-file/128361/5?u=ncp

prasanth1166 commented 2 months ago

Thanks for instant reply

Here the JS file was from Webshop application not from Frappe/Erpnext

Nihantra-Patel commented 2 months ago

Concept is same. you can also check the lots example in the India-compliance!

prasanth1166 commented 2 months ago

Yes I have followed the same concept image Override file was created but still it was calling to the standard file

Hooks file reference

image