Advanced stock options blank after removing dummy data

Phoca Cart - complex e-commerce extension
JES777
Phoca Member
Phoca Member
Posts: 15
Joined: 30 Mar 2022, 16:56

Advanced stock options blank after removing dummy data

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Advanced stock options blank after removing dummy data

Post 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
If you find Phoca extensions useful, please support the project
JES777
Phoca Member
Phoca Member
Posts: 15
Joined: 30 Mar 2022, 16:56

Re: Advanced stock options blank after removing dummy data

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Advanced stock options blank after removing dummy data

Post 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
If you find Phoca extensions useful, please support the project
JES777
Phoca Member
Phoca Member
Posts: 15
Joined: 30 Mar 2022, 16:56

Re: Advanced stock options blank after removing dummy data

Post by JES777 »

Hi Jan.

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

Many thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Advanced stock options blank after removing dummy data

Post 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
If you find Phoca extensions useful, please support the project
JES777
Phoca Member
Phoca Member
Posts: 15
Joined: 30 Mar 2022, 16:56

Re: Advanced stock options blank after removing dummy data

Post by JES777 »

Thanks this is very helpful.

I am using Phoca Cart version 4.0.0 on Joomla 4.

I really appreciare your assistance.
JES777
Phoca Member
Phoca Member
Posts: 15
Joined: 30 Mar 2022, 16:56

Re: Advanced stock options blank after removing dummy data

Post by JES777 »

I managed to increase maximum execution time on the server.

Thanks so much for your help Jan. I really appreciate it.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Advanced stock options blank after removing dummy data

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply