# #----------[ OPEN ]---------- # admin/tabs/AdminProduct.php # #----------[ FIND ]---------- # echo htmlentities($accessory['name'], ENT_COMPAT, 'UTF-8').(!empty($accessory['reference']) ? ' ('.$accessory['reference'].')' : '').' <span onclick="delAccessory('.$accessory['id_product'].');" style="cursor: pointer;"><img src="../img/admin/delete.gif" class="middle" alt="" /></span><br />'; # #----------[ REPLACE WITH ]---------- # echo '<a href="index.php?tab=AdminCatalog&id_product='.$accessory['id_product'].'&updateproduct&token='.$this->token.'">'.htmlentities($accessory['name'], ENT_COMPAT, 'UTF-8').(!empty($accessory['reference']) ? ' ('.$accessory['reference'].')' : '').'</a> <span onclick="delAccessory('.$accessory['id_product'].');" style="cursor: pointer;"><img src="../img/admin/delete.gif" class="middle" alt="" /></span><br />';
18 November 2011
Link Product Accessories to Product Page v1.0
Slight improvement to link a product accessory to it's product page in BO. Very useful to check if the accessory is linked back to the main product.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment