when used autocomplete in opencart admin shows drop down list of product names (just featured products modules). want show model number instead of product name. if know how can ?
thanks in advance.
i think need show instead on product name show model name or other thing. go admin-->controller-->module-->featured modules(any other)
goto code
if ($product_info) { $this->data['products'][] = array( 'product_id' => $product_info['product_id'], 'name' => $product_info['product_name'] ); }
replace needs
if ($product_info) { $this->data['products'][] = array( 'product_id' => $product_info['product_id'], 'name' => $product_info['model'] ); }
now need refresh it. product name replace model name in admin panel.
Comments
Post a Comment