PrestashopEnthu Posted February 22, 2018 Share Posted February 22, 2018 I am looking for a solution to retrieve/grab refund values in order page. I am creating an automatic refund with this value. Currently, I am not able to grab the price as it is returning 0. $order_detail = new OrderDetail((int) $params['id_order_detail']); $products = $this->context->cart->getProducts(true); $cancel_quantity = Tools::getValue('cancelQuantity'); $amount = (float) ($products[(int) $order_detail->id]['product_price_wt'] * (int) $cancel_quantity[(int) $order_detail->id]); After clicking on the checkbox, I will pass the value to refund in another process. Can anybody advise how can I pass the values based on checkboxes selected? Any help is greatly appreciated. Thank you. Link to comment Share on other sites More sharing options...
PrestashopEnthu Posted February 22, 2018 Author Share Posted February 22, 2018 Anyone? 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