Category descriptions set to display on an individual category page

Solved7 replies5 participantsUpdated by Robert Hall

  • Avatar: andreataylor
    andreataylor
    Participant

    Hi there,

    We currently have some product categories with no products i.e. they are empty. We would like to keep these product categories visible in the main menu, but display a ‘new products coming soon’ message if the visitor clicks on the link. I asked WooThemes if they could recommend a plugin/extension that would allow us to do this, and they replied that:
    ‘Your theme may not have category descriptions set to display on an individual category page; you may need to add it directly into your theme’s template override’.
    I wanted to check that is the case? Any advice appreciated!

    Best wishes, Andrea

    7 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    You can add text for empty category in Theme Options > Shop > “Text for empty category”.

    Regards,
    Eva Kemp.

    Avatar: andreataylor
    andreataylor
    Participant

    Eva, thanks, that’s fantastic. Sorry, I hadn’t noticed it in theme options.
    Sorry, I formatted the text as per the text for empty cart i.e. h2 heading. Is it possible to hide the magnifying glass icon?

    Avatar: stan
    Stan Russell
    Participant

    Hello andreataylor,

    please show us on screenshot what magnifying glass icon do you want to hide.

    Regards,
    Stan Russell.

    Avatar: andreataylor
    andreataylor
    Participant

    Hi Stan,

    How do I attach a screen shot to this message, thanks?

    The magnifying glass only appears if the text is formatted as Heading 2. It doesn’t appear if I format the text in another heading (I want to keep it h2 so that it is consistent with the text for empty cart formatting). In the same way, the h2 on the text for empty cart formatting generates a shopping bag. Hope that helps?

    Best wishes, Andrea

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please add this code in custom.css:

    .empty-category-block h2:before {
      display: none;
    }

    Best regards,
    Jack Richardson.

    Avatar: andreataylor
    andreataylor
    Participant

    Perfect – many thanks! Andrea

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    You’re welcome!
    If you have any questions please feel free to contact us.

    Regards,
    Robert Hall.

The issue related to '‘Category descriptions set to display on an individual category page’' has been successfully resolved, and the topic is now closed for further responses