The big problem with product variations is not that they don't display for the consumer but that they don't display properly for the admin trying to build a large array of combinations. The symptom of this is a memory overrun error which is caused by the huge amount of code generated when the admin system tries to display all those options under the Variations tab when adding/editing a product.
The solution is disgustingly simple but does require a bit more thought when it comes to the coding to make it possible.
Pagination
What's required is a way to force the product/variations page to only show a maximum of X variations at any one time...
Now, I've figured out where in the code it loops through all the variation combinations so it should be possible but I'm not entirely sure how the code could pass the current "page" of variations it's on so if someone else wants to jump in here and help out that'd be appreciated.
The key line is:
Code: Select all
foreach($GLOBALS["variation_combinations"] as $k=>$combo) {
I really don't have the time to hack this together myself but I would certainly be willing to work with someone else who wants to fix this rather annoying "bug" and make it work for us.
Before you ask, I've given up on the idea of trying to sell these modifications because, frankly everyone expects Interspire to do it and they aren't so they aren't in a paying mood. Can't say I blame them but the thing is we can at least get a working variations system so if kudos is payment enough... jump in
