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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -