So I was whining about the new features dropdown thing in the admin when you go to select a feature for your product. Whenever there were a bunch of variants a new style of dropdown came up and it was a big pain in the butt. To top it off, once you selected a variant, you couldn’t change it back to “None” again.
So after looking through the files this morning, I found out that this function is controlled from the config.php file.
On line 31 of my config.php file, I had:
// These constants define when select box with product feature variants list should be replaced with picker<br />
define('PRODUCT_FEATURE_VARIANTS_THRESHOLD', 40); // if number of product feature variants less than this value, all product feature variants will be retrieved, otherwise product features variants will be retrieved by ajax
```<br />
<br />
I just changed it to:<br />
<br />
```php
// These constants define when select box with product feature variants list should be replaced with picker<br />
define('PRODUCT_FEATURE_VARIANTS_THRESHOLD', 200); // if number of product feature variants less than this value, all product feature variants will be retrieved, otherwise product features variants will be retrieved by ajax
```<br />
<br />
Basically I just changed it from 40 to 200.<br />
<br />
Now I'm a happy camper.<br />
<br />
Hope that helps someone else.<br />
<br />
Thanks,<br />
<br />
Brandon
I stumbled upon this recent topic while searching for a solutions to my Manufacturer features issue. I just upgraded to 2.2.4 and after the upgrade my Manufacturer features dropdown in the Products display was only displaying 10 items whereas before it was displaying all of my Manufacturers.
I'm not seeing the “new style of dropdown” as Brandon describes for this. It is simply cutting my selections off and only showing 10.
I found if I changed the “Elements per page” on Settings → Appearance → Administrator settings from 10 to a higher number that I'll see more items in the dropdown menu. I had more than 10 manufactures before the upgrade and wasn't having this issue.
Anyone have any insight or recommendations? Should I just bump my “Elements per page” to a higher number or is this a bug?
Yes, I am referring to the features dropdown in the features tab on the products page. Thanks for your willingness to help out Brandon.
I've attached a screenshot showing two windows showing (from left to right):
Admin → Settings → Appearance → Administrator Settings → Elements per Page
In 2.2.3 and previous versions, my features dropdown for manufacturer showed all of my manufacturers and wasn't impacted by the “Elements per page.” Upon upgrade to 2.2.4, I notice the dropdown was only showing some of my manufacturers. Changing this setting to a higher number fixed my problem. (Bug? Or new feature?)
Right window shows a product page illustrating that only 6 elements are showing in the dropdown. In addition, the manufacturer of the selected item isn't even shown because it's not in the first 6 manufacturer entries.