Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1125509

    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?

    #1126130

    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

    #1126163

    Thanks Ismael,
    That did the trick! I have no idea how those parameters went missing in the first place??
    Best Regards
    Craig

    #1126218

    Hi,

    Great! Glad it worked. Let us know if you need anything else.

    Have a nice weekend.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Unable to display Woocommerce Category ID's in a grid as I used to’ is closed to new replies.