Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $order_detail = new OrderDetail((int) $params['id_order_detail']);
- $products = $this->context->cart->getProducts(true);
- $amount = (float) ($products[(int) $order_detail->id]['product_price_wt'] * (int) $cancel_quantity[(int) $order_detail->id]);
Add Comment
Please, Sign In to add comment