Home Forums WoodMart support forum Parent variable products appear after single variations in archive pages

Parent variable products appear after single variations in archive pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #723341

    zema80
    Participant

    Hello WoodMart Support,

    I’ve been trying to find a setting for this in the documentation but couldn’t find one, so I would appreciate your advice.

    I am using the “Show single variation” feature in WoodMart.

    The feature works correctly, and I want to keep both the parent variable products and their variations visible in shop and category archives.

    However, I have one issue with the ordering.

    Currently, many variation products are displayed before their parent variable products. As a result, the parent products are pushed to the bottom of the archive and may even appear several pages later.

    What I would like is for the archive to always display parent variable products first, while the single variations should appear after them.

    I am not referring to the standard WooCommerce sorting options (date, popularity, price, etc.). I would like the parent products to always have a higher priority than their variations, regardless of the selected catalog sorting.

    Is there any built-in option, hook, filter, or recommended way to achieve this?

    If this is not currently supported by WoodMart, could you please point me to the part of the code, query, hook, or filter responsible for adding and ordering single variations in the archive? Even a small hint would be very helpful, as I am comfortable writing custom PHP code if I know where to hook into the process.

    Thank you for your assistance.

    #723381

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please navigate to Appearance > Customize > WooCommerce > Product Catalog > Choose Default product sorting.https://postimg.cc/SYXcL9S6

    I tested the Show Single Variation feature on our end, and it is working correctly. The parent variable product is displayed first, followed by its single variations in the product archive.

    If you are experiencing different behavior on your site, please share the product archive URL along with your WP Admin login details in the Private Content field so we can investigate your specific setup and provide a possible solution.

    Best Regards

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)