Skip to content

Installation and setup

  • CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 or later.
  • Administrator access to the store’s admin panel.
  • An approved seller account on B&Q Marketplace with API access. B&Q decides who may sell: you apply through “Become a B&Q verified seller” on diy.com and B&Q reviews the application. Integrator guides mention UK VAT registration, a valid EAN per product and prices in GBP; your seller agreement with B&Q is what counts. After approval you receive access to B&Q’s Mirakl Seller Admin, its address and the API key (user settings, API key). If your back office has no API key section, ask B&Q seller support to enable API access.
  • A cron job on your server (see step 7 below).
  1. Download the kv_bq_marketplace-<version>.zip package from your Kavio Labs or CS-Cart Marketplace account.
  2. In the admin panel, open Add-ons > Manage add-ons.
  3. Click the gear button and choose Manual installation, then upload the archive.
  4. Find B&Q Marketplace Connector (Mirakl) in the list and make sure its status is Active.
  5. Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
  1. Open Orders > B&Q (the add-on page) and the Connection tab.
  2. In the Test block enter the API URL of your seller account (the Mirakl address you got from B&Q, https only, without /api) and the API key (created in the seller back office under your user settings, API key). A Mirakl API key belongs to one environment, so the test and the live block have their own URL and key. The add-on does not guess the address: B&Q does not publish it.
  3. Keep the Market United Kingdom (GBP). It sets the currency of prices. Use the API URL and key B&Q gave you.
  4. Optional fields: Shop ID (only needed when your Mirakl user belongs to several shops), Channel code (import only the orders of one sales channel), Offer condition code (the code of “New”; empty = read from the marketplace), Product ID type (default EAN) and Accept new orders automatically (every line by default; see Usage).
  5. Save and click Test connection: a green message shows your shop name, its currency and its channels. A warning appears when the shop currency differs from the market’s.
  6. Switch to Live mode only after a successful test and enter the live URL and key; test again.
  7. Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented.
  8. Map your categories to B&Q’s categories (Categories) and the offer fields B&Q requires (Offer fields), then add products (Listings).
  9. Prices: UK consumer prices include VAT. If your CS-Cart prices exclude VAT, add it with the account markup on the Rules page (20%) or keep VAT-inclusive prices in CS-Cart.

By default the marketplace owner connects one account for all vendors (Marketplace owner mode on) and vendors have no Connection tab. Switch it off to let each vendor connect their own seller account in the vendor panel. A vendor never uses the owner’s API key, and queue-wide actions (run the queue now, refresh the shared reference data) are for the marketplace admin only.

  1. Upload the new package the same way. Your settings, credentials and data are kept.
  2. The add-on adds missing tables and settings by itself on the first request after the update.

See CHANGELOG for what changed in each version.

Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. This removes the add-on’s settings, language variables and database tables, including the stored credentials and the order map. Offers that are live at B&Q stay there with their last quantity, and nothing updates them any more: withdraw them first (remove the mappings on Listings and let the queue run until the rows are gone), or set them to 0 in the B&Q back office.

Installing again later does not create your B&Q orders a second time: orders that B&Q changed for the last time before the new installation are not imported, and an order that is changed later is matched with the CS-Cart order that carries its B&Q order number in the notes.