I believe the colspan setting of 4 is incorrect for the subtotal column in checkout, thereby causing IE / Chrome to not display a right border. Changing line 620 of uc_cart_checkout_pane.inc to colspan=3 seems to solve the issue.

original:

$rows[] = array(
      'data' => array(array('data' => '<span id="subtotal-title">' . t('Subtotal:') . '</span> ' . uc_price($subtotal, $context), 'colspan' => 4, 'class' => 'subtotal')),
      'class' => 'subtotal',
    );

modified / corrected:

$rows[] = array(
      'data' => array(array('data' => '<span id="subtotal-title">' . t('Subtotal:') . '</span> ' . uc_price($subtotal, $context), 'colspan' => 3, 'class' => 'subtotal')),
      'class' => 'subtotal',
    );
CommentFileSizeAuthor
#1 uc_cart_checkout_pane.inc_.patch636 bytestr

Comments

tr’s picture

Title: cart contents right border disappears in checkout (Chrome / IE) » colspan value is wrong for subtotal row in cart checkout pane
Version: 6.x-2.2 » 6.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new636 bytes

colspan=4 is definitely wrong, because there are only three columns defined. Here's a patch.

tr’s picture

I think this is ready to go? Bumping up...

Island Usurper’s picture

Status: Needs review » Fixed

Wow, this has been wrong for a long, long time. Good job figuring out the problem.

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.