First, assign the easyPoints customer meta field 'customer_ep_metafield' and get the customer tier information from `customer_ep_metafield.tier`.
{%- assign customer_ep_metafield = customer.metafields.loyalty.easy_points_attributes.value -%}
If you have a product only for customers with the Gold tier, you can change the store display by using the code below.
{%- if customer_ep_metafield.tier == "Gold" -%}
Buy this product exclusive for Gold members
{% else %}
This product is exclusive for Gold members
{% endif %}
Customer Point Rules (in %)
Assign the point return rate, using the code below.
{%- liquid
assign shop_ep_metafield = shop.metafields.loyalty.easy_points_attributes.value
assign ep_percentage = shop_ep_metafield.percentage
if customer
assign customer_ep_metafield = customer.metafields.loyalty.easy_points_attributes.value
assign ep_percentage = customer_ep_metafield.percentage
endif
-%}
After that, you can use the code in '{{ ep_percentage | round }}' to display the customer point return rates (%) depending on their tiers in the Liquid file.
This does not include the point return rates for bonus points.