RE: need a quick help with an order total module
Ian <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <9e370b3f5e65e94a412dffa558b651a3@osCommerce-Forums> |
This message was sent from: Development http://forums.oscommerce.com/viewtopic.php?p=163703#163703 ---------------------------------------------------------------- Josh, Again your right, the simpler calculation you have is less complicated and in your code situation musch easier. Just to try and justify my solution, my code is lifted (partially) from my discount coupon code. It has to also account for the situation where only some products/categories are eligible for a discount. In this case the get_order_total function takes this into account. Hence the reason I used it in my code above. :)