Skip to content
All Guide to One Page

Smart Skroutz Cart

Connect Skroutz Smart Cart to WooCommerce, accept orders, create shipping labels, handle VAT and FBS orders, and troubleshoot common problems.

1. Overview and guide

Smart basket guide Skroutz for WooCommerce: what it does, what you need and all the steps from connection to acceptance and voucher.

The Smart Skroutz Cart for WooCommerce automatically bring the orders of Skroutz Smart Cart to your WooCommerce, with correct products, prices, VAT and invoice elements. From the order page you accept them or reject them, download the voucher and the situation is synchronized with Skroutz.

Plugin Settings Smart Skroutz Cart for WooCommerce: API Key, email, Size Attribute and VAT
The "Skroutz Smart Cart" page with the webhook URL, API Key, order email, Size Attribute and VAT settings.

Who's it for?#

For stores in WooCommerce that sell through Skroutz's Smart Basket and want all orders, stock and pricing at one point.

Pre-conditions#

  • Store in Skroutz with active Smart Cart and API token from Skroutz Merchants.
  • XML feed with id WooCommerce's ID, e.g. from XML Feed Skroutz & BestPrice.
  • Permalinks different from Simple and accessible REST API.
  • Tax classes at WooCommerce for the VAT rates you sell.

Fast Course#

Install → license → API Key and webhook URL in Skroutz → Size Attribute and VAT → webhook control → first order → acceptance and voucher.

All Guides#

  1. Skroutz Smart Cart: installation and activation
  2. Skroutz Smart Cart: entering your licence key
  3. Skroutz Smart Cart: connection to Skroutz (API Key and webhook)
  4. Skroutz Smart Cart: plugin settings
  5. Skroutz Smart Cart: matching products and variations
  6. Skroutz Smart Cart: accepting and rejecting orders
  7. Skroutz Smart Cart: shipping labels, bulk printing and tracking
  8. Skroutz Smart Cart: order statuses and stock
  9. Skroutz Smart Cart: VAT, invoices and customer details
  10. Skroutz Smart Cart: FBS orders (Fulfilled by Skroutz)
  11. Skroutz Smart Cart: connection checks and log files
  12. Skroutz Smart Cart: filters for developers
  13. Skroutz Smart Cart: common problems and solutions

Article: Overview and guide →

2. Installation and activation

Install the OBS Woo Skroutz cart from ZIP to WordPress, activate and what to check before connecting it to Skroutz.

The plugin appears on WordPress named OBS Woo Skroutz cart and add the option to the left menu Skroutz Smart Cart.

Installation steps#

  1. Login to your obstechnologies.gr account and open the section Downloads.
  2. The Smart Skroutz Cart press Download v... for the latest version and save ZIP. Don't decompress it.
  3. In WordPress open Plugins → Add Add Add Add (page opens with title Add Plugins) and press Transhipment Plugin.
  4. Press Select File, select ZIP and press Install Now.
    The WordPress 'Add Plugins' page with the ZIP file selected and the 'Register Now' button
    Select ZIP and press "Register Now".
  5. Press Enable Plugin.
  6. Open Skroutz Smart Cart from the management's left menu. There you will find the webhook URL and all the settings.
    WordPress' left menu with the "Skroutz Smart Cart" option highlighted
    The "Skroutz Smart Cart" option in the left menu.

Before connection#

  • WordPress permalinks (Settings → Permanent links) not to be Simple. The webhook is an address of the REST API.
  • No security plugin, firewall or maintenance mode should block the /wp-json/.
  • Skroutz's XML feed sending as id the ID of the product or variant at WooCommerce. See product matching.
  • If you use HPOS, the plugin states it compatible. Keep the latest version.

Upgrade from earlier version#

Keep backup of files and base. Upload the new ZIP the same way and when WordPress tells you that the plugin already exists, press Replace current with downloaded. The settings remain, because they are stored at the base. With active permission, new versions are also shown as a regular update on the page Plugins.

OBS does free installation and initial customization. If you prefer, open a request for support and we will take care of it.

Article: Installation and activation →

3. Import license

