Installation and setup
Requirements
Section titled “Requirements”- CS-Cart and Multi-Vendor 4.17.2 or later.
- Administrator access to the store’s admin panel.
- A Base.com account with API access. The API token is created in Base.com under My account > API (the add-on sends it in the
X-BLTokenheader, as the Base.com API documentation recommends). - A cron job on your server (see step 6).
Install the add-on
Section titled “Install the add-on”- Download the
kv_basecom-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find Base.com Connector in the list and make sure its status is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect Base.com
Section titled “Connect Base.com”- Open Orders > Base.com and the Connection tab.
- Paste the API token. Keep the mode Dry run and click Save and test: a green message means the token works. Dry run only reads from Base.com: it sends nothing, creates no CS-Cart order, no stock change and no e-mail, and logs what it would do.
- Open the Settings tab and click Load catalogs and statuses from Base.com. Choose the catalog, the warehouse that receives your CS-Cart stock (only warehouses whose stock can be edited are offered) and the price group that receives your prices. Set the VAT rate, price and stock rules, and the status maps (see Configuration). Save.
- On the Products tab map the products to sync (one product, or all products of a category). Press Sync now and read the Log: in dry run it says what would be created.
- Switch the connection to Live when the log shows what you expect. The first live sync creates the products in Base.com.
- Add the cron job from the add-on settings (Cron section), every minute is fine. Overlapping runs are prevented.
Orders are imported from the first live sync on (dry run creates none): the first import looks back 7 days, later ones continue from the newest confirmed order. Every imported order carries its Base.com order number in its notes, so a reinstall of the add-on never imports the same order again.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one account for all vendors (Marketplace owner mode on); the products and orders of all vendors then go through that one Base.com account. Switch the mode off to let each vendor connect their own Base.com account in the vendor panel (Connection tab). With the setting Vendor access on “Selected vendors” only the vendors you tick on the Vendors tab can do that.
Update
Section titled “Update”- Upload the new package the same way. Your settings, token and data are kept.
- 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.
Uninstall
Section titled “Uninstall”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 token. Products and orders already created in CS-Cart or Base.com are not touched.