Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing Prices in Main Product listing pages

Removing Prices in Main Product listing pages

Locked

Views: 2,487

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
12 Feb 2007, 10:43 PM
#1
balboa avatar

balboa

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Removing Prices in Main Product listing pages

Hi,

I've been searching on how to remove the prices from underneath the products on the category pages. I need to remove these completely. Can anyone point me in the right direction:blush:

Also the prices how on Featured product listings. I've tried to switch this off in Admin however it hasn't worked. This may be due to some custom code from a previous developer. Which file can I edit to just remove the prices completely from the featured listing box.

Thanks for any help in advance!:smile:

12 Feb 2007, 11:01 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing Prices in Main Product listing pages

I've been searching on how to remove the prices from underneath the products on the category pages. I need to remove these completely. Can anyone point me in the right direction
"products on the category pages"??? If tihs is the product info pages I do not think that there is a setting for this as the intention is to sell product and buyers want to know the price - Why do you not want the price or is this not the page you are referring to?
Also the prices how on Featured product listings. I've tried to switch this off in Admin however it hasn't worked. This may be due to some custom code from a previous developer. Which file can I edit to just remove the prices completely from the featured listing box.
If due to custom code - you will have to determine where this is as we have no idea where it might be > If you actually mean the Featured Product Listing:

admin > config > featured listing > Display Product Price > set to "0"

But there is also a Featured listing on the main page that is different and not a toggle in the admin

13 Feb 2007, 12:14 AM
#3
balboa avatar

balboa

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Re: Removing Prices in Main Product listing pages

Hi Kobra, thank you for your reply.

The prices that I want to remove are the ones showing underneath each product in the product listings, not on the main product info pages.
For example: Vistor clicks on category A from the left menu on the homepage, they see all the products in category A with product names underneath, but no prices, they then click through to the main product page to view the description and prices.

(My site is for trade customers not the general public)

The featured product section I was referring to is the Featured products box on the homepage. I've tried the admin link with no success.

I just need to find the line in coding to remove however it is proving to be a real problem and is stopping the launch of my site :(

13 Feb 2007, 1:07 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing Prices in Main Product listing pages

This will be difficult as this is listed with the columnar display and this also is used for other things so editing it will affect others also.

A kludge - workaround might be using the following in your stylesheet.css and I assumed that your background color for this area is white or #FFFFFF

.centerBoxContentsFeatured {
color: #ffffff;
}

This does not eliminate the price but if you match the color statement to your background color it is not visible

14 Feb 2007, 6:31 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Removing Prices in Main Product listing pages

Or try ```php
.centerBoxContentsFeatured {
display: none;
}


(Displaying as background color still takes up space, and will be visible if highlighted with the mouse. It is also apparently frowned upon by search engines as spamming.)
14 Feb 2007, 6:55 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing Prices in Main Product listing pages

Glenn,

.centerBoxContentsFeatured {
     display: none;
     }  

Gets rid of all of it and not just the price like the OP wanted and if all of it was desired better to turn off featured on the main page in the admin

14 Sep 2009, 3:37 AM
#7
polnaref avatar

polnaref

New Zenner

Join Date:
Feb 2008
Posts:
17
Plugin Contributions:
0

Re: Removing Prices in Main Product listing pages

Hi,

This code has solved my price display on the main page for featured products:

.centerBoxContentsFeatured {
color: #ffffff;
}

However I can't figure out how to do the same with the featured sidebox, any idea how to do so?

Thanks