Jump to content

Wishlist module on product page


jonnyb1250

Recommended Posts

So my problem is I need the 'Add to wishlist' button on the product page. (I'm suprprised this is not a feature by default).

I'm using 1.6.1.4

 

Anywas I dug other forums and found out you have to just paste the wishlisht buton template and you are all set.

<div class="wishlist">
    <a class="button btn addToWishlist wishlistProd_{$product.id_product|intval}"
    href="#"
    data-link="{$product.id_product|intval}"
    onclick="WishlistCart('wishlist_block_list', 'add', '{$product.id_product|intval}', false, 1); return false;"
    title="{l s='Add to my wishlist' mod='blockwishlist'}">
        <span><i class="fa fa-heart-o"></i></span>
    </a>
</div>

But after this the whole page loses the .css styles and the HTML code just stops after the 'wishlist' div. Its empty, no errors whatsoever.

 

end.jpgThanks for the help in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...