Hi there,
I have recently noticed that I am no longer able to specify individual Product Category ID’s and have them appear consecutively in a grid layout as I have done before.
For instance, I would have in a Text Block [product_categories ids=then list each required category ID separated by a , and then end with hide_empty=0]
This used to work fine, but now the displayed layout doesnt seem to reflect what I put at all and sorts what it does display by A-Z.
Did anything change to Enfold or Woocommerce that would affect this ability?
Hey Craig,
Thank you for the update
You can add the orderby parameter and set its value to “include” in order to sort the categories based on the order they are added in the ids parameter.
// https://docs.woocommerce.com/document/woocommerce-shortcodes/#product-category-attributes
[product_categories ids="1,2,3" orderby="include" hide_empty=0]
Best regards,
Ismael
Thanks Ismael,
That did the trick! I have no idea how those parameters went missing in the first place??
Best Regards
Craig