chore: Removed Shopping Cart Module

- Moved all files and web templates from Shopping Cart to E-commerce module
- Made Shopping Cart module obsolete
- Moved select E-commerce related files from Portal to E-commerce module
- Minor cleanups
- Fixed Shopping Cart and Product Configurator tests
This commit is contained in:
marination
2021-02-25 13:56:38 +05:30
parent d93e3a32da
commit 31d97b43e6
45 changed files with 155 additions and 71 deletions

View File

@@ -96,7 +96,7 @@
})
});
function show_terms_and_conditions(terms_name) {
frappe.call('erpnext.shopping_cart.cart.get_terms_and_conditions', { terms_name })
frappe.call('erpnext.e_commerce.shopping_cart.cart.get_terms_and_conditions', { terms_name })
.then(r => {
frappe.msgprint({
title: terms_name,

View File

@@ -5,7 +5,7 @@ from __future__ import unicode_literals
no_cache = 1
import frappe
from erpnext.shopping_cart.cart import get_cart_quotation
from erpnext.e_commerce.shopping_cart.cart import get_cart_quotation
def get_context(context):
context.update(get_cart_quotation())

View File

@@ -5,7 +5,7 @@ from __future__ import unicode_literals
import frappe
from frappe.utils import cstr, nowdate, cint
from erpnext.setup.doctype.item_group.item_group import get_item_for_list_in_html
from erpnext.shopping_cart.product_info import set_product_info_for_website
from erpnext.e_commerce.shopping_cart.product_info import set_product_info_for_website
no_cache = 1