Commit 7b02162e authored by Malcolm Blaney's avatar Malcolm Blaney

Fix table formatting.

parent a3fa74a4
Pipeline #4603536 failed with stage
in 1 minute and 20 seconds
......@@ -535,7 +535,7 @@ class Cart extends Base {
// Paypal does not allow a detailed item description.
$item_names = $method === 'paypal' ? 'Items: ' :
'<table><th>Item Name</th><th>Quantity</th><th>Price</th>';
'<table><tr><th>Item Name</th><th>Quantity</th><th>Price</th></tr>';
$total_price = 0;
$total_weight = 0;
$order_verified = true;
......@@ -564,8 +564,8 @@ class Cart extends Base {
}
}
else {
$item_names .= '<tr>'.$item.'</tr><tr>'.$quantity.'</tr><tr>'.$price.
'</tr>';
$item_names .= '<tr><td>'.$item.'</td><td>'.$quantity.'</td>'.
'<td>'.$price.'</td></tr>';
}
$total_price += $price * $quantity;
$total_weight += $weight * $quantity;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment