Los Price tokens hacen referencia a precios del producto, porcentajes de descuento y monto de ahorro correspondiente. Dentro de estos se tienen tres tipos, los Standard prices valores propios de BigCommerce correspondientes a MSRP, Prices o Sale price, los que corresponden a Discount By Category prices, para mostrar por ejemplo el precio del producto luego de aplicado un 10% de descuento a los productos de una categoría y finalmente los Best & Better prices para el producto, que hacen referencia a los mejores valores de los dos tipos anteriores.
Price token types
(see note below to understand Product/Variant selected and Min and Max tokens)
Standard Prices
- MSRP
- Product/Variant selected:
- {msrp}
- Variant range:
- {msrp_min}, {msrp_max}
- Product/Variant selected:
- Price (Default price)
- Product/Variant selected:
- Available if {price} is set as the retail price for all or some customers
- {price}
- {price_discount}, discount percentage from {msrp}
- {price_save}, savings compared to {msrp_price}
- Available if {price} is not set as the retail price
- {price_before} = {price}
- {price_was} = {price} but appears strikethrough
- {price_discount_before} = {price_discount_msrp}
- {price_discount_was} = {price_discount_msrp} but appears strikethrough
- Available if {price} is set as the retail price for all or some customers
- Variant range:
- {price_min}, {price_max}
- Product/Variant selected:
- Sale Price
- Product/Variant selected:
- Available if {sale_price} is set as the retail price for all or some customers
- {sale_price}
- {sale_discount}, discount percentage from {price}
- {sale_save}, savings compared to {price}
- {sale_discount_msrp}, discount percentage from {msrp}
- {sale_save_msrp}, savings compared to {msrp}
- Available if {sale_price} is not set as the retail price
- {sale_price_before} = {sale_price}
- {sale_price_was} = {sale_price} but appears strikethrough
- Available if {sale_price} is set as the retail price for all or some customers
- Variant range:
- Available if {sale_price} is set as the retail price for all or some customers
- {sale_min}, {sale_max}
- Available if {sale_price} is set as the retail price for all or some customers
- Product/Variant selected:
Discount By Categiory Prices
- DBC #1
- Product/Variant selected:
- Available if {dbc1_price} is set as the retail price for all or some customers
- {dbc1_price}
- {dbc1_discount}, discount percentage from lower price of {sale_price} and {price}
- {dbc1_save}, savings compared to lower price of {price} and {sale_price}
- {dbc1_discount_msrp}, discount percentage from {msrp}
- {dbc1_save_msrp}, savings compared to {msrp}
- Available if {dbc1_price} is set as the retail price for all or some customers
- Variant range:
- Available if {dbc1_price} is set as the retail price for all or some customers
- {dbc1_min}, {dbc1_max}
- Available if {dbc1_price} is set as the retail price for all or some customers
- Product/Variant selected:
- DBC #2
- Product/Variant selected:
- Available if {dbc2_price} is set as the retail price for all or some customer
- {dbc2_price}
- {dbc2_discount}, discount percentage from best price of {sale_price} and {price}
- {dbc2_save}, savings compared to best price of {price} and {sale_price}
- {dbc2_discount_msrp}, discount percentage from {msrp}
- {dbc2_save_msrp}, savings compared to {msrp}
- if Include items that apply Discount by Category #1 is off:
- {dbc2_discount_dbc1}, discount percentage from {dbc1_price}
- {dbc2_save_dbc1}, savings compared to {dbc1_price}
- Available if {dbc2_price} is set as the retail price for all or some customer
- Variant range:
- {dbc2_min}, {dbc2_max}
- Product/Variant selected:
Best & Better Prices
- Better
- Product/variant selected:
- {better_price}, the lower price, excluding DBC prices not applicable to all customers
- {better_discount}, discount percentage from {price}
- {better_save}, savings compared to {price}
- {better_discount_msrp}, discount percentage from {msrp}
- {better_save_msrp}, savings compared to {msrp}
- Variant range:
- {better_min}, {better_max}
- Product/variant selected:
- Best
- Product/Variant selected:
- {best_price}, the lowest among {price}, {sale_price}, {dbc1_price}, and {dbc2_price}, regardless of whether DBC1 or DBC2 applies to all customers
- {best_discount}, discount percentage from {price}
- {best_save}, savings compared to {price}
- {best_discount_msrp}, discount percentage from {msrp}
- {best_save_msrp}, savings compared to {price}
- Variant range:
- {best_min}, {best_max}
- Product/Variant selected:
Note:
Token availability
Tokens are not always available. For instance:
- If the product has a variant, and the customer has not yet selected a variant, {price} is unavailable, but {price_min} and {price_max} are.
- When the product is on sale, {price} is unavailable, but {sale_price} is.
- In cases where the product is on sale, and there’s a discount like DBC1 applicable to all customers, {sale_price} is not available, but {dbc1_price} is.
- If the product is on sale, and there’s a discount like DBC1 that doesn’t apply to all customers, both {sale_price} and {dbc1_price} are available.
Whether a price serves as the selling price for some or all customers depends on whether the 'Apply to all customers' option of DBC1 or DBC2 is selected or not.
Product/Variant selected vs Variant range
Product/Variant selected refers to a scenario where a variant has been chosen or the product has no variants. On the other hand, Variant range indicates that the customer hasn't selected a product/variant, and the product offers variant options with different values.
