Hi there!
I wanna make a change in my admin featured form.
So, when i want to add a product to featured list, from admin>extension>featured, it shows me only the name of the product, in SUGGESTION LIST! I want to show the model of product too, because i have more products with the same name. So, can anyone help me?
Edit the file admin/controller/catalog/product.php and find the code:
and change it into:
Code: Select all
$json[] = array(
'product_id' => $result['product_id'],
'name' => strip_tags(html_entity_decode($result['name'], ENT_QUOTES, 'UTF-8')),
'model' => $result['model'],
'option' => $option_data,
'price' => $result['price']
);
Code: Select all
$json[] = array(
'product_id' => $result['product_id'],
'name' => strip_tags(html_entity_decode($result['name'], ENT_QUOTES, 'UTF-8')) . '-' . $result['model'],
'model' => $result['model'],
'option' => $option_data,
'price' => $result['price']
);
Who is online
Users browsing this forum: Semrush [Bot] and 144 guests