- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 08.11.21, 09:36
- Opened by: Fran
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #22564 - Cant sort by category in "Promokit"-"Layout Builder"
Hello,
I have Alysum and when I go to the section “Layout Builder” - “Page Builder”, I have a “Product List” to show several categories that I have put in the same call “Home”.
Attachment capture (1)
It does not work, if I put ASC there are products that disappear, if I put DESC it does not order me as I have it in my Prestashop (2).
I show you my “home” (3)
I also added a “Product recommended” (4) to try to find a solution but it happens that neither shows the products nor is they ordered (5). Only 6 products.
Can you help me?
Comments
Hi, Fran.
1. you wrote that some products are disappear but I just tried to enable both orders (ASC/DESC) and everytime it shows the same quantity of product
2. Recommended products are fixed
Hi Fred,
The problem we had is that with the ASC and DESC order, different products were shown but that does not matter if the “Recommended product” has been solved.
Many thanks!
Ok, we will check that out
You are welcome!
For example, now I have a <hr> slash delimiting the two widgets, the first is fine, it is the “Fixed Recommended Product” and the second is the “Product List”(1) showing all the products of the “Home” category where the The first product is the “Patrick” and the last “MONK BUCKLE BLACK” but it does not show the order well as we have it.(2)
Can you look at it?
Attachments:
ScreenShots2.rar(105.7 KiB)I’ll try to show you how it works (display 3 products example)
It shows how products are selected to show
Ok, what we want is that in the “Product list” it is ordered as it is ordered in our prestashop.
The “home” category has an internal order in prestashop (1-1) and we want it to be ordered correctly with the selected category.
Attachments:
1-1.jpg(110.5 KiB)Where I can see product correctly ordered? Could you please give me a link?
I can show an image where they are ordered correctly(screenshot). Is that what you mean?
Attachments:
ORDER PROMOKIT.jpg(157.2 KiB)I just changed ordering way by “position, please check it out
Now it works correctly!, how have you done it?
Thanks!
just changed ordering way by “position” in the widgets code
I imagine it will be in the file “productlist.php”, can you tell me which line?
I don’t remember exactly. just search “position” word over the file
I love you :)
You are welcome!
We would be grateful for supporting our theme if you like it and our service. You could rate it here http://themeforest.net/downloads
Thank you for 5 stars!