jhande Posted July 20, 2008 Posted July 20, 2008 Right now on the checkout_confirmation.php page, if a customer orders say 2 of the same product, in that items Total column it only displays the price per single item. Current Example: 1 x 1965 Ford Mustang GT350R $16.00 2 x 1965 Ford Mustang GT350R $16.00 How can I get the displayed Total price to update with multiples of the same item? Wishful Example: 1 x 1965 Ford Mustang GT350R $16.00 2 x 1965 Ford Mustang GT350R $32.00 It's a little misleading for a customer to see 2 x product for the price of one ($16.00). But then down below the Sub-Total shows the correct price ($32.00). I'm not sure but I "think" this is the code that needs work: echo '<td class="main" align="right" valign="top" width="10">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['qty']) . '</td>' . "\n" . '</tr>' . "\n"; But I have no clue really, and if so what to do with it. :huh: I would truely appreciate any help! ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
jhande Posted July 20, 2008 Author Posted July 20, 2008 echo '<td class="main" align="right" valign="top" width="10">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['qty']) . '</td>' . "\n" . '</tr>' . "\n"; Never mind, I figured it out! :D Changed the above line to this: .$currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']). '</td>' . "\n" . '</tr>' . "\n"; - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.