Where License key enters the Smart Skroutz Cart, how it is activated for your domain and what you do to change domain.

The license activates plugin updates for its domain e-shop You. It's not the same as Skroutz's API Key.

Enable#

  1. In your obstechnologies.gr account open Licences and press Copy In the key to the Smart basket.
  2. In WordPress open Skroutz Smart Cart.
  3. Under the title Settings page for Skroutz Smart Cart the box appears Activate for Update.
  4. Paste key in field Enter Validation Key and press Activate.
    The page ‘Settings page for Skroutz Smart Cart’ with the box ‘Activate for Update’, the key field and the ‘Activate’ button
    The activation box at the top of the page: paste the key and press "Activate".
  5. You will see a confirmation message. After renewing the page, the box does not appear as long as the license is active.

If the box appears again, the license check failed, e.g. because it changed the domain. Skroutz's orders continue to come normally. You only miss updates until you activate again.

Domain and transfer of licence#

  1. Open in your account Licences. On the product card you see the key; with Copy You get it without mistakes.
  2. The Activated domains It shows which domain the license is active on. Narin + Add domain and Enable You're declaring new.
  3. To transfer press Change domain next to the old one, write the new one and press Save. Narin Release Release the position.

Domain is stored without https:// and without www., so switching to HTTPS or adding/removing www does not need new activation. If you see the message You have reached the trigger limit, release the old domain first. To change limit see page Licence help.

Article: Enter your licence key →

4. Connect to Skroutz (API Key and webhook)

How to connect WooCommerce to Smart Cart: Skroutz's API token to API Key and webhook URL to Skroutz settings.

The connection has two directions. Skroutz Sends their new orders and changes to your website's webhook. The plugin Calling Skroutz with your API token for acceptance, rejection, voucher and shipment.

What you need#

  • Store in Skroutz with approved XML feed and active Smart Cart.
  • Smart Basket API from Skroutz Merchants.

Steps#

  1. Open Skroutz Smart Cart. At the top of the form you can see the line The url … with the address https://το-site-σας/wp-json/obs/v1/smart_cart_orders. Copy it exactly.
    The line ‘The url ...’ with the address of the webhook under the activation box
    The address of the webhook you are reporting to Skroutz Merchants.
  2. In Skroutz Merchants, in the Smart Basket settings, indicate this address as a webhook for orders.
  3. From the same point copy API token.
  4. Paste it in the field API Key of the page Skroutz Smart Cart and press Save Changes.
    The field "API Key" highlighted, above the "Demo email forskroutz cart orders" and the "Size Attribute"
    The "API Key" field shows the token with dots. After paste press "Save Changes".
  5. Fill in the other fields (Settings) and do connection check.

The webhook only accepts requests coming from Skroutz or bearing the right API Key. If the site is behind a reverse proxy or CDN, ask us to declare its networks so that the origin of the request is correctly recognized.

Article: Connection with Skroutz (API Key and webhook) →

5. Plugin Settings

All fields of the Skroutz Smart Cart page: API Key, Demo email, Size Attribute, VAT Exclusion, 0% VAT for Primer and VAT Rate Mapping.

All settings are on one page: Skroutz Smart Cart. After each change press Save Changes.

Plugin Settings Smart Skroutz Cart for WooCommerce: API Key, email, Size Attribute and VAT
The "Skroutz Smart Cart" page with the webhook URL, API Key, order email, Size Attribute and VAT settings.

Key Fields#

FieldWhat's he doing?
API KeySkroutz's API token. It is used for acceptance, rejection, voucher and shipment, and for webhook control.
Demo email for skroutz cart ordersThe email that enters as an email client in Skroutz orders because Skroutz does not give the buyer's email. That's where WooCommerce emails go for these orders.
Size AttributeThe attribute size of variants, with prefix pa_. Default pa_size. It is needed for Skroutz color entries.
The main fields of the configuration page: API Key, Demo email forskroutz cart orders and Size Attribute
The main fields of the "Skroutz Smart Cart" page.

«VAT Settings»#

