Cashback
Cart drawer
Show how much Store Credit this cart will earn as cashback.
Show the cashback this purchase will earn in the cart drawer (and optionally on the cart page). This page is about the earn label - not applying Store Credit at checkout.
To add a redeem toggle, see Redeeming Store Credit.
Snippet
Create snippets/memberr-cart-cashback.liquid:
<p>
You will receive
<memberr-cart-cashback-amount></memberr-cart-cashback-amount>
<memberr-store-credit-name></memberr-store-credit-name>
for this purchase.
</p>Enable memberr elements in theme settings so the web components resolve.
Place it
Cart drawer and cart page markup differ by theme. Find the cart drawer (or /cart) template and render the snippet where you want the message:
{% if settings.memberr %}
<div>
{% render 'memberr-cart-cashback' %}
</div>
{% endif %}Applied Store Credit in the cart UI
If you show cart-level discounts and want Store Credit listed separately from other discounts (or hidden from the discount list), see Hide discount label and the redeeming guides.