dothtmaster Posted March 14, 2011 Share Posted March 14, 2011 In mailalerts.phpWhen a new order is placed, it s giving the total price for an item. I need it to display totalprice-sale price. Example:product costs 10.00, product is on sale for 8.00When an order is placed the price should display 8.00 not 10.00Can anyone help? Link to comment Share on other sites More sharing options...
dothtmaster Posted March 15, 2011 Author Share Posted March 15, 2011 $itemsTable = ''; $products = $order->getProducts(); $customizedDatas = Product::getAllCustomizedDatas(intval($params['cart']->id)); Product::addCustomizationPrice($products, $customizedDatas); foreach ($products AS $key => $product) { //$unit_price = $product['product_price_wt']; $unit_price = $product['product_price']; $price = $product['total_price']; I believe it needs to be changed here in mailalerts.phpAny insight? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now