Buddi SEO Documentation
Home
Return to Buddi.io
Home
Return to Buddi.io
  • Getting Started

    • Installation Guide
  • Functions

    • Store Selection
    • Single Product
    • All Products
    • Products by Category
    • Products by Categories
    • Featured Promotions
    • Collections
    • Store Info
    • Add to Cart
    • Content Management System
  • Modules

    • Shopping Cart Module
    • Customer Profile
  • Advanced Functions

    • Dynamic object syncing
    • Cart
    • Customer
    • Login Customer
    • Logout Customer
    • Register Customer
    • Update Customer
  • Events
  • FAQ
  • Exceptions Handling
  • Caching
  • Deploying
  • Example Templates

Store Selection

Store authentication notes

When you initialize the Buddi module using Buddi.setUp({storeId: 123}) (see installation guide) this determines the store you are starting with. Replace 123 with the Buddi store ID you want to load content for.

To allow the user to select another location you can use the Buddi.useStore({id}) method and insert the store ID of the location you would like them to see inventory for. This can also be used for switching stores, if you build a component that allows a user to change locations this would help that scenario.

If you’re unsure of which store ID belongs to which store reach out to the Buddi support team for help.

Last Updated: 10/8/25, 9:05 PM
Contributors: jesseleejohnston
Next
Single Product