OPENCART search by model in featured module -
in opencart when edit featured module, , add new product, search name, , not model...
it possible search product model?? , not name
this happens in modules need add product
you don't need more edit below file only:
\opt\lampp\htdocs\opencart\admin\view\template\module\featured.tpl
on line no.121
url: 'index.php?route=catalog/product/autocomplete&token=<?php echo $token; ?>&filter_name=' + encodeuricomponent(request.term),
you need
url: 'index.php?route=catalog/product/autocomplete&token=<?php echo $token; ?>&filter_model=' + encodeuricomponent(request.term),
you need filter_model parameter type
Comments
Post a Comment