Hello,
I want to hide the browse controls (manufacture, pagination etc) when the category has no products.
I try to change inside the template and inside the vm 3 the line
if$this->showproducts{ ?>
to
if(!empty($this->showproducts)){ ?>
But nothing happens.
Is there any other line that I have to change?
I'm using Vm3 and joomla 3.
Thank you.
if$this->showproducts{ ?> is just the config setting
you would need something like
if ($this->showproducts && $this->products ) { ?>
maybe .. something similar anyway
Thank you GJC Web Design for the hint! I was looking for the right place to make the change. Here is the code that worked for me:
if (($this->showproducts) && (!empty($this->products))) {