Browse articles

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

  1. Tag your B2B customers

    In Shopify admin, open Customers, select your B2B customers and add the tag b2b, as SparkLayer requires.

  2. Open the Advanced settings

    In EliteCart, go to Cart designerOtherAdvanced and scroll to the "Other settings" card.

  3. Enter the tag

    In Deactivate drawer for logged in customer with tag, enter b2b.

  4. Save

    Click Save.

Other settings card with b2b entered in Deactivate drawer for logged in customer with tag.

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

  1. Log in as a B2B customer

    Log in to your store with a customer account that has the b2b tag, add a product and check that SparkLayer's cart appears.

  2. 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.