Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Shopping cart sidebox problem

Shopping cart sidebox problem

Locked

Views: 511

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
20 Jun 2010, 9:14 PM
#1
dan123 avatar

dan123

New Zenner

Join Date:
Apr 2008
Posts:
82
Plugin Contributions:
0

Shopping cart sidebox problem

Hi all, I am sorry if this thread already exists, I just couldn't find anything relevant. I have a small bug, I changed a little bit the look of my shopping cart sidebox, and added a line to show the price for each product, everything works but now the price has two additional zeroes at the end. (something like this - $6.9900). Here is the line to which I added code :

$content .= $products[$i]['quantity'] . BOX_SHOPPING_CART_DIVIDER . $products[$i]['name'] . ' (' . $products[$i]['model'] . ') -$' . $products[$i]['price'] . '</a></span></li>' . "\n";

Does anybody know how to fix that?