Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart box


mitchk

Recommended Posts

Hi guys - I'm trying to create a shopping cart box in the right hand column which displays the current amount just like the checkout_confirmation.php page i.e I want it to show :-

 

Sub Total

Carriage

V.A.T

Total

 

now I'm very new to this oscommerce and really can't get my head around it ?

 

I borrowed some code from the checkout_confirmation.php :-

 

require(DIR_WS_CLASSES . 'order.php');

$order = new order;

require(DIR_WS_CLASSES . 'order_total.php');

$order_total_modules = new order_total;

$order_total_modules->process();

 

and then use $order_total_modules->output() to display in my infobox but it only shows the sub-total and the total ?

 

can somebody please tell me how to display the VAT and carriage lines as well while I still have some hair left

 

many thanks in advance.

 

mitch

 

 

- the reason I want it is to continually show exactly how much the customer is spending and a breakdown. I go to many sites only to find that by the time you have registered and then added addresses a few little suprise costings are added - only to be shown at the final confirmation page.... - hope this makes sense

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...