Nice posts from MS CS Forum

Post1: Displaying advertisement depending on basket content


1. User has 1 of product 12345 in their basket
2. They navigate to the cart page
3. See advertisement which says to “buy 1 more to get free shipping” or “buy 1 more to get 10% off” (just examples). There would be discounts defined for these.

Elegant solution of Ravi
1. Create a user profile to store basket line items information.
2. Whenever an item is added to the basket, we will update this user object.
3. whenever a basket is converted into purhase order we will remove items from this profile,.
4. Using marketing manager, set basketitems as target profile. Check my blog which explains how to set target profile.
5. Create advertisements or discounts based on that target expression.

Post2: Will Out of the box MSCS 2009 Webparts work with custom ASP.NET applications?

Useful quotes from Bradley Foley:

“Well, basicially, the webparts they give you depend on sharepoint. If you want to use them with out sharepoint, have to replace those components with your context. You can open/edit them with out Sharepoint, but until those changes are made, they won’t run.
It would be possible, however you would have to use the extensibility kit and completely unhook it’s ties and dependancies on sharepoint.
It’s included with the installation. Look for file. The whole thing is based on a Model View Presenter methodology. You can simply unhook the webparts (from the view) and then create your control. It has worked quite well for us.

You have to make some modifications to the Sitecontext and then to the web.config, but as you try to build from within visual studio these other areas become visible and are easy to change.”

For more information on creating a non-sharepoint dependant website, custom ASP.NET application, check following post:
Post3: Howto establish a multi developer environment for Commerce Server Development?
Post4: Howto change checkout steps of CS 2009? Do we need to change code?