Page 5 of 19 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 189
  1. #41
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    Excellent, it works. Thanks :)
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  2. #42
    Join Date
    Feb 2008
    Location
    Washington State
    Posts
    236
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    How would you hide all side boxes for the entire checkout process? (Not to distract the customer from finishing the purchase)

    I don't know what pages are called up during the checkout funnel. *I guess this would include the registration, signin/login, checkout, confirmation etc...

    Would it be something like the code to hide the main page? Maybe there is a setting in the admin panel?

    Please help

  3. #43
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    You can disable left and right sideboxes in includes/templates/YOUR_TEMPLATE/common/tpl_mainpage.php

    There are instructions at the top telling you how to do that.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  4. #44
    Join Date
    Feb 2008
    Location
    Washington State
    Posts
    236
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    Thanks for the quick replay!

    I took a look at the instructions for $flag_disable_left = true; etc... but how could I find out all the pages to put this on for the Checkout process? Or, what are the pages of the process?

    I want the left menu to show for all other pages.. Just not during the checkout process.

    Could somebody help with a list? Or is the answer there in the code somewhere and I didn't see it?

  5. #45
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    Add this to tpl_main_page.php

    $center_column_only = array('checkout');
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  6. #46
    Join Date
    Feb 2008
    Location
    Washington State
    Posts
    236
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    Quote Originally Posted by dealbyethan.com View Post
    Add this to tpl_main_page.php

    $center_column_only = array('checkout');
    Thank you! *Didn't think it was going to be That easy!

  7. #47
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    You're welcome. Glad to hear you got it working.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  8. #48
    Join Date
    Feb 2008
    Location
    Washington State
    Posts
    236
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    This would work as well

    Code:
    	  if (in_array($current_page_base,explode(",",'login,checkout')) ) {
        $flag_disable_left = true;
      }

  9. #49
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Show/Hide sideboxes based on page

    i want to hide the category sidebox untill a user logs in

    Is that possible

  10. #50
    Join Date
    Mar 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Show/Hide sideboxes based on page

    Hello all-
    I am in the process of getting my ZenCart pages up and running, hopefully for a launch on the 17th of April. My question is, I have created, using the editable sidebax contribution, a rotating set of vintage ads and other images on my antiques site and I would like for this sidebox to be active ONLY on the main page, as I feel it's a distraction throughout the entire shop. I really just added it because I thought it would be neat and give my visitors something else to look at. How would I go about doing that in the most efficient way? If you need it, the store URL is: http://www.mrtomsalley.com/catalog Thanks for any help!

    Harry

 

 
Page 5 of 19 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. v150 Any way to show/hide payment modules dynamically based on order total?
    By Limitless in forum Addon Payment Modules
    Replies: 2
    Last Post: 27 Sep 2012, 03:22 PM
  2. Show/Hide INformation Sidebox based on page
    By atracksler in forum Basic Configuration
    Replies: 12
    Last Post: 17 Jun 2011, 04:21 PM
  3. Show/Hide sideboxes based on page
    By monkeyjr47906 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 29 Nov 2007, 07:25 PM
  4. Hide sideboxes on main page
    By disciple in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 11 Jan 2007, 07:38 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