Show A Different Inventory Level Based On Customer Tag

edumesnil
Visitor
1 0 0

Hi,

Looking for solutions for inventory management for a wholesale portal that customers are able to access based on customer tag. Is there a way (preferably with an app) to show & hide inventory levels to customers tagged "wholesale?"

 

Thank you,

Elizabeth

Replies 2 (2)

made4Uo
Shopify Partner
3803 713 1114

Hi @edumesnil,

 

Yes. Try the logic below

NOTE: Customer must be signed in to show  wholesale since it is set to false by default. 

 

 

{% assign wholesale = false %}
{% if customer %}
{% if customer .tags contains 'wholesale ' %}
    {% assign wholesale = true %}  
{% endif %} 
{% endif %}

{% if wholesale %}
Show product cards...
{% endif %}

 

 

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!

dropship_helps
Shopify Expert
1823 56 280

Hi @edumesnil 

 

This app may suit your requirements.  https://apps.shopify.com/wipeout