cancel
Showing results for 
Search instead for 
Did you mean: 

How to return to PDP after adding item to wishlist

Former Member
0 Kudos

I am new to hybris. I am trying to implement the wishlist functionality in the b2c_acc_responsive electronics store. I have created a controller and facade. I added an "Add to Wishlist" button to the product detail page. I am able to successfully create and add the item to the default wishlist. However, when the item is added, I would just like to return to the previous PDP page. I am having a hard time figuring out how to do this. Any help would be appreciated.

Former Member
0 Kudos

Hello Bryan, i have the same problem as you. but after couple of hours in wiki, help, google i don't find a solution. Can you help me with step by step docu? Many Thanks Wolfgang

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The following gets me back to the PDP page:

 return REDIRECT_PREFIX + productModelUrlResolver.resolve(productModel);

Now I would like to mimic the add to cart return and have a modal that gives the option of either viewing the wishlist or continuing shopping.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Bryan, i have the same problem, can you send me a step by step docu? i want also use a wishlist in the electronics store, but after couple of hours in wiki, help and google i am confused more as at beginning. Thanks

Former Member
0 Kudos

Hello Bryan, i have the same problem, can you send me a step by step docu? i want also use a wishlist in the electronics store, but after couple of hours in wiki, help and google i am confused more as at beginning. Thanks