Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    26
    Plugin Contributions
    0

    Default Specials sidebox not showing at Specials page

    Hello,

    I have one left sidebox which is Specials.

    I also have a full page called Specials

    I would like to show at the Specials page all my left sideboxes except the Specials one.

    How can I do it please?

    Thank you in advance for your help

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

    Default Re: Specials sidebox not showing at Specials page

    You can customize the specials.php sidebox by copying to your templates and overrides ...

    The original code reads:
    Code:
      if (isset($_GET['products_id'])) {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    which means not to show if there is a products_id ...


    Changing the IF to read:
    Code:
      if (isset($_GET['products_id']) or $_GET['main_page'] == 'specials') {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    Now it will not show on the pages where there is a products_id defined or the specials page ...


    If you want it even if the products_id is displayed then change it to read:
    Code:
      if ($_GET['main_page'] == 'specials') {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    and it will not show only when you are on the specials page itself ...
    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 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Specials sidebox not showing at Specials page

    Thanks a lot!

 

 

Similar Threads

  1. Specials Not Showing on Page in bluecart template
    By dbjsi83474 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Jan 2011, 12:46 PM
  2. specials page is not displaying items that were set to be specials
    By mayleine in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Dec 2010, 12:49 PM
  3. specials box not showing on product info page
    By ttfan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Sep 2010, 10:46 AM
  4. Specials not showing on main page
    By annav in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 28 Aug 2009, 07:35 AM
  5. Specials Sidebox showing on home page only
    By divinelighting in forum General Questions
    Replies: 34
    Last Post: 13 Feb 2009, 05:40 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