Include term description in no-products-found.php loop

Home Pootlepress Academy Support Forums Academy Support Forum Misc Include term description in no-products-found.php loop

This topic contains 0 replies, has 1 voice, and was last updated by Include term description in no-products-found.php loop 1 Rob 4 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #19545
    Include term description in no-products-found.php loop 2
    Rob
    Member

    I have a site where a lo0t of SEO info is added through the category term description. There will be times when a category has no products in it. I would like to be able to show the normal category (archive-product.php) template with the “no products found” message shown rather than what happens at the moment. To illustrate, here’s 2 links:

    1. Category with products in: http://jones.ooh-websites.co.uk/product-category/freeman-boats-for-sale/

    2. Category with no products in: http://jones.ooh-websites.co.uk/product-category/nidelv-boats-for-sale/

    You can see that there is a large amount of info relating to the products in the term description, including catalogues and background info which is useful for visitors to see even when there are no boats available…

    I have tried editing both the archive-product.php template and the no-products-found.php loop but cannot work out how to do it.

    Any ideas or help much appreciated!!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.