FieldWhat's he doing?
Enable VAT Exclusion SupportIt saves in order the VAT exemption request sent by Skroutz for invoices.
Apply 0% VAT for PrimerIt automatically applies 0% VAT to orders where exemption was requested.
VAT Rate MappingFor each coefficient of Skroutz (24%, 13%, 6%, 0%, 17%, 9%) choose the WooCommerce Tax Class corresponding.
The ‘VAT Settings’ section with both checkboxes and the ‘VAT Rate Mapping’ table
The "VAT Settings" section with the "VAT Rate Mapping".

In detail for VAT: VAT and invoices.

Article: Plugin settings →

6. Product and variant matching

How does the plugin find the right product and variant of each order Skroutz, and what should apply to your XML feed.

In each order line, Skroutz sends the code with which the product is in your XML feed. The plugin is searching for this code as Product ID or variant WooCommerce.

What should apply#

  • The id XML feed is WooCommerce's ID. XML Feed Skroutz & BestPrice OBS does it by default.
  • For entries by colour, the code shall be in the form of ID γονικού-ID χρώματοςThe plugin finds the variation from the color and size chosen by the customer.
  • The Size Attribute is the real attribute size of your variants (e.g. pa_size or pa_megethos).
  • Colour and size attributes are universal (Products → Properties) and are used for variants.

Whether the feed sends SKU or other password#

Change the source of id to feed or ask your developer (or us) to match the filter obs_skroutz_cart_product_id. Do not change the id of feed to a live store without consultation with Skroutz, because the matches are lost.

When no product is found#

From version 1.2.11, if a line does not correspond to a product of WooCommerce, the order no a license or half is created. The webhook responds with error and Skroutz can re-send it once the catalogue has been corrected. Older versions created order without products.

Article: Comparison of products and variants →

7. Accept and reject order

How you accept or reject a Skroutz order from WooCommerce: time and location of receipt, parcels and reason for rejection.

Every new order Skroutz enters WooCommerce in condition Standing byYou accept it or reject it from the order page without entering Skroutz Merchants.

Accept#

  1. Open the order in WooCommerce → Orders.
    The order list with two orders Skroutz, with the Skroutz icon next to the number
    Orders that came from the Smart Cart have the Skroutz icon.
  2. In the right column find the box Skroutz Smart Cart and unity Accept Order. To show the form, the plugin calls api.skroutz.gr (from there come the pick-up options and reasons for rejection), so it needs a valid API Key and a server connection to Skroutz.
  3. Select Receiving Time and Location of Receiving from the options Skroutz sends. The number of packages shall be completed automatically where requested.
  4. Press Accept.
  5. Order goes to Edited when Skroutz confirms acceptance, and the voucher link appears.

Dismissed#

  1. In the same box press Reject.
  2. In the opening window, for each product (Item) choose a reason (Reason) from Skroutz's list.
  3. If the reason is for stock, fill in Quantity available.
  4. Press SubmitWhen Skroutz updates the cancellation, the order is made Cancelled.

If the frame is writing It's not an order from Skroutz., the order was created on the site rather than by the Smart Cart. The deadline for acceptance is set by Skroutz. Order that expires without reply is made Cancelled.

Article: Accept and reject order →

8. Voucher, mass printing and tracking

Where you download the voucher of the Skroutz order, how you print massive vouchers and where the transport company and the shipping number are shown.

After acceptance, Skroutz publishes the transport voucher. The plugin brings it to the order page.

Voucher single order#

  1. Open the order. Skroutz Smart Cart press the link Download the voucher here.
    The "Skroutz Smart Cart" box on the order page by means of transport, shipping number and link "here" for the voucher
    The framework of the order after acceptance: transport, shipping number and voucher link.
  2. If you see "The order has been accepted. Voucher is not yet available.", wait a while and press Refresh for Voucher.

bulk printing#

  1. The WooCommerce → Orders Check the Skroutz orders you want.
  2. From the Massive actions select Print Skroutz voucher and press Implementation.
    The list of orders with two selected orders Skroutz and the mass action "Print Skroutz voucher"
    Skroutz orders have the Skroutz logo next to the number. Select them and choose "Print Skroutz voucher".
  3. The plugin connects vouchers to a PDF for printing.

If the mass print does not remove a voucher, download it from the order page and let us know.

Transport and tracking#

  • On the order page are shown Method of transport: and Send number:.
  • Order gets shipping line titled Skroutz - … and the transport company.
  • When you change the order to Complete, the plugin informs Skroutz that the order was sent.

Article: Voucher, mass printing and tracking →

9. Order Status and Stock

How Skroutz's situations at WooCommerce are matched, when the stock is reduced and what is updated to Skroutz.

Every time changing an order to Skroutz, Skroutz sends notice and the plugin updates the order to WooCommerce.

Status in SkroutzStatus at WooCommerce
New (open)Standing by
AcceptedEdited
Rejected, cancelled or expiredCancelled
Sent or deliveredComplete
Repayment or partial refundFailed

Stock#

  • Stock decreases when order is created, with the normal WooCommerce mechanism, for products with active Stock management.
  • In cancellation, WooCommerce restores the stock as in any cancelled order.
  • In order FBS the stock does not decrease, because the shipment is made from the warehouse of Skroutz. FBS orders.

From WooCommerce to Skroutz#

The acceptance, rejection and the Complete sent to Skroutz. Other manual status changes in WooCommerce are not sent.

If you want another matching (e.g. new orders in Edited), changes with filters.

Article: Order and stock statements →

10. VAT, invoices and customer information

Right VAT per product with VAT Rate Mapping, VAT exemption for Primer and where the invoice information of the order Skroutz is written.

The plugin keeps line values as sent by Skroutz and calculates VAT with WooCommerce's tax classes.

VAT regulation#

  1. The WooCommerce → Settings → Tax Make sure that there is a tax class for each factor you sell (e.g. 24%, 13%, 6%).
  2. The Skroutz Smart Cart → VAT Rate Mapping match each Skroutz VAT Rate In WooCommerce Tax Class.
    The table ‘VAT Rate Mapping’ comparing each Skroutz factor to WooCommerce Tax Class
    Select a tax class for each Skroutz factor and press "Save Changes".
  3. Press Save Changes.

Fill in the Mapping for All the rates you sell; if missing, the reduced rate products can be calculated using normal VAT.

Invoice and VAT exemption#

  • When the customer requests an invoice, name, VAT, tax office, activity and address are written on the order, and in the fields using the OBS invoice plugins.
  • Narin Enable VAT Exclusion Support the VAT exemption request is stored. Narin Apply 0% VAT for Primer 0% VAT applies to these orders.
  • For the evidence, the order is marked as proof.

Customer information#

Name and address come from Skroutz. The customer's mobile is written in a separate field of the order and his comments in the customer notes. The email is that of Demo email for skroutz cart orders. If you need the data in specific fields for ERP or invoicing, we define it with filters.

Article: VAT, invoices and customer details →

11. Orders FBS (Fulfilled by Skroutz)

How to separate FBS orders at WooCommerce, because they do not reduce stock and how to filter them in the order list.

In FBS Skroutz keeps stock in its own warehouse and does the shipping itself. The order is recorded at WooCommerce for accounting and reporting, but you do not send it.

What the plugin does#

  • He recognizes the order as FBS and labeles (badge) FBS in column Charge the order list. The column Charge is hidden by default: enable it from Screen Options the list so you can see the label.
  • It does not reduce WooCommerce's stock and adds note to the order that explains it.
  • It continues to synchronize the situation as in each order Skroutz.

Filter#

  1. The WooCommerce → Orders, over the list, find the filter All Skroutz fulfillment types.
  2. Select Skroutz FBS only to see only FBS, or Skroutz merchant fulfilled only For as many as you send.
  3. Press Filter.
    The order list filtered with ‘Skroutz FBS only’, with the order FBS and the label FBS
    The filter "Skroutz FBS only" shows only FBS orders, with the label FBS.

Because the FBS stock is in Skroutz, do not send orders from your own stock that have the label FBS. It also works with HPOS.

Article: Orders FBS (Fulfilled by Skroutz) →

12. Connection check and log files

