Hi,
I have just upgraded to Version 1.5.2.1 so I can use the manual sales/order/insert option.
My product names are all similar and the only thing that really differentiates them is the product code and the description.
The auto fill option comes up for the Product in the sales/order/insert/products - Choose Product
I get a list of several items with the same name..i am not entirely sure what order they are displayed in but guessing which of the products you want is a impossible.
Any ideas how/where I would go to change the Choose Product: auto fill field to Choose Product Code:??
Many thanks
Giles
hai friend, i can help you for this problems...
we can make this with vQmode or custom editing....
so now i will show you how to make it custom....
its working v.1.5.4.1
open following page
admin/view/template/sale/order_form.tpl
find this line:
replace to this code:
add following code before "<?php echo $footer; ?>" (this code you can see bottom of this page)
DONE.....
refresh your manual order page, and feel the difference...
sorry friends my english not perfect...
if you got any errors or not working well please email me, i can help you as soon as possible
E-mail: manskkl@gmail.com
we can make this with vQmode or custom editing....
so now i will show you how to make it custom....
its working v.1.5.4.1
open following page
admin/view/template/sale/order_form.tpl
find this line:
Code: Select all
<input type="text" name="product" value="" />
Code: Select all
<input type="text" name="filter_model" value="" />
Code: Select all
<script type="text/javascript">
$('input[name=\'filter_model\']').autocomplete({
delay: 0,
source: function(request, response) {
$.ajax({
url: 'index.php?route=catalog/product/autocomplete&token=<?php echo $token; ?>&filter_model=' + encodeURIComponent(request.term),
dataType: 'json',
success: function(json) {
response($.map(json, function(item) {
return {
label: item.model,
value: item.product_id
}
}));
}
});
},
select: function(event, ui) {
$('input[name=\'filter_model\']').val(ui.item.label);
$('input[name=\'product_id\']').attr('value', ui.item['value']);
return false;
},
focus: function(event, ui) {
return false;
}
});
</script>
refresh your manual order page, and feel the difference...
sorry friends my english not perfect...
if you got any errors or not working well please email me, i can help you as soon as possible
E-mail: manskkl@gmail.com
Who is online
Users browsing this forum: Amazon [Bot] and 15 guests