Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    137
    Plugin Contributions
    0

    Default specials, best sellers side box not appearing on product info page

    Hi,

    I've turned on two boxes in right column, specials and best sellers. I don't know why they are not appearing on the product info (product details) page?

    Is there any setting in the admin configuration to turn it off or on?

    Regards

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

    Default Re: specials, best sellers side box not appearing on product info page

    Specials says ...
    Code:
      if (isset($_GET['products_id'])) {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    Best Sellers says ...
    Code:
    // test if box should display
      $show_best_sellers= false;
    
      if (isset($_GET['products_id'])) {
        if (isset($_SESSION['customer_id'])) {
          $check_query = "select count(*) as count
                          from " . TABLE_CUSTOMERS_INFO . "
                          where customers_info_id = '" . (int)$_SESSION['customer_id'] . "'
                          and global_product_notifications = '1'";
    
          $check = $db->Execute($check_query);
    
          if ($check->fields['count'] > 0) {
            $show_best_sellers= true;
          }
        }
      } else {
        $show_best_sellers= true;
      }
    So Specials are, by design, not showing on the product _info ...

    Best Sellers are, by design, showing based on is customer logged in and has global notifications turned on ... if not logged in, then it does not show ...

    You could customize these further with your templates and overrides to always show ...
    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
    Aug 2009
    Posts
    137
    Plugin Contributions
    0

    Default Re: specials, best sellers side box not appearing on product info page

    Thanks Ajeh,

    I'll override the template then.

    Thanks and Regards

 

 

Similar Threads

  1. v153 Intelligent All, Featured, Best Sellers, New, and Specials Links
    By mikeel100 in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2015, 08:46 PM
  2. Styling my Best Sellers Side Box
    By piscean29 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Oct 2010, 03:49 AM
  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. How do I make the 'Best Sellers' box appear on every page?
    By Winks in forum Basic Configuration
    Replies: 1
    Last Post: 15 Mar 2007, 03:45 PM
  5. Best sellers Side box help
    By caradelrae in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jan 2007, 04:15 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