Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > E-Commerce Wishlist View modes: 
User avatar
Member
Member
alex-r42 - 7/21/2011 10:23:04 AM
   
E-Commerce Wishlist
Hello,

I would like to use the wishlist webpart for users that are not authenticated (anonymous users). Ideally users can come to the site and add items to the wishlist. is there an easy way to do this or do I have to rewrite the web part?

Alex

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 7/22/2011 5:41:56 AM
   
RE:E-Commerce Wishlist
Alex,

Sure, you can do that by modifying Wishlist web part (~\CMSWebParts\Ecommerce\Wishlist.ascx.cs). By default, this web part is storing UserID, SKUID and SiteID in COM_Wishlist table which you cannot use in this case because each record would need to have valid reference to product, user and site information. This is the limitation – database structure. What you can do is to extend this table and add custom field/column which will hold some cookie information (plus of course correct reference to public user – since user is not authenticated) or you can develop completely custom web part which will store such information in some custom table.

Best regards,
Miro Remias

User avatar
Member
Member
mark@handmadedigital.com.au - 10/31/2013 4:49:08 PM
   
RE:E-Commerce Wishlist
Hi, Is the reply above the suggested approach for Kentico v7?

Or has this functionality been included in the new version?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/1/2013 11:29:49 AM
   
RE:E-Commerce Wishlist
Hello Mark,

Unfortunately, as this will require a more complex modifications, it still haven't been implemented. You can see the latest version of Kentico and this Web Part also on a special site -> E-commerce Demo Store. "Wishlist is available for registered users only."

Best regards,
Martin Danko