Open chomchuen opened 5 months ago
@the listing have to be done in three back end mot front end here, even when we sort by category, then we push back the chucked item list to the front sorted, and we change page on navigation we have to keep the same sorting
@John-zaviago
we have two options when we give the list of items to the front, we can get all items from the category selected and the items from its sub category, or give multiple category to the item on creation, like its category and all parents category then update the filter when we make the call. First option keeps the same data base architecture but second option seems more scalable for bigger call.
@umer2001 - related to #77 please take over backend part.
@John-zaviago & @chomchuen
Upon inspecting the webshop code, I got to know if we check the Include Descendants option that is available in Item Group doctype the problem related to Items of child Item groups not visible gets resolved.
@umer2001 I've already checked this option, but it still doesn't work. The 'Electronic' (which is parent category) category isn't showing items in its child categories.
Do I need to wait you or Adam for fixing something else?
@chomchuen , I have tested the API through Postman and it works, now need to check from the frontend code which I don't have the latest version!
@AnatholyB1 can you tell me where can I get the latest storefront code?
so you hit webshop or e_commerce_store api ?
if e_commerce_ctore, its in zaviago company
if webshop ask @deviljutt to merge the code in the server -> app.hosting into the company repo @umer2001
1. Get item list to product category (is product) page
Current scenario.
However, item group is in the hierarchy structure so I need you to change condition to get the item to each item group on Storefront like the image below.
2. Pagination Issue
2.1 Product in Phone item group has 2 items but now 1st one is in the 1st page and 2nd is in the 4th page. So, move it to be in the same page.
2.2 All item counting, this number should be number of items in current item group not number of all products in the Store.