php - Magento 1.9.3.1 Re-Order not showing custom price -


just noticed on magento site, if have placed order customer using custom price, when using re-order function not pull on custom price previous order.

i have tried adding code on file app/code/local/mage/adminhtml/model/sales/order/create.php, under initfromorderitem public function

if ($orderitem->getoriginalprice() != $orderitem->getprice()) $item-     setcustomprice($orderitem->getprice()); 

when using code tick custom price, in custom price box displays original price.

can advise on this?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -