Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Need help with IE7 Display in Shopping Cart

    On the shopping cart page of http://www.rockymtngift.com , the right side cuts off in IE7 obscuring the remove from cart button. This is a very slight modification of the classic template. Looks fine in FF3 and IE8. I can't figure out where the problem is. I don't care about IE6 and below, but it needs to work in IE7. Anyone with any clues?

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Need help with IE7 Display in Shopping Cart

    Internet explorer eh?

    I think that this probably has to do with the fact that the table has a width of 100% which combined with borders, margins and padding is screwing IE up.

    Just guessing because I don't run IE on this laptop.

    If I am right then the way to check is to change the 100% to something smaller. To do this find a file called tpl_shopping_cart_default.php (includes/templates/yourtemplate/templates) and find the bit that reads:

    Code:
    <table  border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
         <tr class="tableHeading">
            <th scope="col" id="scQuantityHeading"><?php echo TABLE_HEADING_QUANTITY; ?></th>
            <th scope="col" id="scUpdateQuantity">&nbsp;</th>
    Change the 100% to 90% and see what happens. Sorry to be a bit vague but without a full version of ie7 it is hard to fault find

  3. #3
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Need help with IE7 Display in Shopping Cart

    Also you could try changing this rule in the stylesheet.css

    Code:
    .centerColumn, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
    	padding: 0.8em;
    	}
    I have a feeling that it is the padding that is causing the problem. Temporarily set the padding to 0 because the width is 100% so of the center column so adding in the padding IE7 thinks that the contents are wider than the container.

  4. #4
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Need help with IE7 Display in Shopping Cart

    Thanks! That worked great. I just wasn't sure where to find that table. Now the #cartSubTotal is too wide. Changing the width in percentages on that in the css doesn't work on a fluid layout. A window resize breaks it. Any hints on that?
    Last edited by wpwdmama; 21 Aug 2009 at 12:54 AM. Reason: clarification

  5. #5
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Need help with IE7 Display in Shopping Cart

    Ok, good enough. I hate IE's box model! Just added a wrapper div around the table and the SubTotal div. Set a width on it and reset the table to 100%. All is well.

  6. #6
    Join Date
    Aug 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Need help with IE7 Display in Shopping Cart

    I'm very interested! I would love to find out more.
    script install

  7. #7
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Need help with IE7 Display in Shopping Cart

    It's easy. Just go to your tpl_shopping_cart_default.php (includes/templates/yourtemplate/templates) page and before the <table> tabe put in a <div> tag. Then go down to below the final </div> tag and put in another closing </div> tag. Set a class to it, and define the class in your css file. Upload it, and you're ready to go! PM me if you need more help.

 

 

Similar Threads

  1. In need of someone to help us with out Shopping Cart...
    By Randall Power in forum General Questions
    Replies: 10
    Last Post: 12 May 2013, 07:33 PM
  2. v151 Running a 'Showroom' Store with Shopping Cart turned OFF - need help on a few tweaks
    By Don Wagner in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Oct 2012, 11:16 AM
  3. Need help with Shopping Cart Class
    By foreverdita in forum General Questions
    Replies: 0
    Last Post: 26 Nov 2010, 04:52 PM
  4. I need a brave soul / shopping cart display
    By ilsita in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Oct 2009, 07:40 PM
  5. Need Help with Shopping Cart
    By hamspots in forum General Questions
    Replies: 2
    Last Post: 19 Jan 2009, 03:18 AM

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