Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
As a logged in user, when I add an item to the wishlist and then call Save() it's not persisting. I can see the version key has changed against the wish list? Does anyone have any ideas?
public JsonResult Favourite(Guid key)
IWishList wishList = ((ICustomer)CurrentCustomer).WishList();
var product = _productService.GetByKey(key);
Using v.2.5.0 and Umbraco v7.6.5.
Thanks in advance,
Did you find a solution to this problem? This week I'm gonna start with implementing a wishlist (preferable through Ajax).
It's good to know what your findings are.
If this is the case, a reason could be the item at hand doesnt have any stock. For a basket, this makes sense, but not for a wishlist.
You can uncomment the following in merchello.config to check:
task type="Merchello.Web.Validation.Tasks.ValidateProductInventoryTask, Merchello.Web"
I wrote a custom version which simply checks if its a wishlisht instead of a regular basket, in that case, it doesnt check the stock.
That is useful info. I will keep that in mind while implementing.
Thank you for pointing me in the right direction. I implemented also a custom task to handle the stock Issue. So all is good now!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted