VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: johk on January 07, 2012, 11:37:29 AM

Title: <?php echo $this->product->product_name ?> doesn't work on category/default.php
Post by: johk on January 07, 2012, 11:37:29 AM
Hi.
In the category/default.php file I am trying to change <?php echo JHTML::link($product->link, $product->product_name); ?> to <?php echo $this->product->product_name ?> but it thows me an error.
Are there any way to show category name without it being an link?
Thanks
J
Title: Re: <?php echo $this->product->product_name ?> doesn't work on category/default.php
Post by: johk on January 07, 2012, 12:35:08 PM
Hi,

This works <?php echo $product->product_name; ?>
Cheers,
J