Home Forums WoodMart support forum Customising the Category View

Customising the Category View

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #110097

    Edat
    Participant

    Hi Guys

    I’d like to view both the Products and Subcategories when viewing a Category in the Shop. I have set this sample Category to BOTH. However the Products just seem to flow (flex) along with the Subcategories, I’d like to vertically seperate them.

    I’ve been doing some custom css on the Subcategory items on this page. You can see the example in the private link.

    I need the categories and the products to be separated, at the moment the products are simply sitting up with the subcategories and it looks odd. There needs to be some vertical separation.

    The problem I’m finding is that it appears the DOM is simply appending the the products to the list of categories.

    How can I separate them? What file would I need to edit so that I can make changes to the DOM output.

    I’ve attached two images, before and after (what i want it to look like)

    Attachments:
    You must be logged in to view attached files.
    #110108

    Artem Temos
    Keymaster

    Hi,

    It is how the WooCommerce loop products and categories and there is no option to separate them. You can see that it works in the same way on default themes as well.

    Kind Regards

    #110111

    Edat
    Participant

    Do you know where in the Woocommerce code the categories and products are being looped together?

    #110114

    Artem Temos
    Keymaster
    #110117

    Edat
    Participant

    That’s perfect! thanks for sending me that link!

    #110119

    Edat
    Participant

    Looks like someone has already asked for this feature to be added to the Theme. I’d like to second this. Could you please add this to the theme functionality?

    https://xtemos.com/forums/topic/display-woocommerce-categories-subcategories-in-separate-list/

    #110139

    Artem Temos
    Keymaster

    We will consider this feature request but can’t say when exactly it will be implemented.

    #166768

    nivs
    Participant

    Would like to join this feature request

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