尽管限制为1并且是私密的,优惠券代码仍然可以工作n次 [英] Coupon code works n number of time despite limit 1 and being private

查看:64
本文介绍了尽管限制为1并且是私密的,优惠券代码仍然可以工作n次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我有优惠券代码可享20美元优惠。 其专用和使用限制设置为1 。我创建了一份报告,发现有些优惠券代码已多次使用。

 I have a coupon code which offers $20 off. Its Private and usage limit is set to 1. I created a report and found that some of the coupon codes have been used multiple times.

进一步挖掘后,我发现表格 [mktg_promocode_transactions]
具有以下值:

Upon further digging I found that table [mktg_promocode_transactions] has following values:

i_pctrans_used_count:  6   

i_pctrans_reserved_count:-11

我的理解是,当篮子/总管道被执行时,它会检查如果优惠券代码通过简单的数学运算有效:

My understanding is that when basket/total pipeline gets executed it checks if the coupon code is valid by doing simple math:

6 + -11)< 1(使用限制) 

由于上述声明为 true ,因此仍可使用优惠券。我不确定商务服务器的哪个部分负责管理保留计数。即使优惠券是私人优惠券,我也可以将其用作公共优惠券。

Since above statement is true, the coupon can still be used. I am not sure what part of commerce server is responsible for managing the reserved count. Even though coupon is private, I can use it as being a public coupon.

这只会在优惠券中使用一定数量的优惠券代码时发生。并非所有人都受到影响我无法跟踪错误。任何帮助将不胜感激。

This only happens with certain number of coupon codes in a coupon. Not all are affected. I am unable to track the bug. Any help will be greatly appreciated.

问候,

推荐答案

根据MSDN,私人代码可能有也可能没有与之关联的用户身份。如果存在,则身份仅用于跟踪目的。私人促销代码的接收者可以将促销代码转发给一个或多个其他用户。这些
代码可能有也可能没有相关的使用限制。

As per MSDN, Private codes may or may not have an user identity associated with them. If present, the identities are used only for tracking purposes. The recipient of a Private promotion code can forward the promotion code to one or more other users. These codes may or may not have an associated usage limit.

您能否确认所有这些订单是否都有优惠券代码折扣?

Can you confirm whether all these orders have availed coupon code discount?


这篇关于尽管限制为1并且是私密的,优惠券代码仍然可以工作n次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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