Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! Need to show Total Price only!


Guest

Recommended Posts

I need to show Total price only on the bottom of my invoice.

 

I have this showing now:

 

Sub-Total: ...

Freight: ...

Points redeemed: ...

Total: ...

 

I want:

 

Total: ...

 

Can anyone help me!

 

I've tried to edit the database strings used to show the prices, but I'm just a beginner with Mysql.

Is there any other way or does anyone have a sollution with the code below (wich shows all the prices).

 

for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {

echo ' <tr>' . "\n" .

' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" .

' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" .

' </tr>' . "\n";

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...