Order Limit by Customer Tag that is compatible with B2B Wholesale club

TiffanyChung
New Member
9 0 0

We're looking to set a maximum order limit for specific customers, and it needs to be compatible with our B2B wholesale club. After testing numerous apps, none have proven to be compatible with the B2B wholesale club or capable of setting limits based on customer tags. Any recommendations for an app or methods that allow setting limits by customer tag and are compatible with a B2B wholesale club?

Replies 5 (5)

JoesIdeas
Shopify Expert
2263 207 599

You could use Liquid to cycle through customers, and then filter in a time range, or if just max orders over time as well. Reference: https://shopify.dev/docs/api/liquid/objects/customer

 

Then you could hide the add to cart button from those customers.

 

Same thing if you wanted to do it by tag just hide the add to cart button for tagged customers.

 

If that doesn't work on the front end, you could cancel the orders after they're placed. Order Automator can do that. It could also notify staff when certain conditions are met in the order, if you don't want to auto cancel.

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks
TiffanyChung
New Member
9 0 0

Hi JoesIdeas , thank you for your advice. However, I am not good at coding, could you help me on how to use liquid to meet my needs. 

Basically, I want to create a $1000 max order limit for customer who tag with “Non-EU”. 

JoesIdeas
Shopify Expert
2263 207 599

Oh, for that if you want to do the calculations before they reach checkout you would have to use the ajax cart to get the cart contents and calculate when they click checkout or add to cart buttons.

 

Reference: https://shopify.dev/docs/api/ajax/reference/cart

 

If you need a developer feel free to message my company at https://orderautomator.com/contact. We do Shopify theme work but they can refer you to some developers in the network that do.

• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Deal with Fraud / Chargebacks
magecomp
Shopify Partner
264 20 32

You can use our app to make it work

https://apps.shopify.com/purchase-limit

Helping voluntarily. Please like and accept the solution if it helps. Thanks!
Our Bestseller Shopify Apps    |      Mobile App Builder by MageComp    |      Limit Qty Purchase

Need a developer?  Just visit MageComp website
TiffanyChung
New Member
9 0 0

I have tried the app out but It is unable to checkout even it's less than 1000. Is that really compatible with B2B Wholesale Club pricing? 

Screenshot 2023-11-21 at 10.35.52 AM.png

 

And it's also showing the original pricing at the checkout page instead of the wholesale club pricing

Screenshot 2023-11-21 at 10.40.23 AM.png