Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    33
    Plugin Contributions
    0

    Default Turn off side-boxes in checkout

    Was wondering...is there a way in admin to turn off the sideboxes just during the checkout process? The idea is to keep customers from getting distracted and on-track with the purchase. I'm sure I can modify the templates but would rather not if I can avoid it.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,093
    Plugin Contributions
    25

    Default Re: Turn off side-boxes in checkout

    This takes a very small mod to /includes/templates/your_template/common/tpl_main_page.php.
    Find this at the top of the file
    PHP 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;
      } 
    and change to
    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    if (in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_success')) ) {
        
    $flag_disable_left true;
        
    $flag_disable_right true;
      } 
    Look at the page names in your address bar to verify that their names are checkout_shipping,checkout_payment,checkout_success; alter the explode content if necessary.

  3. #3
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,922
    Plugin Contributions
    3

    Default Re: Turn off side-boxes in checkout

    Quote Originally Posted by eflat View Post
    Was wondering...is there a way in admin to turn off the sideboxes just during the checkout process? The idea is to keep customers from getting distracted and on-track with the purchase. I'm sure I can modify the templates but would rather not if I can avoid it.
    Glen's suggestion is the most appropriate method, and is simple to undertake.

    I tend to agree with your idea of removing "distractions" from the checkout pages, so this is a sensible move.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  4. #4
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    122
    Plugin Contributions
    1

    Default Re: Turn off side-boxes in checkout

    Thank you for this advice and information. It was just what I needed.
    Today I am trying something different. Read the install.txt Read the FAQ Read the forum for answers; Then Install the mod. ;-)
    AML Candles

 

 

Similar Threads

  1. Turn off side boxes during checkout?
    By Makoshark in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Jun 2009, 10:09 AM
  2. Side Boxes -v- Editable Side Boxes
    By annav in forum Addon Sideboxes
    Replies: 5
    Last Post: 5 Jan 2009, 12:33 PM
  3. Make categories side box different from other side boxes
    By Jeff G in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Nov 2007, 10:16 PM
  4. How do I delete all of the side boxes on the right hand side?
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Oct 2007, 03:53 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
  •