Display products in specific order with shortcode
-
Hope someone can help me with this as I’m completely stuck on this.
I am trying to display specific products in a chosen order. In this case, I’d like to display sku 123 as the first product, 345 as the second and so forth.It appears woocommerce defaults the sorting and doesn’t allow to specify exactly the order you’d like them in.
I’ve tried adding orderby=’post__in’ as recommended elsewhere, but that didn’t work at all either. I’ve also tried the same but with IDs instead of SKUs.
Example I’ve tried, still defaults:[products skus=’123,456,789,987,654,321′ orderby=’post__in’]
Anyone have a tip or a code snippet that might alleviate this headache?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.