spencermjax Posted December 4, 2006 Posted December 4, 2006 I want to add the subtotal, tax (if applicable), shipping & total to the checkout_payment page. as of now I have tried the following, stolen from checkout_process.php. No luck, just errors. <?php if (MODULE_ORDER_TOTAL_INSTALLED) { $order_total_modules->process(); echo $order_total_modules->output(); } ?> I have also tried the following. It worked. I got the total number of items ordered, total cart amount(subtotal). now all I need it to get the shipping, tax and total. Items Ordered:<?php echo $cart->count_contents(); ?> <br> Order Total:<?php echo $cart->show_total(); ?> Ay thoughts or ideas would be apprecieated.
Neek Posted December 4, 2006 Posted December 4, 2006 I want to add the subtotal, tax (if applicable), shipping & total to the checkout_payment page. as of now I have tried the following, stolen from checkout_process.php. No luck, just errors. <?php if (MODULE_ORDER_TOTAL_INSTALLED) { $order_total_modules->process(); echo $order_total_modules->output(); } ?> I have also tried the following. It worked. I got the total number of items ordered, total cart amount(subtotal). now all I need it to get the shipping, tax and total. Items Ordered:<?php echo $cart->count_contents(); ?> <br> Order Total:<?php echo $cart->show_total(); ?> Ay thoughts or ideas would be apprecieated. I'm not sure if this is what you're looking for but I installed this recently and it works great. You will have to manually add your State taxes. http://www.oscommerce.com/community/contri...ch,new+york+tax
Recommended Posts
Archived
This topic is now archived and is closed to further replies.