Jump to content

Wishlist Error


Recommended Posts

I added the Wishlist module but when I click the "Add to Wishlist" link nothing happens. Checked in Firebug and it is showing this error:

wishlistBlockOffset is null
[break On This Error] .animate({ 'width': $element.attr(...ishlistBlockOffset.left + 15 }, 1000)
Line 55

Anyone know what's causing this?

Link to comment
Share on other sites

What version of PrestaShop are you using? Make sure that the wishlist module is installed in all of its hooks. If you remove the wishlist block from the left or right column, then it won't function correctly, since there will be nowhere for the module to animate to.

Link to comment
Share on other sites

This may be the problem as I don't have a left or right column. Is it not possible to make the Wishlist work without having this block appear in one of those columns.

I was hoping usings could access their wishlist via their Customer Account.

Link to comment
Share on other sites

The only solution I can think of is to delete the code that transfers the product to the wishlist block. Hopefully, it will then still be added to the wishlist and there will be no Javascript error. Of course, there will be no indication to the customer that the product was successfully added to the wishlist. See my post here to add an alert box when a product is added.

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...