Try ERPNext Buy Support Partners Foundation Foundation Members

Customizing Shopping Cart

I have done some customization in the shopping cart which involved updates in cart.js, cart.py and cart.html and also added new HTMLs. Can these changes accomodated in a custom app?

Hello @jithendra,

You can override the file using hook.py. Please refer the below example.

override_whitelisted_methods = {
“erpnext.templates.pages.cart”: “[Custom app path for cart file]”,
}

Thanks.

@Solufy, does override_whitelisted_methods works for you in v12?