Transition Posted June 27, 2006 Posted June 27, 2006 I'm trying to complete some little tweaks to my site, and one of them involves having the order total, minus shipping, available on the checkout_success.php page. All i need to know is simply what variable/class i can use to retrieve this information. Any help with this would be highly appreciated! - Rj
Guest Posted June 28, 2006 Posted June 28, 2006 Use the order class. Build an order object require(DIR_WS_CLASSES . 'order.php'); $order = new order($orders['orders_id']); then you have everything. Change the order query to pass also the class, value columns and set them in the totals array. You may also have to move the sql query for the orders outside the global notifications check so the order_id is always available
Recommended Posts
Archived
This topic is now archived and is closed to further replies.