Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2012
    Location
    Worldwide
    Posts
    13
    Plugin Contributions
    0

    application error How do I hide sideboxes on product pages and shopping cart?

    Hello

    I was wondering how I could be able to hide sideboxes on product pages and shopping process?

    I tried to look into admin but I cannot find anything that will let me do it. Please, advice

    Thank you in advance

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

    Default Re: How do I hide sideboxes on product pages and shopping cart?

    Do you want to hide the whole sidebar(s), or just certain sideboxes?
    You will need to make simple edits to some PHP files, depending on which element you want to hide.

  3. #3
    Join Date
    Feb 2012
    Location
    Worldwide
    Posts
    13
    Plugin Contributions
    0

    application error Re: How do I hide sideboxes on product pages and shopping cart?

    Quote Originally Posted by gjh42 View Post
    Do you want to hide the whole sidebar(s), or just certain sideboxes?
    You will need to make simple edits to some PHP files, depending on which element you want to hide.
    yes, left and right sideboxes only . how can I do it?

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

    Default Re: How do I hide sideboxes on product pages and shopping cart?

    So you want all sideboxes gone and the center content to fill the screen on those pages?

    https://www.zen-cart.com/tutorials/i...hp?article=233

  5. #5
    Join Date
    Feb 2012
    Location
    Worldwide
    Posts
    13
    Plugin Contributions
    0

    Idea or Suggestion Re: How do I hide sideboxes on product pages and shopping cart?

    Quote Originally Posted by gjh42 View Post
    So you want all sideboxes gone and the center content to fill the screen on those pages?

    https://www.zen-cart.com/tutorials/i...hp?article=233
    Thank you.

    I found that yesterday but I couldn't find how to make it for product pages and shopping cart process . any idea?

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

    Default Re: How do I hide sideboxes on product pages and shopping cart?

    if (in_array($current_page_base, explode(",", 'product_info,checkout_shipping,checkout_payment,checkout_success')) ) {

    Add any page names you need. You can find the name in the address bar after the main_page=.

  7. #7
    Join Date
    Feb 2012
    Location
    Worldwide
    Posts
    13
    Plugin Contributions
    0

    application error Re: How do I hide sideboxes on product pages and shopping cart?

    Quote Originally Posted by gjh42 View Post
    if (in_array($current_page_base, explode(",", 'product_info,checkout_shipping,checkout_payment,checkout_success')) ) {

    Add any page names you need. You can find the name in the address bar after the main_page=.
    Thank you a lot, very well tutorial.

    product_info (done)

    I did it with product info but I couldnt it with the others because I renamed them before using SEO module and it gave me an error.

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

    Default Re: How do I hide sideboxes on product pages and shopping cart?

    Does it work if you turn off the rewrite mod? If that interferes with such a fundamental kind of coding, I would be wary of what else it might mess up. Get your store working correctly and then if you feel you must have pretty URLs, apply a rewriter.

  9. #9
    Join Date
    Feb 2012
    Location
    Worldwide
    Posts
    13
    Plugin Contributions
    0

    Idea or Suggestion Re: How do I hide sideboxes on product pages and shopping cart?

    Quote Originally Posted by gjh42 View Post
    Does it work if you turn off the rewrite mod? If that interferes with such a fundamental kind of coding, I would be wary of what else it might mess up. Get your store working correctly and then if you feel you must have pretty URLs, apply a rewriter.
    Yes, I realized it .

    Thank you a lot

  10. #10
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: How do I hide sideboxes on product pages and shopping cart?

    If this helps, you can turn them off with CSS, if your SEO mod still causes issues.

    You'd have to embed this CSS on the actual page you want to turn it off though..

    <style type="text/css">

    .leftColumn, .rightColumn {display:none}

    </style>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to hide 'New Products' on shopping cart page.
    By pewe in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Nov 2013, 06:16 PM
  2. Replies: 24
    Last Post: 16 Nov 2009, 04:20 PM
  3. Skipping the product info and shopping cart pages
    By jack7890 in forum General Questions
    Replies: 5
    Last Post: 14 May 2009, 11:38 AM
  4. Replies: 1
    Last Post: 15 Mar 2008, 11:29 AM
  5. How can I hide inventory warnings on shopping cart page?
    By John Vieth in forum General Questions
    Replies: 1
    Last Post: 26 Nov 2007, 02:56 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR