VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: a77a77 on March 05, 2013, 17:00:18 PM

Title: a VM page without content ?
Post by: a77a77 on March 05, 2013, 17:00:18 PM
please i need your help!

I need to have a Home button to my site,
This button must be a VM page so I can used ¨custom filter component¨ .
but I will not like submit any content virtuemart, I do not want to present categories, products, brands .....
  I just need a  VM page without content , how I can do this?
what option in menu item type I should choose?

Thanks for your help!  ;)
Title: Re: a VM page without content ?
Post by: PRO on March 05, 2013, 17:05:09 PM
use the frontpage link

and then edit the

views/virtuemart/tmpl/default.php

remove all of this

<?php # Vendor Store Description
if (!empty($this->vendor->vendor_store_desc) and VmConfig::get('show_store_desc', 1)) { ?>
<p class="vendor-store-desc">
   <?php echo $this->vendor->vendor_store_desc; ?>
</p>
<?php } ?>

<?php
# load categories from front_categories if exist
if ($this->categories and VmConfig::get('show_categories', 1)) echo $this->loadTemplate('categories');

# Show template for : topten,Featured, Latest Products if selected in config BE
if (!empty($this->products) ) { ?>
   <?php echo $this->loadTemplate('products');
}

?>