Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2013
    Posts
    5
    Plugin Contributions
    0

    Default How i can hide side Boxes when product description display?

    Hi,

    please intimate to me how i can hide my site side boxes when some one see my product description and (I want this only for product description) and other pages i don't want hide my boxes.


    Please help me.


    Thanks.

    Rajesh Verma

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: How i can hide side Boxes when product description display?

    To stop side columns on certain pages, you edit:

    includes/templates/YOUR_TEMPLATE/templates/tpl_main_page.php

    IF THIS FILE DOES NOT EXIST IN THAT LOCATION, TRANSFER A COPY OF IT FROM:
    includes/templates/template_default/templates/tpl_main_page.php

    Open it for editing using a PLAIN TEXT EDITOR

    Find this section:

    Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        $flag_disable_right = true;
      }
    Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      if (in_array($current_page_base,explode(",",'product_info')) ) {
        $flag_disable_right = true;
      }
      if (in_array($current_page_base,explode(",",'product_info')) ) {
        $flag_disable_left = true;
      }
    Last edited by schoolboy; 15 Feb 2013 at 12:09 PM.
    20 years a Zencart User

 

 

Similar Threads

  1. How can I hide Catagories Description?
    By jamesharding in forum Basic Configuration
    Replies: 3
    Last Post: 11 Nov 2010, 12:04 PM
  2. Product description pushing right side boxes out of margins
    By fightandflight in forum General Questions
    Replies: 0
    Last Post: 23 Apr 2008, 02:09 PM
  3. Replies: 2
    Last Post: 11 Feb 2008, 03:15 PM
  4. How can I display attribute selections side by side? ie: date fields
    By aaelghat in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 23 Mar 2007, 06:56 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