cancel
Showing results for 
Search instead for 
Did you mean: 

How to update price based on qty in sales order create search grid

How to update price based on qty in sales order create search grid

Hi There,

 

I have to update pice in admin sales order create search grid.

when admin select product default its qty will be one but if admin chage QTY 2 or more same prouct price need to update in seach grid.

 

I hva to add custom price in same palce.

 

Mage_Adminhtml_Block_Sales_Order_Create_Search_Grid_Renderer_Qty

new Ajax.Request('/ajax/ajax.php',
method:'get',
 parameters: {productid: '<?php echo $row->getId(); ?>', pqty: '2'},
onSuccess: function(transport){
   var response = transport.responseText || 'no response text';
   alert('Success! \n\n' + response);
   
   },

How to update price in seach field.