显示折扣价 [英] show discounted pricing

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

问题描述

您好,

目标:在将产品添加到购物篮之前显示折扣价格。

Goal: To show discounted pricing prior to adding the product to the basket.

假设:添加操作CommerceQueryOperation_Product消息处理程序下的序列组件,执行与篮子管道类似的内容,减去总计和发货信息,交换更改列表价格,以反映要显示的Web部件的折扣
价格。

Assumption: Add a Operation Sequence Component under the CommerceQueryOperation_Product Message Handler and execute what would be similiar to the basket pipeline, minus the total and shipping information and swap change the list price to reflect the discounted price for the Web Part to display.

风险:我不知道我在做什么.HELP请。

Risk: I have no idea what the heck I'm doing..HELP please.

谢谢

推荐答案

请注意我是否理解您的要求。

Note sure if I understood your requirement.

1。您是否愿意向客户展示折扣 - 如果是,下面的文章将介绍如何显示特定产品的折扣。

http://msdn.microsoft.com/en-US/library/bb219243(v = CS.70)的.aspx

1. Are you willing to show the discounts to the customer - IF yes, the below article explains how to display discounts for specific products.
http://msdn.microsoft.com/en-US/library/bb219243(v=CS.70).aspx

创建一个新的OperationSequenceComponent,它封装了您正在引用的功能,然后在CommerceConfiguration.config文件中添加对此处理程序的引用。

Create a new OperationSequenceComponent that encapsulates the functionality of that you are referencing and next, you add a reference to this handler in your CommerceConfiguration.config file.

2 。如果您想向客户显示应用的折扣金额,那么您必须运行一揽子和总管道(默认情况下,总管道将不会运行 - 这是行为)。

http://microsoftblog.co.in/commerceserver/commerce-server-2009-never-calls- total-pipeline /

如果你确定总管道运行,那么篮子就会有折扣。

2. If you would like to show the applied discount amount to the customer then you have to run basket and total pipeline (by default total pipeline will not run - it is by behaviour).
http://microsoftblog.co.in/commerceserver/commerce-server-2009-never-calls-total-pipeline/
If you make sure the total pipeline runs then the basket will have applied discounts.

希望这有帮助。

关心,

Ravi Kanth Koppala

Regards,
Ravi Kanth Koppala


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

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