New Zenner
- Join Date:
- Jun 2019
- Location:
- Austin TX
- Posts:
- 65
- Plugin Contributions:
- 0
LIMIT amount of option values displayed in Option Value Manager
I'm using Zen Cart 1.5.6b. I would like to limit the total number of Option Values pulled from the database to be accessed by this section. We have 10s of thousands of option values and it's slowed the option value manager page down way too much. I've seen in the option_values_manager.php file where there is a mySQL statement of SELECT * ..... in order to check the values for corruption but I was wondering if anyone knew where I could add a LIMIT to a mySQL statement to have it only pull the first 500 values or so. I'm not trying to limit how many appear on each page, I know that is done in the configuration. I'm trying to modify the php file's database call in order to add a LIMIT clause so it doesn't have to pull every single option value in order to properly build the page. Thanks in advance for your help!