Sachin Saxena

I have two query regarding the Commerce Server:

While writing the custom component how can I get the all the product base properties in the Order dictionary.

We are using "OrderDiscount" component to get only the eligible discounts. We are not using it for calculating the price after discounts. Would it be a good idea to use "OrderDiscount" component or write our own component to find eligible discounts and appply them




Re: Commerce Server 2007 How to get product base properties in Order Dictionary

Sudha Raghavan - MSFT

The QueryCatalogInfo component populates all the properties of every product in the basket.



Re: Commerce Server 2007 How to get product base properties in Order Dictionary

Minah

Can you please tell me how to use QueryCatalogInfo. I need to use it the my custom pipeline component




Re: Commerce Server 2007 How to get product base properties in Order Dictionary

michael aird

just make sure you include it in the pipeline before your custom component. then the values will be populated for you.




Re: Commerce Server 2007 How to get product base properties in Order Dictionary

Minah

How can get the site name in pipeline. I am writing code like

Product oProduct;

CatalogSiteAgent oCatalogSiteAgent = new CatalogSiteAgent();

oCatalogSiteAgent.SiteName = "SiteName";

CatalogContext oCatalogContext = CatalogContext.Create(oCatalogSiteAgent);

oProduct = oCatalogContext.GetProduct(oLineItem.ProductCatalog, oLineItem.ProductId);