Displaying a specific product variant when a customer has a specific tag in shopify

Depend on Pricelist

$1-$1500 = Bronze

$1501-$2500 = Silver

$2501-$3500 = Gold

$3501+ = Platinum

If customer has Gold/Silver/Bronze/Platinum tag then customer can choose specific gold/silver/bronze variant product.
How can i make this?

Hi @arnab1

This could be done with custom code.
You can hire a shopify developer for this.
I am eagr to help you, please contact me so we can proceed further.

Hi , i am using below custom code in product.liquid page please check
{% if customer.tags contains ‘Gold’ %}
{% for variant in product .variants %}
{% if variant.options contains ‘Box Options’ and variant.title contains ‘gold’ %}
{{ variant.title }}
{% endif %}
{% endfor %}
{% if customer.tags contains ‘Silver’ %}
{% for variant in product .variants %}
{% if variant.options contains ‘Box Options’ and variant.title contains ‘silver’ %}
{{ variant.title }}
{% endif %}
{% endfor %}
{% if customer.tags contains ‘Bronze’ %}
{% for variant in product .variants %}
{% if variant.options contains ‘Box Options’ and variant.title contains ‘bronze’ %}
{{ variant.title }}
{% endif %}
{% endfor %}

Possible by custom liquid code like this

loop through product variants and match the logged in customer tag and choose the variant inside loop based on logged in customer tag.
so selected variant will display on outside area of variant loop.

Hi , thanks for your reply,
Can you help me to edit my custom code?

sure I can help you with custom code.
please DM me