Product Variant Sorting
Hi, so I used perch_shop_product_variants() to output all variants of my product. As an example the products would be laid out like:
Product1 - Blue, small Product2 - Blue, medium Product3 - Blue, Large Product4 - Red, small Product5 - Red, medium Product6 - Red, Large
What I'm trying to accomplish is lay them out like:
Product1 - small, blue Product2 - small, red Product3 - medium, blue Product4 - medium, red Product5 - large, blue Product6 - large, red
Is there any way to lay this out like this? I cannot seem to find a way. I changed the precedence (size now '2' and color '1') and this did not change. Any suggestions?
Want to reply to this thread?Login with Perch