SparkLayer B2B and wholesale
Turn off the EliteCart drawer for logged-in B2B customers so SparkLayer's wholesale cart takes over, with no code.
Last updated
SparkLayer gives B2B customers a wholesale cart with their own pricing and ordering. EliteCart can step aside for those customers while retail shoppers keep the EliteCart drawer. This article shows the one setting that does it.
What you need
- SparkLayer installed and set up
- Your B2B customers tagged in Shopify (SparkLayer uses the tag
b2b) - EliteCart on any plan
Set it up
Tag your B2B customers
In Shopify admin, open Customers, select your B2B customers and add the tag
b2b, as SparkLayer requires.Open the Advanced settings
In EliteCart, go to Cart designerOtherAdvanced and scroll to the "Other settings" card.
Enter the tag
In Deactivate drawer for logged in customer with tag, enter
b2b.Save
Click Save.

What changes for tagged customers
- When a customer with the tag is logged in, the EliteCart drawer is turned off and SparkLayer's cart shows instead.
- EliteCart analytics are also turned off for these customers.
- Guests and customers without the tag see EliteCart as usual.
Test it
Log in as a B2B customer
Log in to your store with a customer account that has the
b2btag, add a product and check that SparkLayer's cart appears.Log out
Log out, add a product and check that the EliteCart drawer opens.
Still stuck?
Chat with us and we'll help you get your cart live. Or email contact@elitecart.app.