Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redesign calculation @ Checkout confirmation


Criss_hr

Recommended Posts

Hello,

I am trying to change numbers in checkout_confirmation page (osCommerce 2.3.1).

Calculation is ok, and it basicly look like this:

 

Subtotal: 120.00 eur (which is the price including tax)

Shipping: 2.00 eur

Tax: 20.00 eur

 

Total: 122.00 eur (which is the brutto price with shipping cost)

 

-----------------------------------------------------------------------------------------------

 

And i woul like to look like this:

 

 

Subtotal: 100.00 eur (price without tax)

Shipping: 2.00 eur

Tax: 20.00 eur

 

Total: 122.00 eur (which is the brutto price with shipping cost)

 

-------------------------------------------------------------------------------------------------

 

I would like also to have that kind of corection in sent e-mails.

 

- I try to take line in catalog/checkout_confirmation.php

 

if (MODULE_ORDER_TOTAL_INSTALLED) {

echo $order_total_modules->output();

}

...which is basicly displaying this numbers and just to modify the result,

but my knowledge about php objects is not quite large.

 

Would appreciate any help...

Thanks

Link to comment
Share on other sites

you will need to change the code in the file where the subtotal is being displayed for the order total modules. And in reference to that, you will need a new parameter (right now subtotal, make it subtotal_notax) that you fill up with your preoducts in the shopping cart class. coding experience needed for this one ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...