For the complete documentation index, see llms.txt. This page is also available as Markdown.

B2B Setup

1. Add the B2B App to the Relevant Project in ACC

In B2B Dynamic Settings, add a password field in the Shop configuration:

SHOP={
    "key": "SHOP",
    "value": {
        "url": "{{SHOP_URL}}",
        "shipping_option_slug": "b2b",
        "payment_option_slug": "b2b"
        ...
        "password": "B2B123456", // field to be added
    }
}

2. Set Environment Value on the Shop Side

Ensure that the password fields match on both sides:

B2B_EXTENSION_CONF={"api_url": "https://{B2B_APP_DOMAIN}/api/v1/", "password": "B2B123456"}

3. Define the Model Schema for User Model on the Shop Side

Enter this configuration via COMMERCE API as it will not reflect on forms within Omnitron screens:

4. Integrate PromotionGateway for B2B Discounts on the Shop Side

Set the offer_priority to the highest among existing campaigns.

5. Add a ShippingOption for B2B on the Shop Side

Ensure the slug in the created ShippingOption matches the shipping_option_slug in Step 1.

6. Add a CargoCompany for B2B in Omnitron

7. Configure PaymentOption for B2B on the Shop Side

Ensure the slug matches the payment_option_slug defined in Step 1.

Last updated

Was this helpful?