-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get item list to product category (is product) page + pagination issue #126
Comments
@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 |
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. |
1. Get item list to product category (is product) pageUpon 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. |
@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.
(example: need to select item group = Electronic to display an item in Electronic page on Storefront)
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.
The text was updated successfully, but these errors were encountered: