http://ironfeather.com/bbs/viewtopic.php?f=12&t=1900
OPEN CART TIPS version 2+
OpenCart 2.x. How to remove “Add To Wish List†button from the product page
1. Open catalog/view/theme/themeXXX/template/product directory.
2. edit product.tpl
remove or comment out
Code: Select all
<li><button class="btn btn-icon" onclick="wishlist.add('<?php echo $product_id; ?>');">
<i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm"><?php echo $button_wishlist; ?></span></button>
</li>
Remove ‘Wish List’ link from header.
edit catalog/view/theme/default/template/common/header.tpl
remove
Code: Select all
<li><a href="<?php echo $wishlist; ?>" id="wishlist-total" title="<?php echo $text_wishlist; ?>"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_wishlist; ?></span></a></li>