jhdesign Posted June 16, 2004 Share Posted June 16, 2004 I want to add the text Subtotal: to the left of the $XX amount in shopping_Cart.php So I edited the box and put this in: if ($cart->count_contents() > 0) { $boxContent .= tep_draw_separator(); $boxContent .= '<div align="left">''Subtotal''</div>'; $boxContent .= '<div align="right">' . $currencies->format($cart->show_total()) . '</div>'; } But I get error on that bolded line. (Line 55) Those are all single ' no double " at all. Any help is appreciated. Link to comment Share on other sites More sharing options...
ryanf Posted June 16, 2004 Share Posted June 16, 2004 Dont know why you have the '' surrounding subtotal. $boxContent .= '<div align="left">Subtotal</div>'; should do it. If I was crafty, this would be a funny signature. Link to comment Share on other sites More sharing options...
jhdesign Posted June 16, 2004 Author Share Posted June 16, 2004 Thank you, worked just fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.