B2Bsellers Suite
API Referenceswww.b2b-sellers.comPublic demoshopRoadmap
v1.X.X (Shopware 6.4)
v1.X.X (Shopware 6.4)
  • Home
  • Product Tour
    • Plans & Plugin Concept
    • Public Demoshops
    • Get a personal B2B demo store?
  • User Guide
    • Installation & Setup
      • Installation
      • Requirements
      • Easy activate all Addons and Features
      • Use Test-Customers
      • License Settings
    • Configuration
      • License, purchaseable Addons and Features configuration
      • Configuration of the CORE
        • Express checkout setup
      • How to add „Menü Item“ on B2BPlattform
      • E-Mail Templates
      • B2B Rules
      • B2B Flow/Business Events
      • Customer specific prices
      • Registration process
      • PDP variant list
    • Configuration of purchasable Addons
      • Offer Function for Sales Agents
      • Spare Parts Shop
      • Subscription Article
      • Copper and brass product surcharges
      • Rating groups
      • B2B Platform Theme
      • E-Procurement (OCI-Punchout)
      • E-Procurement (cXML Purchase Order / Ariba)
      • Register Requests (wip)
      • Order lists
      • Bonus program
      • Product Request
      • URL Authentication
      • Cost centers
      • Discount Rate
      • Mobile sales portal (app)
      • Customer-specific assortments
      • Eventmanager (Beta)
      • Employee budgets
      • Order entry for Sales representatives (Beta)
    • Third Party Extensions
      • You want to provide a plugin?
    • Performance
    • FAQs
    • Support
  • Developer Guides
    • First Steps
      • Getting Started
      • Concept of Extensions
      • Dockware Setup (Docker)
      • How to start the b2b-platform vue.js watcher
      • How to build the b2b-platform (vue.js)
      • Protection of the Store-API
      • How to develop your first extensions
      • CLI-Commands
        • Migration of existing Shopware Customers
      • Cronjobs
      • Development Helpers
      • Example Plugins
    • Smart developer helpers
      • B2bPlatformContext
      • B2bContextTrait
      • EmployeePermissionTrait
      • B2B Body Classes
      • UseCustomer URL Parameter
      • Useful Vue.js Components for the B2B Platform
      • Useful Storefront Shopping World Elements
      • How to import external orders and offers?
    • How to's
      • Using B2Bsellers Suite with Shopware frontends
    • Guides for ERP-Interface
      • Overview - Full integrated ERP-Systems
      • Integration of ERP orders to Shopware 6
      • Integration Customers and Employees from ERP
    • Tips for Deployment / Continuous Integration
    • Typical errors
  • API-References
    • Database Schema
    • Entities
      • Custom Fields for existing Shopware Entities
      • Budget
      • BudgetEmployee
      • CollectionAccount
      • CustomerPrice
      • Employee
        • EmployeeCustomer
        • EmployeePermission
        • EmployeeRole
      • CustomerActivity
        • CustomerActivityType
      • Offer
        • OfferAddress
        • OfferCustomer
        • OfferItem
        • OfferStatus
      • ProductSubscription
      • ProductSubscriptionOrder
      • PasswordlessLogin
      • PaymentCondition
      • ProductExplodedView
      • B2bProductList
        • B2bProductListItem
        • B2bProductListType
      • RegisterRequest
        • RegisterRequestStatus
        • RegisterRequestActivity
      • SalesRepresentativeCustomer
    • Store-API
      • Account Request
      • Customer Activity
      • Customer Activity Type
      • Customer Last Orders
      • Customer List
      • Customer Price
      • Customer Sales Ranking
      • Customer Search
      • Delivery Interval
      • Delete Product Subscription
      • Document
      • Employee
      • Employee Permission
      • Employee Role
      • Employee Order
      • Event Product
      • Login Target List
      • Offer Document
      • Offer
      • Offer Mail
      • Offer Order
      • Offer Status
      • Ordered Products
      • Payment Condition
      • Platform Cms
      • Product List
      • Product Table Listing
      • Product Subscription
      • Product Subscription List
      • Sales Statistic
      • Snippet
    • Admin API
      • General Admin-API Info
      • Order Import Endpoint
      • Order Extension
  • Release Notes
    • B2BsellersCore
      • Version v1.1.4 - security update
      • Version v1.1.3
      • Version v1.1.2
      • Version v1.1.1
      • Version v1.1.0
      • Version v1.0.4
      • Version v1.0.3
      • Version v1.0.2
      • Version v1.0.1 - Hotfix
      • Version v1.0.0
      • Version v0.9.6
      • Version v0.9.5
      • Version v0.9.4
      • Version v0.9.3
      • Version v0.9.2
      • Version v0.9.1
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Developer Guides
  2. First Steps

How to start the b2b-platform vue.js watcher

Last updated 2 years ago

Was this helpful?

As soon as you log in as a customer employee or as a sales agent, the B2B-Platform opens - that's what we call this Vue.js interface.

since B2BsellersCore Version 0.9.4, the password is not longer needed. It is enough to set the email-address of the employee

As soon as you log in as a customer employee, the B2B-Platform opens - that's what we call this Vue-Js interface.

You can extend or overwrite this B2B platform according to your requirements. You can find helpful links here:

But before you can start developing you have to start the Vue.js Watcher. In your local installation (we recommend ) in the Shopware root folder you can use the following command to start the Vue.js Watcher:

Tip: When executing the watch command, the command goes through all folders and indexes the main.js files. So if you are developing an extension, start the watcher only after creating the main.js file in the "{pluginRoot}/src/Resources/app/b2b_platform/" folder.

Console command:

bin/console b2b:platform:watch <email>

Command example for Henk Becker (Employee at Ektek GmbH - Testdata)

bin/console b2b:platform:watch henk.becker@ektek.com 

Command example for Markus Bauer (Sales Representative at Shopowner - Testdata)

bin/console b2b:platform:watch m.bauer@luxon.de

After entering the command you get prompted to select the wanted sales channel and domain (if multiple are available).

Please select a sales channel:
  [0] Storefront | 3599498813f14f1a8abe0deb0e12d18
  [1] Headless | 98432def39fc4624b33213a56b8c944d
Please select a domain:
  [0] http://localhost/de | Deutsch | 9a088b6be800412fb71ca53e96ba7778
  [1] http://localhost | English | 9d6dd97cee0548d99bcafbc65126f46a

The Vue.js watcher starts after the necessary selections and can be opened under the port 9998 or the link http://localhost:9998/b2b_platform/ after being compiled successfully.

  App running at:
  - Public URL: http://localhost:9998/b2b_platform/

  To build for production , run bin/console b2b:platform:build
How to add „Menü Item“ on B2BPlattform
DOCKWARE.IO