Sort shopping cart by variation
-
Is there any way I can sort the woocommerce shopping cart by production variation?
I am using WooCommerce 1.6.5.2 and WooCommerce Product Add-ons 1.1.1
I am thinking I could extend:
$woocommerce->cart->get_cart()
to
$woocommerce->cart->get_cart_sortedby($variation_slug)
Thanks,
Tania
- The topic ‘Sort shopping cart by variation’ is closed to new replies.