Display Cashback Earned on PDPs
Cashback Code Snippet
{%- comment -%}
Set your cashback percentage here.
0.05 represents 5% cashback. Change this value to adjust the rate:
e.g., 0.1 for 10%, 0.2 for 20%, etc.
All styling (font color, weight, size, etc are all placeholders that can be changed to suit your specific needs.
{%- endcomment -%}
{%- assign cashback_percent = 0.05 -%}
{%- assign cashback_per_unit = product.price | times: cashback_percent -%}
{%- assign formatted_cashback = cashback_per_unit | money -%}
<p class="cashback-earned" style="color: #008060; font-weight: bold; font-size: 1.1em; margin-top: 10px;">
Members earn {{ formatted_cashback }} in cashback per item
</p>Option 1: Add via Theme Editor (Custom Liquid Block)
Option 2: Insert Directly in Theme Code
Adjusting the Cashback Percentage
Cashback %
Value to Use

Alternative Implementation for Products with Differently Priced Variants
Option 1: Add via Theme Editor (Custom Liquid Block)
Option 2: Insert Directly in Theme Code

Optional Add-On: Membership CTA (for both implementations)
PreviousAdd Member Only Pricing to PDPsNextMembership Cart Drawer Upsell with Dynamically Calculated Cashback: Implementation Guide
Last updated
Was this helpful?
