Skip to content

Settings

Open Add-ons > Manage add-ons > B&Q Marketplace Connector (Mirakl) > Settings.

Setting Default Description
Enable On When off, no new work is started. Jobs of work that is already under way are still processed.
Marketplace owner mode On On: every order is processed with the marketplace owner’s account and vendors have no connection page. Off: each vendor connects their own account.
Debug log Off Also stores every HTTP call with masked request and response. The API key and buyer data (e-mail, phone, name, address) are never stored.
Log retention (days) 90 Older log entries are removed by the cron run.
Sync interval (minutes) 15 How often stock and price are pushed, orders imported and shipments reported. Mirakl allows an offer import once per minute at most and recommends every 5 minutes.
Status of imported orders O CS-Cart status of a new imported order (Open: you still have to ship it).
Payment method ID for imported orders empty Empty = the first active payment method.

The API key is not an ordinary setting: it is entered on the Connection page and stored encrypted (AES-256-GCM, key derived from your store’s own secret). It is never shown again; leave the key field empty to keep the saved value.

Field Description
Mode Test uses the test API URL and key; Live uses the live ones.
API URL The Mirakl address of your B&Q seller account, https, no port, no user name, no query; a path is kept and a trailing /api is removed. B&Q gives it to you with the seller access; the add-on does not guess it. Addresses with an IP number, localhost or a non-public name are refused.
API key The key of your marketplace user (sent in the Authorization header).
Market United Kingdom (GBP), the market of diy.com. Selects the currency: prices are converted with the GBP rate of your shop when your primary currency differs (or the fixed rate on the Rules page). UK consumer prices include VAT. One B&Q account per store, per vendor in Multi-Vendor.
Shop ID Optional. Sent as shop_id when your Mirakl user has access to several shops.
Channel code Optional. Import only the orders of this sales channel (the codes are shown by “Test connection”). Leave empty when your account has one channel.
Offer condition code Optional. The code of the condition “New” in your marketplace (the add-on reads the list with OF61 and picks the one named “New” or “Brand new” when this is empty).
Product ID type Optional. The Mirakl product-id-type of your offers; default EAN. Connector guides say B&Q asks for a 13-digit barcode per item (not a B&Q document), so check your catalogue’s identifier with B&Q.
Accept new orders automatically Yes, every line (default): every line of a new order is accepted at the next import run, without a stock check; a line you cannot deliver can be cancelled afterwards. Yes, within stock: lines within your stock are accepted, other lines are refused (final at B&Q, counts against your seller metrics). This mixed answer is a partial acceptance, which the Mirakl API lets an operator switch off per shop (ORDER_PARTIAL_ACCEPTANCE_DISABLED); B&Q’s setting is UNVERIFIED. An order with an offer the add-on does not manage is left unanswered, and an order for which B&Q refuses a partial answer is logged once and left for the back office. No: you answer in the seller back office, the order is imported afterwards.

Price markup and rounding, stock buffer, logistic class (sent as the OF01 column logistic-class; B&Q codes S, B or MTO), default delivery time (sent as the lead time to ship; when it is empty the default of your B&Q account applies), VAT default (20%, informational), status mapping from the marketplace order state to CS-Cart statuses (applied forward only, never over Complete, Declined, Failed, Canceled or a status you set yourself), Send the shop e-mails to the buyer (off by default: imported B&Q orders send the buyer no e-mail from your shop) and your carrier tracking link are on the Rules page of the add-on. “Seller ships with an own carrier” is on by default because B&Q Marketplace sellers fulfil their own orders. Prices: if your CS-Cart prices exclude VAT, add it (20% standard rate) with the account markup. Whether B&Q expects VAT-inclusive offer prices is unverified: check your seller agreement. The strike-through list price setting is not sent to B&Q (the add-on sends the base price only).

The queue runs from cron. Use either the command line or the secret web address shown in the Cron section of the settings:

  • php /path/to/store/admin.php --dispatch=kv_bq_marketplace.cron
  • https://your-store.example/index.php?dispatch=kv_bq_marketplace.cron&key=<secret>
  • Log lists every call, job and import with filters (level, action, text, dates) and a CSV export. Order and import ids are kept; buyer e-mail addresses, phone numbers, names and addresses are replaced by ***.
  • Jobs lists the queue. A job that fails is retried after 5 minutes, 15 minutes, 1 hour, 3 hours and 12 hours, then marked “Gave up”; use Retry to queue it again.

In the vendor panel a vendor sees only their own records and counters. With the marketplace owner mode off the vendor also gets the Connection tab for their own seller account. Running the whole queue and refreshing the shared reference data are admin-only.