Joomla: 4.2.5
Phoca Cart: 4.0.5
Is there a hard limit on the number of attribute options that can be added to a single product attribute? The UI allows me to add any number, but when I save them, only the first 48 are saved to the database.
Is this something I can alter? I cannot see anything that would allow this in either the Phoca Cart Configuration or the doco. Though I may not be looking hard enough.
Product attribute option limit
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Product attribute option limit
Hi, try to see the server limits (e.g. max post data, max sent form data, etc.). There is no limit in Phoca Cart regarding this feature
Try to even test if this is save problem (data no stored in database) or load problem (data stored but only 48 loaded and displayed).
Jan
Try to even test if this is save problem (data no stored in database) or load problem (data stored but only 48 loaded and displayed).
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 27 Nov 2022, 14:02
Re: Product attribute option limit
Thanks Jan.
Data is not stored in the database.
Server limits are a good suggestion - I'll do some investigation later tonight around this.
Data is not stored in the database.
Server limits are a good suggestion - I'll do some investigation later tonight around this.
-
- Phoca Newbie
- Posts: 9
- Joined: 27 Nov 2022, 14:02
Re: Product attribute option limit
The problem appears to have been the max_input_vars value. This was set to 1000. I have increased it - arbitrarily - to 2048. And I can now save more than 48 options.
I initially started by setting the post_max_size value up from 32M, in increments, to 256M. This made no difference to the behaviour.
There was nothing of interest - at least to me - in the log files.
All very interesting - I am an old desktop developer - the web environment is new to me. And is somewhat bewildering :-)
I initially started by setting the post_max_size value up from 32M, in increments, to 256M. This made no difference to the behaviour.
There was nothing of interest - at least to me - in the log files.
All very interesting - I am an old desktop developer - the web environment is new to me. And is somewhat bewildering :-)
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Product attribute option limit
Ok
If you find Phoca extensions useful, please support the project