Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    12
    Plugin Contributions
    0

    red flag Styling the Sold Out button

    How on earth is the Sold Out button on the product pages generated? We have trawled through every page and still cannot find its origin. I would like to wrap a div around it.

    Any insights will be hugely appreciated.

    Cheers

    Spen

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

    Default Re: Styling the Sold Out button

    Look in the Stock Settings ...

    You can configure in there if it shows or not ...

    For other customizations, use the Tools ... Developers Tool Kit ... and search in the bottom input box for the Catalog for:
    SHOW_PRODUCTS_SOLD_OUT_IMAGE
    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!

  3. #3
    Join Date
    Jul 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Styling the Sold Out button

    That's it. Thanks very much, that was a tricky bugger to find.

    Cheers

    Spen

  4. #4
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Styling the Sold Out button

    Hi,
    I would like to do the same thing -- put a div tag and use CSS styling on the Sold Out image.

    How did you go about doing this? I can't quite find the code where to insert the DIV tag.

    -A

  5. #5
    Join Date
    Jul 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Styling the Sold Out button

    Hello there

    You need to edit the file includes>functions>functions_general.php

    The block of code is just before the comment //enable shipping.

    Mine looks like this:

    $return_button = '<div class="soldOut">' . zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALL, BUTTON_SOLD_OUT_SMALL_ALT) . '</div>';

    Good luck!

    Cheers

    Spen

 

 

Similar Threads

  1. v139h which file need edit to fix the sold out button ?
    By dmagic in forum General Questions
    Replies: 2
    Last Post: 27 Jul 2014, 03:10 PM
  2. Sold Out Button says "Sold Out SM".... Sophy Blue
    By huntleybill in forum Addon Templates
    Replies: 3
    Last Post: 28 Nov 2011, 05:32 AM
  3. Changing the SOLD OUT button in a customized template
    By AMGill29 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Sep 2009, 12:44 AM
  4. Replies: 4
    Last Post: 11 Jun 2009, 09:46 PM
  5. Where do I change the alt image tag for the "Sold Out' Button?
    By candylotus in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 May 2008, 05:00 AM

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