Page 1 of 1

Advanced stock options blank after removing dummy data

Posted: 05 May 2022, 19:24
by JES777
I created a product and entered some attributes. I enabled advanced stock management. I went to stock options and clicked on advanced stock options but I just get a white screen.

I was previously testing it with some dummy data and it was working fine. The client sent me the correct attributes which I entered. I deleted the dummy ones by clicking on the red x but the old prices still appear on the front end.

How do I fix this? Many thanks in advance

Re: Advanced stock options blank after removing dummy data

Posted: 05 May 2022, 22:17
by Jan
Hi, white screen can mean a php error. Try to enable php error reporting or try to see errorLog on your server to see if there is some error message :idea:

https://www.phoca.cz/documents/16-jooml ... rs-on-site

Jan

Re: Advanced stock options blank after removing dummy data

Posted: 06 May 2022, 13:51
by JES777
Hi Jan

Thanks for your message. I set my error reporting to maximum and I am not getting any errors. Please see the screenshot. https://imgur.com/IpRFnHQ

I am inside Products on the Stock Option Tab.

Re: Advanced stock options blank after removing dummy data

Posted: 08 May 2022, 23:06
by Jan
Are you really sure, your settings are not ignored? Mostly in blank page should be displayed some error message which caused stopping the script :idea:

Jan

Re: Advanced stock options blank after removing dummy data

Posted: 10 May 2022, 08:59
by JES777
Hi Jan.

I finally have an error message. https://imgur.com/a/NNXEBBH I will appreciate your assistance alot.

Many thanks

Re: Advanced stock options blank after removing dummy data

Posted: 10 May 2022, 14:08
by Jan
Hi, which version of Phoca Cart do you run? The error is simple, there is just not enough time to build the combination of all product variants.

Internally, technically - there are two methods to build the combination - the second is much faster but cannot be used in every case, only
- when select boxed are used
- CANNOT be used by checkboxes
- CANNOT be used by not required attibutes

So if attributes are selecboxes and required, then the combination be be much faster. If this is not possible then the maximum execution time needs to be resized on the server :idea:

Jan

Re: Advanced stock options blank after removing dummy data

Posted: 10 May 2022, 14:55
by JES777
Thanks this is very helpful.

I am using Phoca Cart version 4.0.0 on Joomla 4.

I really appreciare your assistance.

Re: Advanced stock options blank after removing dummy data

Posted: 12 May 2022, 10:54
by JES777
I managed to increase maximum execution time on the server.

Thanks so much for your help Jan. I really appreciate it.

Re: Advanced stock options blank after removing dummy data

Posted: 14 May 2022, 23:56
by Jan
Ok