Forums / General Questions / Delete "Contact Us" link/box from listings in showcase mode

Delete "Contact Us" link/box from listings in showcase mode

Locked

Started by untitled10101 on 25 Feb 2008, 4:10 AM · Views: 4,083

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Feb 2008, 4:10 AM
#1
untitled10101 avatar

untitled10101

New Zenner

Join Date:
Jan 2008
Posts:
21
Plugin Contributions:
0

Delete "Contact Us" link/box from listings in showcase mode

Hello,

I would like to know if it is possible to remove the contact us link/box from all of my listings when my store is in showcase mode.

Some may ask, what the point of the store is then, but I am also using the ask a question module, so I no longer need the "contact us" link.

Thanks

25 Feb 2008, 4:47 AM
#2
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Delete "Contact Us" link/box from listings in showcase mode

I have no idea what you have written but if you want to remove the "Contact Us" from the Information sidebox then edit /includes/modules/sideboxes/MYTEMPLATE/information.php

25 Feb 2008, 10:39 PM
#3
untitled10101 avatar

untitled10101

New Zenner

Join Date:
Jan 2008
Posts:
21
Plugin Contributions:
0

Re: Delete "Contact Us" link/box from listings in showcase mode

colemanpa:

I have no idea what you have written

Hello, I am sorry if my question was not clear, but I have come up with the solution.

I looked in the source code and found the line that said <!--bof Add to Cart Box -->. I did a search for that line from Admin>Tools>Developers Toolkit (in the bottom left search box).

I found the file that had that line and deleted it completely for my template, and now it's gone.

31 Mar 2008, 12:35 AM
#4
mrcctv avatar

mrcctv

New Zenner

Join Date:
Mar 2008
Location:
Joliet, IL
Posts:
4
Plugin Contributions:
0

Re: Delete "Contact Us" link/box from listings in showcase mode

I found TEXT_SHOWCASE_ONLY in includes/functions/functions_general.php. I removed the link, which, if I understand it correctly, will keep the functionality of the site if you decide to change from a Showcase back to Normal.

Here is what I did

In includes/functions/functions_general.php find the line

// show case only superceeds all other settings
if (STORE_STATUS != '0') {
return '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . TEXT_SHOWCASE_ONLY . '</a>';
}
and change it to
// show case only superceeds all other settings
if (STORE_STATUS != '0') {
return '';
}

MrCCTV

"Artificial Intelligence is no match for Natural Stupidity".

20 Sep 2008, 11:48 PM
#5
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Delete "Contact Us" link/box from listings in showcase mode

untitled10101:

Hello,

I would like to know if it is possible to remove the contact us link/box from all of my listings when my store is in showcase mode.

Some may ask, what the point of the store is then, but I am also using the ask a question module, so I no longer need the "contact us" link.

Thanks

I also want to remove...is there a setting in admin to do this or is it necessary to edit files. ??

I can put a single contact us link on the header because it looks messy and unprofessional to have the contact us repeated over and over under every price.

This installation will be a restaurant menu so there is no ordering at all.

Thanks.:frusty:

28 years web design and counting.
https://stuffdone.com