VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: pritmadlani on August 19, 2018, 13:57:49 PM

Title: Category description question
Post by: pritmadlani on August 19, 2018, 13:57:49 PM
Hello,

I am wondering if someone can help please?  I have 5 categories which are linked to the parent category.  However, the parent category does not have any products linking to it.  When I am then clicking on the parent category, it does not show the 'Description' for that category.  It only shows the description if I have a product associated to it (even though I do not need any products linking to it).

Is there anyway that I can have the category description appear without having any products linking to it?

Thank you,

Pritesh
Title: Re: Category description question
Post by: hellorain on August 19, 2018, 18:03:10 PM
Hello,

It can be possible by customization on category decription page

Best Regards,
hellorain.
Title: Re: Category description question
Post by: pritmadlani on August 20, 2018, 14:16:20 PM
I can't seem to find that option.  Can you clarify where please?

Thank you,

Prit
Title: Re: Category description question
Post by: GJC Web Design on August 20, 2018, 23:28:38 PM
There is no option -- u have to check the code of the category default.php file

it probably has an if statement around the

<div class="category_description">
      <?php echo $this->category->category_description; ?>
   </div>

find why it doesn't display if no products