This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* array_cartesian | |
* | |
* This function will fix a frustrating issue in the WooCommerce plugin | |
* When adding a product using variations, you will most likely use the 'Create variations from all attributes' function | |
* The issue with this function is that it will create the variations in a random order | |
* This is frustrating for your clients to edit | |
* |