VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sytc on August 01, 2014, 07:30:04 AM

Title: Remove Price from the Front Page only
Post by: sytc on August 01, 2014, 07:30:04 AM
Hi,

I am working on a new VM 2 site and I need to remove the price from the front page only.

I have customised what prices are shown everywhere else but I cannot seem to remove them from the front page. Any help?
http://motorblackbox.com.au/new2/index.php/products


I would really appreciate any help.

Thanks


Title: Re: Remove Price from the Front Page only
Post by: John2400 on August 01, 2014, 07:57:33 AM
Looks to me that you are using products instead of categories on the front page. your front page says category?

You could just create a html page put up images only ? Use joomla article and do it that way?
Use some thing like dream weaver  and embed a front page?

The rest may suggest a coding issue. 

You could set products to only registered users.
Title: Re: Remove Price from the Front Page only
Post by: sytc on August 04, 2014, 07:52:18 AM
Quote from: John2400 on August 01, 2014, 07:57:33 AM
Looks to me that you are using products instead of categories on the front page. your front page says category?

Thanks for the reply.

I basically want to use the VM front page to show the 3 dynamic categories (latest, featured and top ten) without pricing and I think it would be much harder job to do this as a static page (which I have done using a template for the front page of the site).

I think this would be a coding thing where I need to comment out a few lines... but I can't seem to find where that line is :-(

Everything else I found under the templates/my template/html/com_virtuemart but this...
Title: Re: Remove Price from the Front Page only
Post by: John2400 on August 04, 2014, 11:21:42 AM
For me then.

Id just create a category called greatest , latest etc.

turn off those latest , top ten , featued to show on the front page and then publish those categories. ( no price will show)

You can add a product to any category you like.  No hacking, coding involved?
-----------------------------------------------------------------------------------------------------------------
Here is also an old shop with what I described ( its a VM 1 shop) ( I just created a simple page) with images. Infact you can do this inside Joomla.

http://www.simplystuck.com.au/index.php
10 minute embedded page job.
Title: Re: Remove Price from the Front Page only
Post by: GJC Web Design on August 04, 2014, 23:05:35 PM
Isn't it just the template components/com_virtuemart/views/virtuemart/tmpl/default_products.php ?