Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    1

    Default How to Remove Contact Us button on Product Listing?

    I am using 1.5.7b with ZCA Bootstrap-4. I have a site set to "showroom only show price". I would like to have only the "ask a question" button and the price showing on the product page, and remove the "contact us" button. Because if a customer clicks the ask a question button I can see the product they're asking about, but if they click the contact us button, I can't.
    There's a reply to a similar question from 2013 saying
    admin > config > product listing > Display Product Price/Add to Cart > set to "0"
    I've done that, but the contact us button is still showing, and I would prefer to be able to show the price. Can anyone help? Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: How to Remove Contact Us button on Product Listing?

    Please post a link to your site. The Contact Us button shouldn't show on the product info page (other than in the header, footer or sidebar).
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: How to Remove Contact Us button on Product Listing?

    Ah sorry I forgot to set it in showcase mode. Now the title of your post was product listing but the body of your post said product page, so I assume you want to change the display for a URL like:

    index.php?main_page=product_info&cPath=1_5&products_id=27

    If so, what I would do is just edit

    includes/templates/bootstrap/templates/tpl_product_info_display.php

    and change

    Code:
    if (CUSTOMERS_APPROVAL == 3 && TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
    to

    Code:
    if (1) {
    That will remove the Add to Cart box which contains the Contact Us link when the store is in Showcase mode.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    1

    Default Re: How to Remove Contact Us button on Product Listing?

    Fantastic, thank you so much. That worked a treat.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: How to Remove Contact Us button on Product Listing?

    If you think you ever will eventually want to go from Showcase to regular Store, you could change the if (1) { to something like:

    Code:
    if (STORE_STATUS != 0) {
    but the simple change you have will work for now.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    1

    Default Re: How to Remove Contact Us button on Product Listing?

    Thank you.

  7. #7
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: How to Remove Contact Us button on Product Listing?

    I have the same issue on 56A

 

 

Similar Threads

  1. v151 How to Remove Contact Us button on Product Listing?
    By Decostyle in forum General Questions
    Replies: 2
    Last Post: 8 Mar 2013, 06:00 PM
  2. remove out of stock button only on product listing page
    By tanyaslogos in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Dec 2009, 05:02 AM
  3. How to remove the "Send" Button from Contact Us Page?
    By wintergreenaaron in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2009, 08:58 PM
  4. Remove Price from Product Listing but Keep Buy Now Button.
    By maineiac13 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Sep 2008, 09:43 PM
  5. Remove "Contact Us" button from Product Listing
    By xando in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Nov 2006, 04:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR