Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove "Contact Us" button from Product Listing

Remove "Contact Us" button from Product Listing

Locked

Views: 4,610

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
11 Oct 2006, 8:29 AM
#1
xando avatar

xando

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Remove "Contact Us" button from Product Listing

Well... the title says it all. I would like to remove the "contact Us" buttons from the Product pages.
Or from every page for that matter.

I couldn't find a setting for that in the admin, and don't know which file to edit to make the button go away.

11 Oct 2006, 11:04 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Remove "Contact Us" button from Product Listing

This replaces a price...you can enter prices and this will not display

11 Oct 2006, 12:31 PM
#3
xando avatar

xando

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: Remove "Contact Us" button from Product Listing

Thanks for answering...
That's what I thought, but the thing is, I do have a price for the items...
I'll try to clarify by showing some screenshots:


Maybe I should also mention that I am not using Zen Cart as an online store, but as a showcase only. I want people to see what we sell, but don't want to sell it online. We have a real store for that...

12 Oct 2006, 2:29 AM
#4
kobra avatar

kobra

Black Belt

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

Re: Remove "Contact Us" button from Product Listing

Maybe I should also mention that I am not using Zen Cart as an online store, but as a showcase only. I want people to see what we sell, but don't want to sell it online. We have a real store for that...

This is why the prices are not being displayed...

Try editing the define for this in your override english.php file

define('BOX_INFORMATION_CONTACT', 'Contact Us');

define('TEXT_SHOWCASE_ONLY','Contact Us'); 

to this and see if this removes it

define('BOX_INFORMATION_CONTACT', '');

define('TEXT_SHOWCASE_ONLY',''); 

You might try just the one for TEXT_SHOWCASE_ONLY first...

12 Oct 2006, 7:00 AM
#5
xando avatar

xando

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: Remove "Contact Us" button from Product Listing

Aha.. perfect!
Editing this did the trick:

define('TEXT_SHOWCASE_ONLY','Contact Us');

This left an empy box wit a border on the page, but when I edited the #cartAdd in the css file that was gone too.

Thank you very much.

10 Nov 2006, 11:08 PM
#6
getconnected avatar

getconnected

New Zenner

Join Date:
Sep 2006
Posts:
4
Plugin Contributions:
0

Re: Remove "Contact Us" button from Product Listing

Hello,

I'm trying to do the same thing, but I keep getting this error message...

Parse error: syntax error, unexpected '%' in /home/thestore/public_html/store/includes/languages/english.php on line 339

I'm thankful for any help that you can give.

John

kobra:

This is why the prices are not being displayed...

Try editing the define for this in your override english.php file

define('BOX_INFORMATION_CONTACT', 'Contact Us');

define('TEXT_SHOWCASE_ONLY','Contact Us');

> to this and see if this removes it
> ```
define('BOX_INFORMATION_CONTACT', '');
 
define('TEXT_SHOWCASE_ONLY',''); 

You might try just the one for TEXT_SHOWCASE_ONLY first...

12 Nov 2006, 3:12 AM
#7
kobra avatar

kobra

Black Belt

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

Re: Remove "Contact Us" button from Product Listing

John,

Post your edited code for these lines