- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 31.10.20, 08:49
- Opened by: Sylvain Duval
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #19636 - Lookbook for active products
Hello,
I’m using the lookbook on my website https://augresdesbois.com
Problem is that to chose a product for a book, both active and inactive products display.
Is there a way to show only active product to make the choice easier and avoid error 400.
Thanks,
Regards
Comments
Do you mean back office Lookbook settings?
Yes, in the backoofing I’d like to see only active products when I select a product for my lookbook.
I need access to your server through FTP, current credentials doesn’t allow to connect
Yes sorry, now you can. I updated infos
Please, note that site URL is not http://beta.augresdesbois.com anymore, it is now : https://augresdesbois.com
please test it out now
Sorry, not yet
Now it should work
Nothing has changed : see screen print.
I’d like the product list on backoffice lookbook to display only active products and if possible by alphabetic order A to Z.
it works for me locally.
do you have enabled Opcache module in your server configuration?
I asked my host, yes it is enabled
you have to clear it’s cache or disable it’s for some time
It’s done, but still the same for back office Lookbook
do you want to exclude these products? https://take.ms/Xv3aT
yes exactly
but as I can see it works correctly https://take.ms/UuEgN
And could you sort it by A-Z instead of product creation date please ?
I just made a modification in the file /modules/pklookbook/classes/LookbookDb.php in the lokris.net server but nothing is changed in the back office
The FTP is fully administrable.
Could you send me the modification you tried to do so I can do it and check if it’s Ok ?
Hi, Sylvain.
Upload attached file to the folder /modules/pklookbook/classes
The is a fix for lookbook non-active products
Attachments:
LookbookDb.php(8.3 KiB)Nothing have changed.
non-active products are still displaying, and they are not A to Z ordered.
what FTP server I have to use to make a fix?
infos are specified with our licence on our account.
Site name is : https://augresdesbois.com
Thanks
all works fine for me
Attachments:
scr2.png(1.94 MiB)Your screenshot is not AtoZ ordered.
But I see disabled product are not displaying anymore, that good.
Is there a way to order in AtoZ ?
Done, please check it out
there is no change, see screenshot.
I hope now it correct https://take.ms/rAmEpo