Author Topic: virtuemart default layout  (Read 1320 times)

espina88

  • Beginner
  • *
  • Posts: 2
virtuemart default layout
« on: August 10, 2012, 15:42:55 pm »
Hi everyone and thanks for give me the chance to engage with you,

I am having troubles with virtuemart default layout, this is the option i link to my menu. I just want to remove categories from this view, i have another options i want to keep as: featured products, top ten, etc.

I´ve been reading on this forum in another thread about deafult.php file which is in com_virtuemart\views\virtuemart\tmpl path. I ´ve tried to comment whole lines on this file but categories still doesnt disappear, and now im lost :S

i hope you guys can help me. thanks for all.

ivus

  • Full Member
  • ***
  • Posts: 534
  • - YAY me... proud member of the 500 club...
Re: virtuemart default layout
« Reply #1 on: August 10, 2012, 16:13:36 pm »
Hi espina88,

Which line did you remove? Sorry, but we're not mind readers.

Code: [Select]

# load categories from front_categories if exist
if ($this->categories) echo $this->loadTemplate('categories');


If you remove this line, the categories will be removed.


espina88

  • Beginner
  • *
  • Posts: 2
Re: virtuemart default layout
« Reply #2 on: August 10, 2012, 17:32:26 pm »
sorry.

i just commented this line: if ($this->categories) echo $this->loadTemplate('categories');

line 34 from default.php

i got joomla 2.5.6
virtuemart 2.0.8e