Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2010
    Posts
    28
    Plugin Contributions
    0

    Default Remove right sidebox shopping cart from when on shopping cart page

    1.3.9

    I have the shopping cart in a right sidebox on my pages. When on the full shopping cart page, the right sidebar shopping cart still displays. How do I remove it just on that page.

    Thx

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,022
    Plugin Contributions
    3

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    Admin - Configuration - Layout Settings - Shopping Cart Box Status

  3. #3
    Join Date
    Sep 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    I noticed there is an includes/modules/sideboxes/shopping_cart.php file

    I also noticed there is an includes/modules/sideboxes/classic folder

    Does that mean I can override shopping_cart.php in an includes/modules/sideboxes/mytemplate folder?

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

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    That is correct. You will want to add logic to set $show_shopping_cart to true or false according to
    if ($current_page_base == 'shopping_cart') {

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,022
    Plugin Contributions
    3

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    You don't want to use the admin switch ?

  6. #6
    Join Date
    Sep 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    The admin switch doesn't account for "show cart if it isn't full" and "don't show cart on the cart page".

  7. #7
    Join Date
    Sep 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    gjh42,

    If the main page is not referenced directly, is the page name always = to the url param as such:

    main_page=product_info

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

    Default Re: Remove right sidebox shopping cart from when on shopping cart page

    Yes, if you have main_page=product_info in the URL, $current_page_base will be 'product_info'.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 22 Dec 2014, 08:55 PM
  2. Remove shopping cart sidebox from Account History Page
    By maineiac13 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Oct 2010, 07:04 PM
  3. Remove [more] link from shopping cart sidebox header
    By kachana in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Oct 2008, 07:31 PM
  4. Remove Update Button From Shopping Cart when priced by attributes?
    By khaber in forum Customization from the Admin
    Replies: 7
    Last Post: 30 Jul 2008, 02:55 PM
  5. remove header from shopping cart sidebox
    By chabates in forum Addon Sideboxes
    Replies: 7
    Last Post: 23 May 2008, 02:59 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