Friday 15 April 2011

php - Magento - Custom Value on Create Shipment page -



php - Magento - Custom Value on Create Shipment page -

we have custom field in sales_flat_order_item table called "column1". utilize field hold phone call "picked" values.

our process per order line ordered > invoiced > picked > shipped. we'd able ship "picked" items. on create shipment page, i've added picked value so:

using illustration above, can see 1 of teabags ordered , 0 picked. i'd hence "qty ship" value 0 rather 1.

inside /app/design/adminhtml/default/default/template/sales/order/shipment/create/items.phtml can see next lines create "qty ship" field:

<?php echo $this->getitemhtml($_item) ?> <?php echo $this->getitemextrainfohtml($_item->getorderitem()) ?>

how can read our custom "column1" field instead?

thanks! if need more info allow me know.

i've found can done , got working.

the file need alter one:

/app/design/adminhtml/default/default/template/sales/order/shipment/create/items/renderer

line 34 contains code input box. "value" can changed here.

php magento

No comments:

Post a Comment