In catalog/controller/product/product.php file,
find:
Code: Select all
'reviews' => sprintf($this->language->get('text_reviews'), (int)$result['reviews']),
Code: Select all
'model' => $result['model'],
find:
Code: Select all
<div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" /></a></div>
<?php } ?>
<div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></div>
Code: Select all
<div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?> (<?php echo $product['model']; ?>)" title="<?php echo $product['name']; ?> (<?php echo $product['model']; ?>)"/></a></div>
<?php } ?>
<div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a> (<?php echo $product['model']; ?>)</div>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
find:
Code: Select all
'name' => $related_info['name']
Code: Select all
'model' => $related_info['model'],
find:
Code: Select all
<div id="product-related<?php echo $product_related['product_id']; ?>" class="<?php echo $class; ?>"> <?php echo $product_related['name']; ?><img src="view/image/delete.png" />
Code: Select all
<div id="product-related<?php echo $product_related['product_id']; ?>" class="<?php echo $class; ?>"> <?php echo $product_related['name']; ?> (<?php echo $product_related['model']; ?>)<img src="view/image/delete.png" />
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
in this section:
Code: Select all
$('input[name=\'related\']').autocomplete({
Code: Select all
label: item.name,
Code: Select all
label: item.name + '(' + item.model + ')',
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
label: item.name + '(' + item.model + ')',
Code: Select all
label: item.name + '(' + item.sku + ')',
Any ideas?
However, you'd also need to state the following from admin/controller/catalog/product.php file
where:
Code: Select all
'name' => html_entity_decode($result['name'], ENT_QUOTES, 'UTF-8'),
'model' => $result['model'],
Code: Select all
'sku' => $result['sku'],
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
http://forum.opencart.com/viewtopic.php ... 63#p231290
replace the last step
from:
Code: Select all
<div id="product-related<?php echo $product_related['product_id']; ?>" class="<?php echo $class; ?>"> <?php echo $product_related['name']; ?> (<?php echo $product_related['model']; ?>)<img src="view/image/delete.png" />
Code: Select all
<div id="product-related<?php echo $product_related['product_id']; ?>" class="<?php echo $class; ?>"> <?php echo $product_related['model']; ?><img src="view/image/delete.png" />
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 26 guests