Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    3
    Plugin Contributions
    0

    Default Remove Tell-A-Friend button if sold

    Hi, how can I remove the Tell-A-Friend button if the product is sold (I want it to only show, if the product is still for sale)?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove Tell-A-Friend button if sold

    You could customize the template with your templates and overrides and add:
    Code:
      if ($products_quantity > 0 && $flag_show_product_info_tell_a_friend == 1) { ?>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Tell A Friend Button missing
    By X-Bumble in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 May 2013, 04:27 PM
  2. Tell a Friend Button
    By goosedesign in forum Basic Configuration
    Replies: 5
    Last Post: 10 May 2008, 08:32 PM
  3. Align Tell a friend button
    By covone in forum Basic Configuration
    Replies: 1
    Last Post: 16 Nov 2006, 07:42 PM

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