Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    Default Specials in Product Info Right Column?

    Does anyone know how I can get the Specials and Bestsellers sideboxes to show in the right column on the product info page?

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

    Default Re: Specials in Product Info Right Column?

    Using your templates and overrides, you want to copy:
    /includes/modules/sideboxes/specials.php

    to your overrides directory:
    /includes/modules/sideboxes/your_template_dir/specials.php

    In the code you will see:
    Code:
      if (isset($_GET['products_id'])) {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    This tells it NOT to show when there is a $_GET['products_id']

    Change the code to read:
    Code:
      if (isset($_GET['products_id'])) {
        $show_specials= true;
      } else {
        $show_specials= true;
      }
    For the best_sellers, you need to copy:
    /includes/modules/sideboxes/best_sellers.php

    to your overrides directory:
    /includes/modules/sideboxes/your_template_dir/best_sellers.php

    This is designed to only show when the $_GET['products_id'] is set and when the customer is setup for global notifications ...

    The easiest way to change that is to change the code:
    Code:
    // test if box should display
      $show_best_sellers= false;
    to read:
    Code:
    // test if box should display
      $show_best_sellers= true;
    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 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: Specials in Product Info Right Column?

    Why does that code exist ? I mean :
    Code:
    // test if box should display
      $show_specials= false;
    
      if (isset($_GET['products_id'])) {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    Why shouldnt specials be shown on a products_info page ? What were the reasons to Not show it?

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Specials in Product Info Right Column?

    Quote Originally Posted by tzre View Post
    Why does that code exist ? I mean :
    Code:
    // test if box should display
      $show_specials= false;
    
      if (isset($_GET['products_id'])) {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    Why shouldnt specials be shown on a products_info page ? What were the reasons to Not show it?
    To not distract the customer from paying full price for whatever product/s they're viewing?

  5. #5
    Join Date
    Jul 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: Specials in Product Info Right Column?

    No, seriously...

 

 

Similar Threads

  1. v139h Right Column Disapearing When Viewing Product Info
    By Joe Robot in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Dec 2013, 01:17 AM
  2. Replies: 5
    Last Post: 15 Oct 2012, 09:57 PM
  3. removing right column on product info pages
    By aoren in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 May 2010, 04:09 AM
  4. Right hand column missing on product info pages
    By spbennett in forum General Questions
    Replies: 3
    Last Post: 12 Jul 2007, 07:05 AM
  5. Layout in right-hand column (info, languages, currency, etc.)
    By binny25 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Oct 2006, 02:57 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