Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2020
    Posts
    2
    Plugin Contributions
    0

    Default How to remove the "Ask A Question" button on product page

    Hello I would like to remove the "Ask A Question" button from the product page. I am using the Responsive Classic Template on the current version of Zen Cart. Any help is much appreciated!

    Brett

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

    Default Re: How to remove the "Ask A Question" button on product page

    Edit modules/pages/product_info/main_template_vars.php
    and change
    $flag_show_ask_a_question = !empty(zen_get_show_product_switch($_GET['products_id'], 'ask_a_question'));

    to

    $flag_show_ask_a_question = false;
    That Software Guy. My Store: Zen Cart Modifications
    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
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: How to remove the "Ask A Question" button on product page

    If the site's running zc157 (or later), couldn't the site admin simply use Catalog :: Product Types and change the Layout Settings for product_general to indicate that the ask-a-question block shouldn't be shown?

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

    Default Re: How to remove the "Ask A Question" button on product page

    Yep - you're right. I didn't think that logic was working.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  5. #5
    Join Date
    Aug 2020
    Posts
    2
    Plugin Contributions
    0

    Default Re: How to remove the "Ask A Question" button on product page

    Thank you so much both of you, I will try this out tonight! You are both lifesavers!

 

 

Similar Threads

  1. Replies: 4
    Last Post: 4 May 2013, 09:33 AM
  2. Replies: 16
    Last Post: 14 Feb 2013, 12:02 PM
  3. remove the border around "call for price" and reposition "ask us" button
    By b90702098 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 May 2012, 10:45 AM
  4. 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
  5. How can I remove the "call for price" text on product listing page?
    By chloe21 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Feb 2009, 04:25 PM

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