Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    25
    Plugin Contributions
    0

    Default Always show special sidebox!

    I'm using the scrolling specials sidebox to show 4 items on special (static no marque) I want the sidebox to constantly stay visible even when you are viewing another item on special. Currently the side box is removed on the product info page?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Always show special sidebox!

    Over-rise includes/modules/sideboxes/specials.php and in your over-ride file change this
    PHP Code:
      $show_specialsfalse;

      if (isset(
    $_GET['products_id'])) {
        
    $show_specialsfalse;
      } else {
        
    $show_specialstrue;
      } 
    to this
    PHP Code:
      $show_specialstrue
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Always show special sidebox!

    Cheers kuroi, sorted - just what I needed.......

  4. #4
    Join Date
    May 2007
    Location
    California
    Posts
    30
    Plugin Contributions
    0

    Default Re: Always show special sidebox!

    I am trying to do the exact same thing with my shopping cart sidebox. I want it to always show. I tried changing modules/sideboxes/shopping_cart.php like you mention above, but it is not working. Any ideas? Am I changing the wrong file?

    Here is the code:

    switch (true) {
    case (SHOW_SHOPPING_CART_BOX_STATUS == '0'):
    $show_shopping_cart_box = true;
    break;
    case (SHOW_SHOPPING_CART_BOX_STATUS == '1'):
    if ($_SESSION['cart']->count_contents() > 0 || (isset($_SESSION['customer_id']) && zen_user_has_gv_account($_SESSION['customer_id']) > 0)) {
    $show_shopping_cart_box = true;
    } else {
    $show_shopping_cart_box = true;
    }
    break;
    case (SHOW_SHOPPING_CART_BOX_STATUS == '2'):
    if ( ( (isset($_SESSION['cart']) && $_SESSION['cart']->count_contents() > 0) || (isset($_SESSION['customer_id']) && zen_user_has_gv_account($_SESSION['customer_id']) > 0) ) && ($_GET['main_page'] != FILENAME_SHOPPING_CART) ) {
    $show_shopping_cart_box = true;
    } else {
    $show_shopping_cart_box = true;
    }
    break;

  5. #5
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: Always show special sidebox!

    Quote Originally Posted by kuroi View Post
    Over-rise includes/modules/sideboxes/specials.php and in your over-ride file change this
    PHP Code:
      $show_specialsfalse;
     
      if (isset(
    $_GET['products_id'])) {
        
    $show_specialsfalse;
      } else {
        
    $show_specialstrue;
      } 
    to this
    PHP Code:
      $show_specialstrue
    Perfect, Thanks
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

 

 

Similar Threads

  1. Show Special Instructions box on checkout_shipping to show on from Your Shopping Cart
    By nishajh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 May 2015, 05:28 PM
  2. v153 Always show Subcategories, or different categories in sidebox and top menu?
    By BlackOrchidCouture in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 5 Dec 2014, 05:19 PM
  3. Always show subcategories?
    By Rimo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Mar 2011, 12:20 AM
  4. always free shipping icon in featured/special on the main page
    By Jerry5763837 in forum General Questions
    Replies: 10
    Last Post: 10 Mar 2009, 05:00 AM
  5. Always show shopping cart sidebox
    By numinix in forum Customization from the Admin
    Replies: 3
    Last Post: 9 Mar 2009, 05:39 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