Can you display different prices for regular and member clients?

Is it possible to display two prices, one for regular clients and one for members.

1 Like

hi @zaynaa were you ever able to find a solution for this?

1 Like

Hey zaynaa!

Yes, absolutely! You can display different prices for regular vs member customers. Here are a couple of approaches:

Option 1: Liquid Code with Customer Tags You can modify your product templates to show different prices based on customer tags:

{% if customer and customer.tags contains 'member' %}
  {% assign member_price = product.price | times: 0.9 %}
  <span class="member-price">${{ member_price | money }}</span>
  <span class="regular-price-crossed">${{ product.price | money }}</span>
  <p class="member-note">Member Price</p>
{% else %}
  <span class="regular-price">${{ product.price | money }}</span>
  {% if customer == blank %}
    <p class="login-prompt">Login for member pricing</p>
  {% endif %}
{% endif %}

Option 2: Show Both Prices Always You could display both prices to everyone but highlight which one applies:

<div class="pricing">
  <span class="regular-price">Regular: ${{ product.price | money }}</span>
  {% if customer and customer.tags contains 'member' %}
    <span class="member-price active">Member: ${{ product.price | times: 0.9 | money }}</span>
  {% else %}
    <span class="member-price">Member: ${{ product.price | times: 0.9 | money }}</span>
  {% endif %}
</div>

App Solution: I actually built an app called Latch that handles member pricing really smoothly - it can show different prices to tagged customers and even upsell memberships right on the product page when non-members try to access member prices. Check it out: https://apps.shopify.com/member-lock

Both code solutions above should work great for your dual pricing setup! The key is using customer tags to identify your members.