Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2011
    Posts
    11
    Plugin Contributions
    0

    Default Showcase mode and offers

    hi!
    I've a question....
    I've setting my zen cart on "showcase without price".
    But i need to show the price (no add cart button) for only the specials product. I've just insert the price for all product (specials and no specials) and I can't remove because in next future I must set zen cart to shop mode. help me!
    thank's!!!!!

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

    Default Re: Showcase and offers

    You could try with a price:
    Store Status
    What is your Store Status
    0= Normal Store
    1= Showcase no prices
    2= Showcase with prices
    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
    Jan 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Showcase and offers

    Quote Originally Posted by Ajeh View Post
    You could try with a price:
    I've already setting "showcase no price".

    My issue is show the price only for "specials" product
    Last edited by viper75; 5 Dec 2011 at 01:42 AM.

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

    Default Re: Showcase mode and offers

    If you want Products with Specials to show their Prices, even when set to not show Prices when set to:
    Showcase no Prices

    You could customize the function zen_get_products_display_price in the:
    /includes/functions/functions_price.php

    to test the Product to see if there is a Special where the code reads:
    Code:
    // show case only
        if (STORE_STATUS != '0') {
          if (STORE_STATUS == '1') {
            return '';
          }
        }
    Check if there is a Special, and if so, let the function run normally rather than do the return ...
    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!

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

    Default Re: Showcase mode and offers

    You could customize the code to something like this to allow Products with Specials set to show:
    Code:
    // show case only
        if (STORE_STATUS != '0') {
          if (STORE_STATUS == '1') {
            // show prices if a Special
            $specials_chk = $db->Execute("SELECT products_id FROM " . TABLE_SPECIALS . " WHERE products_id = '" . $products_id . "'");
            if ($specials_chk->EOF) {
              return '';
            } else {
              // continue to get price
            }
          }
        }
    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!

  6. #6
    Join Date
    Jan 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Showcase mode and offers

    thank you!!!!!!!!!!! It's ok!!!!!!!

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

    Default Re: Showcase mode and offers

    You are most welcome ... glad that this worked for you ...
    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. Attributes and Option Types in Showcase Mode
    By zcn00b in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 8 Oct 2008, 03:15 PM
  2. Quick Questions on showcase mode and images and inventory
    By JansenD in forum General Questions
    Replies: 5
    Last Post: 25 Jan 2007, 08:25 PM
  3. Showcase mode - Contact Us
    By markov in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Oct 2006, 01:25 AM
  4. Showcase Mode
    By jimroyster in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Jun 2006, 02:33 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