Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2012
    Posts
    170
    Plugin Contributions
    0

    Default make "specials" module and "bestsellers" module always display

    how to make "specials" module and "bestsellers" module always display at the left or right side?
    when I go to product page,they auto disappear,
    optimizing my only one zencart template untill it becomes perfect.
    ting_cbm#hotmail.com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,672
    Plugin Contributions
    6

    Default Re: how to make "specials" module and "bestsellers" module always display

    Specials is designed to turn off when there is a products_id in the URL ...

    You can change this with your templates and overrides by copying the:
    /includes/modules/sideboxes/specials.php

    to your templates and overrides directory:
    /includes/modules/sideboxes/your_templates_dir/specials.php

    and adding the code in RED:
    Code:
      if (isset($_GET['products_id'])) {
        $show_specials= false;
      } else {
        $show_specials= true;
      }
    
    // bof: force specials to always show
      $show_specials= true;
    // eof: force specials to always show
    
      if ($show_specials == true) {
    For the Best Sellers sidebox you can customize it similarly with the code in RED:
    Code:
      } else {
        $show_best_sellers= true;
      }
    
    // bof: force best_sellers to always show
        $show_best_sellers= true;
    // eof: force best_sellers to always show
    
      if ($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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Apr 2012
    Posts
    170
    Plugin Contributions
    0

    Default Re: how to make "specials" module and "bestsellers" module always display

    thanks so much for " Ajeh",it works!
    optimizing my only one zencart template untill it becomes perfect.
    ting_cbm#hotmail.com

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,672
    Plugin Contributions
    6

    Default Re: how to make "specials" module and "bestsellers" module always display

    You are most welcome ... thanks for the update 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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. How to make the banners to always display?
    By hmartens in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Sep 2011, 04:09 PM
  2. How to make Specials Category display at top of list?
    By nathanscrivener in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 31 Oct 2010, 06:52 AM
  3. Unwanted gap and how to make page 100% height always
    By Rob100 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 11 Jun 2010, 01:03 PM
  4. always display bestsellers thumbnail sidebox
    By Graphic Content in forum Basic Configuration
    Replies: 1
    Last Post: 29 Sep 2009, 10:45 AM
  5. Radio box always defaults to Flatrate Shipping module
    By SoftCorpse in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Sep 2008, 08:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •