Last active
October 8, 2015 06:58
-
-
Save GreatPotato/3295410 to your computer and use it in GitHub Desktop.
Output LemonStand option matrix images
This file contains 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 | |
foreach($product->option_matrix_records as $option) { | |
foreach($option->images as $image) { | |
echo $image->getPath(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment