Merge pull request #29625 from frappe/fix-web-portal

fix: Load control & dialog assets with `cart.js`
This commit is contained in:
Marica 2022-02-03 22:04:33 +05:30 committed by GitHub
commit 4d5749ba7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,6 @@
import "./website_utils";
import "./wishlist";
import "./shopping_cart";
import "./cart";
import "./customer_reviews";
import "../../e_commerce/product_ui/list";
import "../../e_commerce/product_ui/views";

View File

@ -1,9 +1,7 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
// js inside blog page
// shopping cart
// JS exclusive to /cart page
frappe.provide("erpnext.e_commerce.shopping_cart");
var shopping_cart = erpnext.e_commerce.shopping_cart;