chore: Re-organise files,remove T&C modal in cart

- Moved product query and filters engine to `product_data_engine` folder
- Moved product grid, list, search, view to `product_ui` folder
- Renamed `website_item_indexing.py` to `redisearch.py`
- Render Terms and Conditions server side along with the rest of the Shopping cart. Don’t make another db call
- Style changes to terms and conditions
- Deleted unused `cart_terms.html`
- Removed print statements
This commit is contained in:
marination
2021-08-12 19:01:10 +05:30
parent 78ee51c6ca
commit 335a237383
19 changed files with 61 additions and 81 deletions

View File

@@ -10,11 +10,7 @@ from frappe.utils.nestedset import NestedSet
from frappe.website.utils import clear_cache
from frappe.website.website_generator import WebsiteGenerator
from six.moves.urllib.parse import quote
from erpnext.e_commerce.filters import ProductFiltersBuilder
from erpnext.e_commerce.product_query import ProductQuery
from erpnext.utilities.product import get_qty_in_stock
from erpnext.e_commerce.product_data_engine.filters import ProductFiltersBuilder
class ItemGroup(NestedSet, WebsiteGenerator):
nsm_parent_field = 'parent_item_group'