Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2006
    Posts
    163
    Plugin Contributions
    0

    Default Remove left column from product page

    I have a request from one of my clients to remove the left column from only from the product info page. The domain is arlingtonroadoutdoor.com They want the left column (categories, information sidebox) visible on every other page - just not the actual product info page. I only know how to turn it on and off globally - is their any way to do it for one specific page? HELP!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Remove left column from product page

    Open your common tpl_main_page and read the instructions for removing elements from specific pages. You may want to caution them about removing the main navigation though ... could be confusing to the customer. a better idea might be to get rid of the right hand column all the time.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Remove left column from product page

    why not change the left column 150px to 0px? idid that last night and it worked. need to turn OFF all sidebox, although.

  4. #4
    Join Date
    Mar 2006
    Posts
    163
    Plugin Contributions
    0

    Default Re: Remove left column from product page

    kim - i tried that but for some reason it isn't turning it off. It is just putting the code on the product page. (I did warn them about navigation problems - but they still insisted for some reason!!!)

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove left column from product page

    That switch works if you set it up properly. Post the region of tpl_main_page.php around your edits and we should be able to sort it out.

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Remove left column from product page

    Firstly, if you don't already have one, create an over-ride file for tpl_main_page.php in your includes/templates/YOUR_TEMPLATE/common directory.

    Find this in tpl_main_page.php
    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;
    }

    Replace with this:

    if (in_array($current_page_base,explode(",",'product_info')) ) {
    $flag_disable_left = true;
    }

    This should do the trick for you.

  7. #7
    Join Date
    Mar 2009
    Location
    Raleigh, NC
    Posts
    31
    Plugin Contributions
    0

    Default Re: Remove left column from product page

    you can go to configuration ---> Layout settings and set Column right or left status-global to 0 to turn them off on all pages or you can use this faq, it worked like a charm https://www.zen-cart.com/tutorials/i...hp?article=270

 

 

Similar Threads

  1. How to remove left column on index page?
    By Alexiss in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Oct 2011, 09:33 AM
  2. How to Remove the Left Column from the Product Info Display Page??
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 Aug 2009, 03:37 PM
  3. Need help to remove left and right column from template
    By jeba in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Jul 2009, 03:08 PM
  4. How Can I remove the New Products section from left column?
    By Nima in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 May 2009, 09:45 PM
  5. Remove Left Column from Index Page Only
    By thirtytwo16 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 14 Dec 2006, 08:26 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