osCommerce Order Total Modules Programming
The osCommerce order total modules are displayed in the specified sort order and display the SubTotal, Shipping, Tax, and Total order information.
osCommerce allows for specific logic to be implemented into each order total module that meets stores requirements. Logic implemented include free shipping on orders over $50.00, assignning a tax class to the shipping fee, and display different tax rates as one value or in tax groups.
Module Functions
collect_posts()
called by checkout_confirmation;
This function is used to validate redeem codes.
pre_confirmation_check($order_total)
called by checkout_confirmation;
calculate and return the deductions;
process()
called by checkout_process;
calculate and build the output array (title, text, value).