Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Does not display the category description

Does not display the category description 10 years 2 months ago #8084

Hi

In category does not appear the description.

Virtuemart 2.0.26d / VM2 Template - PureMart 3.9

test.nanomembran.com/katalog/auto/karoserie
Attachments:
The topic has been locked.

Does not display the category description 10 years 2 months ago #8096

Hi,

I can't say anything about what might cause this problem. I would need to investigate your website backend to be certain.

But try this:

The official PHP line to print the category description is this:
<div class="category_description"> <?php echo $this->category->category_description ; ?> </div> 

Open this PHP file:

/templates/YOUR_TEMPLATE/html/com_virtuemat/categort/default.php
(defuult.php or flexv2.php whichever layout you are using)

And look for this line (it is 120th line in the default.php)
<div class="browse-view">

and replace it with this:
<div class="category_description"> <?php echo $this->category->category_description ; ?> </div> 
<div class="browse-view">

Then; you will start seeing the category descriptions at the top.

Regards,
Support
Last Edit: 10 years 2 months ago by Support.
The topic has been locked.

Does not display the category description 10 years 2 months ago #8122

Super, it works ...

Thanks Jana
The topic has been locked.

Does not display the category description 10 years 2 months ago #8136

Even though i still don't know what the problem is in your case, I am glad my solution works out just fine.

Case is solved, topic is closed.

Regards,
Support
Last Edit: 10 years 2 months ago by Support.
The topic has been locked.

Does not display the category description 10 years 1 month ago #8777

Problem still present in version 2.0.26d.

After changing the indicate line the description appears.
The topic has been locked.

Does not display the category description 10 years 1 month ago #8794

Hi,

It is good to know that the patch still works,

Regards,
Support
The topic has been locked.

Does not display the category description 10 years 3 weeks ago #8911

Hello,

The patch works just partly.

In subcategories it works fine. See:
www.aromesdemae.com/es/aromas-2/nuestros-aromas/azahar

But, in categories, the description appears twice (repeated). First at the top and second at the botton. See:
www.aromesdemae.com/es/aromas-2/nuestros-aromas

¿How can we show the description in categories and subcategories correctly?
The topic has been locked.

Does not display the category description 10 years 3 weeks ago #8920

Hi,

open the category browse PHP file, and look for this line: (CTRL + F)
<div class="category_description"> <?php echo $this->category->category_description ; ?> </div> 

You will see that line, in 2 different places. One of them is the one you added manually (by following the method in this topic) and the other one is the one that comes with CleanMart by default. Since, that line presented twice, the category description shows off twice.

What you need to do is; eliminate the line that comes with the PureMart (Your manually added line will be alone, so there won't be any duplication in nowhere).

Regards.
Last Edit: 10 years 3 weeks ago by Support.
The topic has been locked.

Does not display the category description 9 years 7 months ago #10596

i have the same issue, i did the solution but the problem is the description is now below the categories
www.gcorpro.com/index.php/cycling-wear

I need to be on top

please help! thanks
The topic has been locked.

Does not display the category description 9 years 7 months ago #10608

Kike Sarmiento
your problem has been resolved. Check your email for more info.

case solved, topic is closed.

Regards,
The topic has been locked.
Time to create page: 0.278 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo