Skip to content

Installation and setup

  • CS-Cart or Multi-Vendor 4.17.2 or later, with a public HTTPS address.
  • Administrator access to the store’s admin panel.
  • A Skroutz merchant account with the Smart Cart (Skroutz Marketplace) service. The API token and the webhook address are created in the merchant panel under Merchants > Services > Skroutz Marketplace.
  • A store whose primary currency is the euro: Skroutz prices are euros and are imported as they are (the add-on logs a warning for any other currency).
  • Products in your shop whose product code (or ID) is the id you give Skroutz in the product feed (shop_uid). The add-on does not create the feed; use the CS-Cart Data feeds add-on or another feed tool.
  • A cron job on your server (step 7).
  1. Download the kv_skroutz_smart_cart-<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 Skroutz Smart Cart Orders 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. In the Skroutz merchant panel, create an API key (Smart Cart settings). Skroutz allows one active key per shop: a new key expires the old one.
  2. In CS-Cart open Orders > Skroutz orders, tab Connection. Paste the token and click Save and test. The test reads the documented demo order DEMO-OPEN; it changes nothing at Skroutz.
  3. The page now shows the Webhook URL. Copy it into the Skroutz Smart Cart settings as the webhook address. It looks like https://your-store.example/index.php?dispatch=kv_skroutz_smart_cart.webhook&c=0&token=.... The part after token= is the secret that separates real requests from forged ones.
  4. In the Skroutz panel send a demo order (DEMO-OPEN) to the webhook, or place a real test order. Switch on Import demo orders on the Rules page if you want demo orders to become CS-Cart orders while you test.
  5. Open the Rules tab: choose how shop_uid maps to your products (product code is the default), the default pickup location, and whether orders are accepted automatically.
  6. If your server filters traffic, allow the Skroutz sender addresses listed on the Connection page (they come from the Skroutz webhook documentation).
  7. Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented. The queue delivers the stored webhook events, so without cron nothing is imported.

See also Configuration: in per-vendor mode Skroutz pays the vendor directly, so these orders are excluded from the vendor balance.

By default the marketplace owner connects one Skroutz token for all vendors (Marketplace owner mode on): only the marketplace owner accepts and rejects, and orders are split per vendor by CS-Cart. Switch it off to let each vendor connect their own Skroutz shop in the vendor panel (Connection tab); each vendor then has their own webhook URL (c=<vendor id>) and sees and answers only their own orders.

There is one Skroutz account for the whole installation. Every administrator who may see orders can see and answer all Skroutz orders, whatever storefront they are restricted to; keep the token and the rules with the owner’s administrators.

  1. Upload the new package the same way. Your settings, token 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 token. CS-Cart orders that were imported stay.