• 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

Fred 31 Oct 2020, 10:19

Do you mean back office Lookbook settings?

Sylvain Duval 02 Nov 2020, 11:54

Yes, in the backoofing I’d like to see only active products when I select a product for my lookbook.

Fred 02 Nov 2020, 11:57

I need access to your server through FTP, current credentials doesn’t allow to connect

Sylvain Duval 02 Nov 2020, 16:50

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

Fred 03 Nov 2020, 12:01

please test it out now

Fred 03 Nov 2020, 12:02

Sorry, not yet

Fred 03 Nov 2020, 12:10

Now it should work

Sylvain Duval 03 Nov 2020, 12:17

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.

Fred 03 Nov 2020, 12:18

it works for me locally.
do you have enabled Opcache module in your server configuration?

Sylvain Duval 03 Nov 2020, 13:40

I asked my host, yes it is enabled

Fred 03 Nov 2020, 13:55

you have to clear it’s cache or disable it’s for some time

Sylvain Duval 03 Nov 2020, 15:08

It’s done, but still the same for back office Lookbook

Fred 03 Nov 2020, 15:48

do you want to exclude these products? https://take.ms/Xv3aT

Sylvain Duval 03 Nov 2020, 15:51

yes exactly

Fred 04 Nov 2020, 14:01

but as I can see it works correctly https://take.ms/UuEgN

Sylvain Duval 15 Dec 2020, 17:20

And could you sort it by A-Z instead of product creation date please ?

Fred 16 Dec 2020, 13:18

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

Sylvain Duval 16 Dec 2020, 13:51

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 ?

Fred 21 Jan 2021, 19:47

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)
Sylvain Duval 03 Feb 2021, 14:34

Nothing have changed.
non-active products are still displaying, and they are not A to Z ordered.

Fred 03 Feb 2021, 16:31

what FTP server I have to use to make a fix?

Sylvain Duval 03 Feb 2021, 16:43

infos are specified with our licence on our account.
Site name is : https://augresdesbois.com

Thanks

Fred 04 Feb 2021, 12:31

all works fine for me

Attachments:

scr2.png (1.94 MiB)
Sylvain Duval 05 Feb 2021, 09:52

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 ?

Fred 05 Feb 2021, 12:28

Done, please check it out

Sylvain Duval 05 Feb 2021, 14:28

there is no change, see screenshot.

Fred 05 Feb 2021, 17:01

I hope now it correct https://take.ms/rAmEpo