How you check that webhook is accessible, how you make the first test order and where you find the plugin logs.

Check webhook#

  1. Open the webhook URL to browser. Because it only accepts POST requests, you need to see a message from WordPress JSON (e.g. rest_no_route).
    WordPress's JSON response with rest_no_route code when webhook URL opens in browser
    The response of webhook to GET request: JSON message with code rest_no_route.
  2. If you see page 404 of the theme or login page, check permalinks and security plugins.
  3. If you see a firewall or CDN page, allow the path /wp-json/obs/v1/.

First order#

  1. With the first real order from Smart Cart, check at WooCommerce: correct products and variant, amounts the same as Skroutz, VAT, status Standing by, stock reduction.
  2. Make it Accept and check that the voucher appears.
  3. Start with a simple and variable product if you can.

Logs#

The WooCommerce → Status → Logs select the source skroutz-cart-requests. There are recorded the plugin calls to Skroutz (acceptance, rejection, shipment) and their errors.

If the webhook rejects an order, Skroutz receives a error code. Send us the order code Skroutz and we will check the cause.

Article: Connection check and log files →

13. Filters for developers

The WordPress filters of the Smart Basket for matching products, ordering situations, invoice fields, shipping and proxy.

Your developer adjusts the plugin behavior with filters in functions.php of child theme or its own plugin.

FilterWhat changes?
obs_skroutz_cart_product_idComparison of the feed code in a WooCommerce product (e.g. from SKU)
obs_skroutz_new_order_statusNew order status (default Standing by)
obs_skroutz_cart_update_order_statusComparison of Skroutz to WooCommerce situations
obs_skroutz_cart_skip_order_status_updateSkip status change for specific orders
obs_skroutz_cart_update_order_details_…Meta keys where a VAT, tax office, name, mobile, document type is written
obs_skroutz_cart_shipping_method_title, obs_skroutz_cart_shipping_line_totalTitle and amount of the consignment line
obs_skroutz_cart_trusted_proxy_networksReverse networks proxy/CDN for correct recognition of Skroutz

There's also the action obs_skroutz_cart_update_order_details, running after creating each order with all the data of Skroutz, for your own actions (e.g. sending to ERP).

Article: Filters for developers →

14. Common problems and solutions

The most frequent problems of Smart Basket from support requests: orders without products, stock, webhook, variants, situations.

Order enters without products or at zero amount#

Reason: The product id in XML feed does not correspond to a product or variant of WooCommerce, e.g. the feed sends SKU.

Solution: See product matching and upgrade to the latest version, which rejects such lines instead of writing an order license.

Orders don't come at all#

Reason: Wrong webhook URL in Skroutz, permalinks Simple, or block it /wp-json/ from firewall or security plugin.

Solution: Copy the URL from the configuration page again and make it webhook control. If the site was stopped at Skroutz, check that the URL is still stated.

Webhook responds 400#

Reason: The request does not have valid order details, or a line does not correspond to a product of the store.

Solution: Check that the product of the order is in WooCommerce with the feed ID. Send us the Skroutz order code for checking.

Webhook answers 401 or 503#

Reason: 503: not saved API Key. 401: the request is not recognised as Skroutz's request, usually because it passes through proxy or CDN.

Solution: Save the right API token. For proxy/CDN contact us.

Not reduced stock#

Reason: The product was not matched, the Stock management is closed, or the order is FBS.

Solution: Check matching and stock management. In FBS orders the non-reduction is correct.

Wrong color or size#

Reason: The Size Attribute is not the real size attribute, or the attributes are not universal.

Solution: Fix it Size Attribute (e.g. pa_size) and upgrade to the latest version.

The condition does not follow Skroutz#

Reason: No change notice came, order was not found or set filter that bypasses change.

Solution: Check the logs and the Situation table.

The same order was created several times#

Reason: Older version without protection from repeated alerts.

Solution: Upgrade and cancel the duplicates after keeping the first order.

VAT turns to 24% or the box is lost after HPOS#

Reason: Empty VAT Rate Mapping or earlier version.

Solution: Fill it in. VAT Rate Mapping And upgrade.

Article: Troubleshooting →