Marica
d24458ab77
fix: (ux) Add is_group=0 filter on website warehouse ( #30396 )
...
- It does not support group warehouses right now and it is misleading
2022-03-24 12:56:57 +05:30
Ankush Menat
c9dcf31cf7
test: ensure super()setUpClass is called
2022-03-23 19:46:50 +05:30
marination
f6e64c2cac
fix: Product Filters Lookup
...
- bind the right classes to the filter lookup field
- make class names more descriptive
- make filter lookup field more visible with white bg and border
- bind lookup input field js in `views.js`
- make filter lookup field functioning for atribute filters too
- added placeholder to lookup field
2022-03-21 17:58:39 +05:30
marination
8264d6b0bc
fix: Sub-Categpry Routing in Item Group Page Listing pills
...
- Use absolute route even 3-4 sub-category levels down
- Remove scroll from category pills due to accessibility issues
- Arrange sub-category pills alphabetically
2022-03-15 16:53:46 +05:30
marination
a13e06156b
fix: 'save_quotations_as_draft' checkbox not honoured
...
- Make sure `request_for_quotation` considers `save_quotations_as_draft`
- Added test for checkout disabled quote
2022-03-10 13:54:00 +05:30
marination
3507cf5985
test: Test include_descendants in Item Group Product Listing
...
- Also made include_descendants field's visibility dependant on show_in_website
2022-03-09 13:50:24 +05:30
marination
b2755f6fdd
feat: Include child item group products in Item Group Page & cleanup
...
- Added 'Include descendants' checkbox, which will pull child item group products too
- Build item group filters in query engine file
- Include logic in filter engine
- Clean up Website section of Item Group page (UX)
- Add util to fetch child item groups including self
2022-03-07 13:02:08 +05:30
Ankush Menat
b0d1e6db54
test(refactor): use FrappeTestCase
2022-02-28 17:23:32 +05:30
Marica
e8e9bc4daa
Merge pull request #29733 from dj12djdjs/fix-user-unique-cart
...
fix(e-commerce): Unique Shopping Cart Per Logged In User
2022-02-25 16:35:14 +05:30
Ankush Menat
9c7df2eec5
fix: ignore duplicates explicitly
2022-02-23 14:27:45 +05:30
marination
29c576e144
chore: Remove commented out code
2022-02-16 12:41:39 +05:30
Devin Slauenwhite
49bee568a1
fix: get cart items for logged in user.
2022-02-09 12:03:05 -05:00
Devin Slauenwhite
34ad5b1abf
fix: get cart for logged in user.
2022-02-09 10:53:24 -05:00
Devin Slauenwhite
d636c3fb04
test: many users linked to customer shopping cart
2022-02-09 10:52:38 -05:00
marination
4f5a0b8941
chore: Fix flaky test test_exact_match_with_price
...
- Clear cart settings in cache to avoid stale values
2022-02-08 12:02:02 +05:30
marination
a64228741d
fix: Trim spaces from attributes (multi-variant creation) & explicit method for building cache
...
- Multiple Item Variants creation fails due to extra spaces in attributes from popup. Clean them before passing to server side
- Mention explicit method to build variants cache to avoid ambiguity between old method path (pre-refactor)
2022-02-08 11:15:19 +05:30
marination
26bd3053d1
perf: Weed out disabled variants via sql query instead of pythonic looping separately
...
- If the number of variants are large (almost 2lakhs), the query to get variants and attribute data takes time
- If the no.of disabled attributes is large as well, the list comprehension weeding out disabled variants takes forever
- We dont need to loop over the variants data so many times
- Avoid any `if a in list(b)` is best when the iterables have tremendous data
2022-02-04 17:38:20 +05:30
marination
4b62d2d7fe
fix: (Linter) Write queries using QB/ORM and other minor lines for semgrep to skip
2022-02-02 12:58:31 +05:30
marination
2933cf243a
fix: Failing test, sider and linter
...
- Remove unused imports
- fix test `test_product_list_attribute_filter_builder`
2022-02-01 12:08:33 +05:30
marination
1d7f313b92
debug: CI
2022-02-01 11:12:05 +05:30
marination
00752ca01d
fix: Wrong variable name breaks Cart Items rendering
2022-02-01 11:11:58 +05:30
marination
143ff715e7
fix: (test) set user for price test
2022-02-01 11:11:38 +05:30
marination
606f23b667
fix: Sider and Linter
2022-02-01 11:11:29 +05:30
marination
4f7ec25bbe
tests: Variant without web item price fetch and add to cart
...
- Also, optionally get image from template web item for cart if variant has no image
2022-02-01 11:11:18 +05:30
marination
47c8ad0b94
fix: Cart Logic of Item variant without Website Item
2022-02-01 11:11:11 +05:30
marination
f2fbe9049f
fix: Server Side test - teardown correctly
2022-02-01 11:10:04 +05:30
marination
2623046ba7
test: Variant Selector - Fetch next valid Attribute values fetching after selection of one
2022-02-01 11:09:46 +05:30
marination
5a462db207
test: Variant Selector - Attribute Value fetching
2022-02-01 11:09:35 +05:30
marination
6c7b3026c9
fix: Behaviour if Item Variants Cache generation
...
- Revert to old behaviour where variant doesnt need to be published
- Delete unused functions
2022-02-01 11:08:30 +05:30
marination
20c71edc84
fix: Exclude unpublished items while fetching items from other item groups
2022-02-01 11:07:53 +05:30
Devin Slauenwhite
49cdf9b7b0
fix(e-commerce): shopping cart total quantity ( #29076 )
...
* fix: shopping cart total quantity
* fix: linter error
2022-02-01 11:06:33 +05:30
marination
456f27724c
fix: Convert Item links to Website Item links in Item Card Group template data
...
- Changed link option to Website Item in Item card group template
- patch to convert pre-existing data
2022-02-01 11:02:48 +05:30
Devin Slauenwhite
262fcbd9fb
fix(test): e-commerce fetch logged-in user item price.
2022-02-01 11:00:37 +05:30
Devin Slauenwhite
18e70e8229
test: e-commerce customer pricing rule
2022-02-01 11:00:28 +05:30
Dany Robert
d4c74b546d
fix: no module named 'redisearch' ( #28818 )
...
* chore: rename file to avoid the overriding
* fix: rename ref #1
* fix: rename ref in e_commerce_settings
* fix: rename ref in product_search.py
* chore: rename rsearch.py to redisearch_utils.py
* chore: rename rsearch to redisearch_utils in product_search
2022-02-01 10:58:18 +05:30
marination
02d92070be
fix: search_box_id instead of search_box_class
2022-02-01 10:55:37 +05:30
marination
6583a83dd3
fix: Sider (missing semicolon)
2022-02-01 10:55:27 +05:30
marination
f63f250630
feat: Allow addition of custom search box
...
- allow passing custom search box class to bind search actions on
- this allows users to inject and get a custom search box running on any page
2022-02-01 10:55:05 +05:30
marination
7bc087ed44
fix: Merge conflicts, Linter and Server Test
...
- Resolve inconsistency due to conflict with https://github.com/frappe/erpnext/pull/27050
- Resolve Linter issues (imports and spaces)
- Include customer_reviews.js in bundle, move it to /public/js
2022-02-01 10:51:50 +05:30
marination
9fb61efba8
chore: Fix imports and formatting (linter) & Sider (unused import)
2022-02-01 00:54:54 +05:30
marination
b2b827f50f
chore: Adjust to ESbuild and missing imports
...
- update erpnext web bundle and tweak to fit new build system
- change page id in scss due to change in v14 router
- add missing imports
2022-02-01 00:03:08 +05:30
marination
d7d70ec9e0
fix: Fetch thumbnail from Item master instead of regenerating
2021-11-16 17:52:14 +05:30
marination
296f2f6d52
fix: Pre-commit formatting
2021-11-16 17:51:16 +05:30
marination
ba52d7c23f
fix: Website Items with same Item name unhandled, thumbnails missing
...
- Use naming series for Website Item. There could be two items with same name and different item code
- Fix: Website Item Page view breaks if cart is disabled
- Fix: thumbnails not created for Website Items after patch
- Fix: ‘Request for Quote’ button & cart summary not visible if checkout is disabled
2021-11-16 17:51:01 +05:30
Marica
d637f79517
fix: Handle is_search_module_loaded
for redis version < 4.0.0 ( #27574 )
...
- Return False if error occurs
2021-11-16 17:48:31 +05:30
Marica
4096b1471f
fix: Shopping Cart and Variant Selection (Hotfix PR #27508 )
2021-11-16 17:46:57 +05:30
Deepesh Garg
cbfdbd8442
fix: Website item patch fixes
2021-11-16 17:42:04 +05:30
marination
685c453be0
test: Product Discounts
2021-11-16 17:40:49 +05:30
marination
942dedddb4
fix: Paging and Discount filter
...
- Convert incoming api args to frappe dict
- Change discount filter condition due to reversal of behaviour
2021-11-16 17:40:05 +05:30
marination
78b791cd1d
test: Set Price list and company in data engine test setup
2021-11-16 17:38:25 +05:30