Commerce Server2009 [英] Commerce Server2009

查看:84
本文介绍了Commerce Server2009的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从购物篮中获取订单项并将其绑定到数据网格中。

实际上我们使用商业服务器2009来存储产品细节,通过使用.Net 3.5使用C#语言,我们可以将行项目保存到购物篮。但我想知道如何检索使用Commerce Server 2009和C#从购物篮中获取订单项。

解决方案

Subash,


您可以参考以下博客文章中的代码。同样,您可以用来获取购物篮数据。为此,您需要使用Basket实体替换产品,使用LineItem实体替换 并且关系名称应该是LineItems而不是Variants。


http:/ /microsoftblog.co.in/commerceserver/commerce-foundation-commercequery/


How to get the line Items from the basket and bind it into the data grid.
Actually we are using commerce server 2009 for to store product details,by using .Net 3.5 using C# language ,we can save the line Items to the basket.But i wants to know how to retrieve the line items from the basket using Commerce Server 2009 and C#.

解决方案

Subash,

You can refer to the code in the below blog article. The same way, you can used to fetch basket data. For that you need to replace product with Basket entity, variant with LineItem entity  and the relationship name should be LineItems instead of Variants.

http://microsoftblog.co.in/commerceserver/commerce-foundation-commercequery/


这篇关于Commerce Server2009的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