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
  • Install
  • Install-Script for all B2Bsellers Suite Plugins
  • Important: With every activation/deactivation of the addons the Javascript and the CSS must be built afterwards.
  • Setup
  • Api
  • Console commands

Was this helpful?

Edit on GitHub
  1. User Guide
  2. Installation & Setup

Installation

Installing the B2B Platform

Last updated 1 year ago

Was this helpful?

Install

  1. Upload files to custom/plugins/b2bsellerscore

  2. install and activate the Plugin at the Shopware Backend

  3. Or run in console bin/console plugin:refresh && bin/console plugin:install b2bsellerscore && bin/console plugin:activate b2bsellerscore

  4. go to console and run command bin/console b2b:platform:build at root directory

  5. run bin/console cache:clear

=> if you want: run bin/console b2b:create:test-data for insert default test data (customer/contacts) li

Info: we recommend the install over the cli, not over the shopware backend - sometimes there are errors

first, you have to install the "B2Bsellers Core" Plugin.

Install-Script for all B2Bsellers Suite Plugins

We recommend to use our script to install all B2Bsellers Plugins within one command. You can change all used plugins...

#!/bin/bash

echo "Installing all B2bSellers Suite Plugins"

bin/console plugin:refresh
bin/console plugin:install -ac B2bSellersCore

bin/console theme:change b2bplatformtheme
bin/console b2b:platform:build

bash ./bin/build-storefront.sh
bash ./bin/build-administration.sh

exit 0

Important: With every activation/deactivation of the addons the Javascript and the CSS must be built afterwards.

Because all addons are "Symfony bundles", it is necessary to execute the following commands after each addon activation/deactivation:

  • bin/console b2b:platform:build

  • bash bin/build-administration.sh

  • bash bin/build-storefront.sh

Setup

  1. Change the plugin configuration (admin api and store api credentials are needed)

  2. Add emails to the following "business events": account_activation.send and account_request.send

Api

Flag for sending welcome mail via api (customer create + update) -> _sendWelcomeMail

Console commands

5.1 Entity Mapping Command (CustomerPrices):

Usage:

bin/console b2b:entity:map

5.2 Platform watch command

Usage:

bin/console b2b:platform:watch <user> <password>

Arguments:

Argument
Description

user

Customer/Employee E-Mail

password

Customer/Employee password

Example:

Sales Agent: bin/console b2b:platform:watch m.sommer@luxon.de mediagraphik Customer-Employee bin/console b2b:platform:watch Henk.Becker@bosch-pt.com mediagraphik

Use Test-Customers