> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aftersell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 如何在奖励目标中排除折扣

> 本文说明如何防止已应用的折扣降低 Upcart 奖励进度条中的进度。

<div id="overview">
  # 概述
</div>

默认情况下，客户应用的折扣会降低其获得奖励的进度：奖励进度条衡量的是折扣**之后**的购物车总额。一个 \$100 的购物车应用 \$20 的折扣后，会按 \$80 计入你的等级门槛。

只需勾选一个复选框即可改变这一点，无需任何代码。

<img src="https://mintcdn.com/aftersell/uVGuDiyXpd6WOLO4/images/upcart/reward-goal-discounts-use-pre-discounted-prices.png?fit=max&auto=format&n=uVGuDiyXpd6WOLO4&q=85&s=8c38b7b1c0b51daab2f57d17e4df0518" alt="Use pre-discounted prices for cart total 复选框设置及说明" width="591" height="124" data-path="images/upcart/reward-goal-discounts-use-pre-discounted-prices.png" />

***

<div id="how-to-ignore-discounts-in-reward-calculations">
  ## 如何在奖励计算中忽略折扣
</div>

前往 Cart Editor 中的 **Rewards** 模块，打开 **Rewards calculation** 部分。

启用标记为以下内容的复选框：\
**“Use pre-discounted prices for cart total”**

<Note>
  只有当 **Rewards calculation** 设置为 **Cart total (\$)** 时，该复选框才会显示。在 **Cart quantity (#)** 模式下它没有任何作用，因此会被隐藏。
</Note>

启用后：

* 奖励进度条会以**应用任何折扣之前的购物车总额**为基础计算进度
* 已应用的折扣——无论是手动折扣码还是自动折扣——不再降低进度
* 客户在应用优惠券后不会失去奖励进度

如果你希望客户即使应用了优惠券也能继续解锁奖励，请使用此设置。

***

<div id="default-behavior-without-this-setting-enabled">
  ## 未启用此设置时的默认行为
</div>

复选框**关闭**时，进度以应用所有折扣之后的购物车总额来衡量。

示例：

* 第 1 级 = 满 \$100 免运费
* 购物车 = 折扣前 \$100，应用 \$20 折扣后 → 变为 \$80
* 结果 = 进度条显示 \$80 / \$100，因此奖励**未**解锁

这样可以避免在客户的购物车已不再满足门槛时，仍告知其已解锁免运费。

<Warning>
  \*\*这一行为不会因奖励类型而异。\*\*无论第 1 级是免运费、商品还是折扣，都采用相同的计算方式。上面提到的那个复选框就是控制它的开关。
</Warning>

***

<div id="rewards-youve-already-earned-dont-count-toward-the-next-tier">
  ## 已获得的奖励不计入下一等级
</div>

与折扣设置无关，购物车中已有的任何奖励商品的价值会在衡量进度之前被扣除。客户刚刚解锁的免费赠品本身无法推动其达到下一等级。礼品卡不在此扣除范围内。

***

<div id="quick-summary">
  ## 快速总结
</div>

| 设置                                                    | 进度的衡量依据                    |
| ----------------------------------------------------- | -------------------------- |
| **Use pre-discounted prices for cart total** — 开启     | 折扣前的购物车总额，减去已授予的任何奖励商品     |
| **Use pre-discounted prices for cart total** — 关闭（默认） | 应用所有折扣后的购物车总额，减去已授予的任何奖励商品 |
