Is it not possible to add quantity to the Dynamicweb.Ecommerce.CustomerCenter.CustomerProductList.AddToFavorites method?
I would like to add 10 x product to my list, but I cant find a way to do that.
Developer forum
E-mail notifications
AddToFavorites not accepting quantity?
Replies
Hi Martin
You cannot when adding to favorites, but favorites supports quantity.
When products are added to a favorites list, you can update the quantity using
?CC=23&CC123=UpdateProductQuantity&ProductId=Prod1&Quantity=100&CCVariantId=vo1.vo2&CCLanguageId=lang1
Alternatively you can pick up the quantity in the add to favorite list somehow, and update the quantity directly on the database. Only thing is, that the add to favorite list command will finish with a redirect back, and there is no notification to hook into, and before the redirect, there is no record. So some kind of creative implementation is needed if you want it in one command.
I've added a feature request, TFS#42327 to the backlog.
BR Nicolai
Thanks Nicolai. We will try to be a bit creative then, and wait in excitement for TFS#42327 :)
Hi Nicolai! Are there any plans around releasing this feature. If yes, do you have a release date?
Bump! Do you have a release planned for this feature?
No release date. It is currently in the pipeline for 9.4 but with a relatively low priority so not sure it will make it. So I cannot promise anything and would go with the custom implementation of it.
You must be logged in to post in the forum