nick_escu Posted May 28, 2010 Share Posted May 28, 2010 Hi,I would like to remove the "stock" column and also the "returned" column from the table of products in the order detail page in the admin orders tab (see attach).version 1.2.5Could someone help me ?Thank you, adminorder-stock.pdf Link to comment Share on other sites More sharing options...
rocky Posted May 28, 2010 Share Posted May 28, 2010 Change lines 613-616 of admin/tabs/AdminOrders.php: '.($order->hasBeenPaid() ? ''.$this->l('Refunded').'' : '').' '.($order->hasBeenDelivered() ? ''.$this->l('Returned').'' : '').' '.$this->l('Stock').' '.$this->l('Total').' to: '.($order->hasBeenPaid() ? ''.$this->l('Refunded').'' : ''). // '.($order->hasBeenDelivered() ? ''.$this->l('Returned').'' : '').' // '.$this->l('Stock').' ''.$this->l('Total').' and lines 663-666 from: '.($order->hasBeenPaid() ? ''.intval($product['product_quantity_refunded']).'' : '').' '.($order->hasBeenDelivered() ? ''.intval($product['product_quantity_return']).'' : '').' '.intval($stock['quantity']).' '.Tools::displayPrice($product['product_price'] * (1 + ($product['tax_rate'] * 0.01)) * (intval($product['product_quantity']) - $product['customizationQuantityTotal']), $currency, false, false).' to: '.($order->hasBeenPaid() ? ''.intval($product['product_quantity_refunded']).'' : ''). //'.($order->hasBeenDelivered() ? ''.intval($product['product_quantity_return']).'' : '').' //'.intval($stock['quantity']).' ''.Tools::displayPrice($product['product_price'] * (1 + ($product['tax_rate'] * 0.01)) * (intval($product['product_quantity']) - $product['customizationQuantityTotal']), $currency, false, false).' Link to comment Share on other sites More sharing options...
nick_escu Posted May 28, 2010 Author Share Posted May 28, 2010 Thank you very much ! 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