Discount Ninja
Search
K

Promotion Summary

Example: simple

<la-dn-promotion-summary collapsed="false">
<la-dn-promotion-summary-total label="Subtotal">
<la-dn-price
location="cart"
level="subtotal"
price="10000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-total>
<la-dn-promotion-summary-breakdown>
<la-dn-promotion-summary-discount label="Discount">
<la-dn-price
location="cart"
level="discount"
price="3495"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-discount label="Black Friday Sale" token="ABCD">
<la-dn-price
location="cart"
level="discount"
price="1495"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-discount label="20% off on all shirts" token="EFGH">
<la-dn-price
location="cart"
level="discount"
price="2000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
</la-dn-promotion-summary-breakdown>
<la-dn-promotion-summary-disclaimer>
Shipping and taxes calculated at checkout
</la-dn-promotion-summary-disclaimer>
</la-dn-product-banner>

Example: total, taxes and discounted shipping

<la-dn-promotion-summary collapsed="false">
<la-dn-promotion-summary-total label="Total">
<la-dn-price
location="cart"
level="total"
price="12000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-total>
<la-dn-promotion-summary-breakdown>
<la-dn-promotion-summary-subtotal label="Subtotal">
<la-dn-price
location="cart"
level="subtotal"
price="10000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-subtotal>
<la-dn-promotion-summary-discount label="Discount">
<la-dn-price
location="cart"
level="discount"
price="3495"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-discount label="Black Friday Sale" token="ABCD">
<la-dn-price
location="cart"
level="discount"
price="1495"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-discount label="20% off on all shirts" token="EFGH">
<la-dn-price
location="cart"
level="discount"
price="2000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-taxes label="Taxes">
<la-dn-price
location="cart"
level="taxes"
price="500"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-breakdown-taxes>
<la-dn-promotion-summary-breakdown-shipping label="Shipping">
<la-dn-price
location="cart"
level="shipping"
price="1500"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-shipping>
</la-dn-promotion-summary-breakdown>
<la-dn-promotion-summary-disclaimer>
Discounts cannot be combined with loyalty points. Read more <a href="">here</a>.
</la-dn-promotion-summary-disclaimer>
</la-dn-product-banner>

Example: total, tax label and discounted shipping

<la-dn-promotion-summary collapsed="false">
<la-dn-promotion-summary-total label="Total">
<la-dn-price
location="cart"
level="total"
price="10000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-total>
<la-dn-promotion-summary-breakdown>
<la-dn-promotion-summary-subtotal label="Subtotal">
<la-dn-price
location="cart"
level="subtotal"
price="10000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-subtotal>
<la-dn-promotion-summary-discount label="Discount">
<la-dn-price
location="cart"
level="discount"
price="3495"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-discount label="Black Friday Sale" token="ABCD">
<la-dn-price
location="cart"
level="discount"
price="1495"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-discount label="20% off on all shirts" token="EFGH">
<la-dn-price
location="cart"
level="discount"
price="2000"
currency="USD">
</la-dn-price>
</la-dn-promotion-summary-discount>
<la-dn-promotion-summary-taxes label="Taxes">
Calculated at checkout
</la-dn-promotion-summary-taxes>
<la-dn-promotion-summary-shipping label="Shipping">
-50%
</la-dn-promotion-summary-shipping>
<la-dn-promotion-summary-disclaimer>
Discounts cannot be combined with loyalty points. Read more <a href="">here</a>.
</la-dn-promotion-summary-disclaimer>
</la-dn-promotion-summary-breakdown>
</la-dn-product-banner>