嗨,我正在使用Woocommerce积分和奖励插件,因此用户可以为某些折扣应用积分,我还提供了优惠券代码选项,因此用户也可以应用优惠券代码。但是我在设置中禁用了优惠券的连词,因为我只想向用户使用一张优惠券。
现在的问题是,如果优惠券代码已被应用,我将无法兑换积分,因为积分奖励插件会转换优惠券中的积分,然后将其应用于折扣。
我想通过插件修改该功能,因此它不应转换优惠券中的积分。 下面查看代码
l = 0 x = 0 c = 0 m = 2 d = 5
l = 1 x = 1 c = 0 m = 1 d = 2
l = 2 x = 1 c = 0 m = 0 d = 1
l = 3 x = 1 c = 0 d = 0
l = 3 x = 2 c = 1 d = 1
l = 2 x = 2 c = 2 d = 2
l = 1 x = 2 c = 3 m = 4 d = 5
l = 2 x = 1 c = 3 m = 3 d = 4
l = 3 x = 1 c = 3 d = 3
l = 3 x = 2 c = 4 d = 4
l = 2 x = 2 c = 5 d = 5