Tuesday, April 24, 2012

Configure Commerce Server 2009 with host header

I created site using SharePoint and Commerce Server. It works successfully with IP or servername but does not work when added a host header. I faced many problems in WCF services multiple binding and authentication.
For multiple binding I Found a solution and wrote this in article:
WCF Multiple binding


For host header,  I discovered missing configuration  .I found Microsoft article for configuring Commerce Host Header:
Configuring Host Header

Thursday, October 30, 2008

Inventory Computations

The quantity a customer requests may be available in full or in part, and can be fulfilled through back-ordering (if back-ordering is allowed) or preordering (if preordering is allowed).
This is an algorithm of Inventory Computations:
If the product catalog is not mapped to an inventory catalog:
BEGIN
If (Treat missing as OutofStock) = true
Inventory SKU condition = OutofStock
Else
Inventory SKU condition = InStock
END
Else
BEGIN
If Stock Handling = 0
BEGIN
If stock status = Disabled
Inventory SKU condition = OutofStock
Else If stock status = Ignored
Inventory SKU condition = InStock
Else If stock status = Enabled
BEGIN
If OnHand Quantity > Effective Stockout Threshold
Inventory SKU condition = InStock
Else
Inventory SKU condition = OutofStock
END
END
Else If Stock Handling = 1
BEGIN
If stock status = Disabled
Inventory SKU condition = OutofStock
Else If stock status = Ignored
Inventory SKU condition = InStock
Else If Stock status = Enabled
BEGIN
If OnHand Quantity > Effective Stockout Threshold
Inventory SKU condition = InStock
Else If (Product is Preorderable AND OnHand Quantity > (Effective Stockout
Threshold + PreorderLimit)
Inventory SKU condition = Preordered
Else If (Product is Backorderable AND OnHand Quantity > (Effective Stockout
Threshold + PreorderLimit + BackorderLimit)
Inventory SKU condition = BackOrdered
Else
Inventory SKU condition = OutofStock
END
END
END

Saturday, May 17, 2008

Commerce Server 2007: On-Demand Webcasts!

The Commerce Server team has put together three new on-demand webcasts to get everyone started developing their solutions. http://www.microsoft.com/technet/prodtechnol/comm/2007/webcasts.mspx

Commerce Server 2007: Technical Overview Whitepaper

Microsoft has recently released their Microsoft Commerce Server Technical Overview document packed full of excellent information for those of you evaluating Commerce Server 2007. http://www.microsoft.com/downloads/details.aspx?FamilyID=039be1c3-8590-4943-8d20-b605e4a61f11&DisplayLang=en

Commerce Server 2007: Partner SDK Now Available

The Commerce Server 2007 Partner Software Development Kit (SDK) is now available for download (registration required).
http://www.microsoft.com/downloads/details.aspx?FamilyID=ccbdad9a-ab38-46c3-9667-9bfceedbbe88&DisplayLang=en

Wednesday, May 14, 2008

Shipment by Weight

When you use commerce server 2007, you can calculate shipment by 3 ways:
1. Shipment by Total
2. Shipment by Quantity
3. Shipment by Weight.

If you tried to use shipment by weight you will face problem because weight is not default property of products.
You need to define weight property and add it to products needs shipment by weight.
if you run total pipeline against basket and you have item hasn't weight property and you assigned shaipment by weight to it, you will find error:
Not found: orderform.items (0). _product_weight. This shipping method requires that all products in the catalog define weight.

This error occurs if:
1. you didn't have weight property of product definition.
2. You didn't fill it's value(null).
3. you didn't add correct information about product (CatalogName, ProductId, VariantId).
4. You didn't run basket pipeline before run total pipeline.

Thursday, May 8, 2008

Commerce Server/IIS: File or assembly name Microsoft.CatalogServer, or one of its dependencies, was not found.

This typically means that you need to configure your site to use v2.0 of the .NET framework. aspnet_regiis -i is one way, another is to manually switch to 2.0 in the ASP.NET tab of the sites IIS property window.


Server Error in '/CatalogWebService' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: File or assembly name Microsoft.CatalogServer, or one of its dependencies, was not found.
Source Error:
Line 75: <compilation>
Line 76: <assemblies>
Line 77: <add assembly="Microsoft.CatalogServer, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 78: </assemblies>
Line 79: </compilation>


Source File: C:\WebSites\CSAdmin\CatalogWebService\web.config Line: 77