Customize product options based on customer tag

Solved

Customize product options based on customer tag

drhoward
Shopify Partner
1 0 1

I need to show certain product options or variants only to customers logged in with the tag 'wholesale'. Is there an app that does this? 

Accepted Solution (1)

wemakeperfect
Tourist
6 1 1

This is an accepted solution.

Hello @drhoward 
You can add condition in your code for this to something like this 

{% if customer.tags contains 'wholesale' %}

{% endif %}


If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

View solution in original post

Replies 5 (5)

wemakeperfect
Tourist
6 1 1

This is an accepted solution.

Hello @drhoward 
You can add condition in your code for this to something like this 

{% if customer.tags contains 'wholesale' %}

{% endif %}


If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Jillybean1
Visitor
1 0 0

But when the product is added to the cart, instead of the base product image it shows the image of the first (default) variant in the cart, checkout and order notification emails. If you have variant options that are conditionally visible by customer tag, for those that can't see the variants, having the default variant image on the cart, checkout page and order emails might be very confusing (depending on the image used). It could also be confusing for the fulfillment team.

So, how do you handle the cart and checkout pages and order notifications showing the product variant image in the cart instead of the base product image? 

RMedia
Shopify Partner
93 9 12

The 'simple' solution is to clone the product, and have a separate link (perhaps on the original product page) to this cloned product for wholesale customers.

You could also 'lock' this wholesale product page using Locksmith app.

Founder @ Advanced Free Shipping, create custom free shipping rules easily.
- Set Free-Shipping by 20 parameters; products, collections, customers + more
- No need for confusing Scripts or Carrier Calculated Shipping
- To learn more about 'Advanced Free Shipping' visit our Shopify app page here.

Stacy_Zhuk
Shopify Partner
521 22 74

Hello @drhoward,

 

There are two ways to implement that: extend the logic of an existing app or develop a custom app from scratch for your specific needs.

You can try the Bold Custom Pricing: Wholesale app by Bold.

Please, let me know if you need any assistance.

 

Best regards,
Anastasia

Co-founder at Whidegroup, e-commerce development company from Ukraine
- 10+ years of experience with SMBs
- Deep expertise in custom development & optimization
E-mail: anastasia@whidegroup.com

EasifyApps
Shopify Partner
635 19 51

Hi @drhoward,

With the Easify Product Options app, you can effortlessly establish custom product options and even control their visibility based on customer tags. It's a versatile solution that could be just what you need 🤗.

EasifyApps_0-1716830756898.png

EasifyApps_1-1716830801402.png

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support