We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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

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

TiffanyChung
Tourist
11 0 2

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 6 (6)

JoesIdeas
Shopify Partner
2520 229 678

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 [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics
TiffanyChung
Tourist
11 0 2

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 Partner
2520 229 678

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 [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics
magecomp
Shopify Partner
469 31 48

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    |      Shoplock Hide Pages/Collections

Need a developer?  Just visit MageComp website
TiffanyChung
Tourist
11 0 2

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

basilkhan
Shopify Partner
49 0 5

Hey @TiffanyChung ,

You can use the DC Order Limits app for this without having to touch any custom or theme code at all. Here's how to do it:

  1. Create a New Rule: Go to the DC Order Limits section in your admin dashboard and create a new order limit rule.
  2. Set Maximum Quantity: Set the "Maximum Quantity" to whatever limit you need for your customers.
  3. Define Customer Eligibility: Selector "Logged in customers" OR "Customers with Specific Tags"  and add the tags for your B2B wholesale club members.
  4. Save and Activate: Save the rule to apply it. This will ensure only either the logged in or the tagged B2B customers are affected.

basilkhan_0-1718498105690.png

 

This should work seamlessly with your B2B wholesale club. Here's a help doc with a video demo on how this works: https://help.dashcheckout.io/article/57-setting-up-order-limits-cart-limits-in-shopify

Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory