Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

changing order total (total price) -> discount


Recommended Posts



I can't get out of it...


I am creating a discount-system, where customers can give a discount code in checkout_payment.php


At page checkout_confirmation, the system looks if discountcode exists, etc... and if it's all checked the system has the extract the discount from the total price. No, I don't know how to do this...


I see the order total data is made by $order_total_modules->process(); and echo $order_total_modules->output(); for the output. But I don't know how i can adjust the total price with discount... can u help me... thx


it's oscommerce milestone 2.2

Link to comment
Share on other sites


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

  • Create New...