=== CatCode OTTO Market Connector for WooCommerce ===
Contributors: catcode
Tags: otto, otto market, marketplace, woocommerce, germany
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WooCommerce to OTTO Market: link your OTTO products by SKU or EAN and keep stock and prices in sync.

== Description ==

For sellers on OTTO Market (otto.de) who run a WooCommerce shop. The plugin talks directly to the OTTO Market API with your own OTTO app, there is no service in between.

* Link products: reads all your product variations from OTTO and links them to WooCommerce products and variations by SKU, or else by EAN. Report of what stayed unlinked.
* Stock and price sync: changes go out within a few minutes, in batches, only what changed. Refusals from OTTO are shown on the product.
* Price rules: markup in percent, fixed add-on, conversion rate to euro, rounding to ,99 or ,95, own price per product, sale prices with their dates.
* Stock rules: reserve for your own shop, quantity for products without stock management. A product that leaves the shop goes to 0 on OTTO.
* Marketplace status on the product and in a list: online, not shown, rejected, with OTTO's errors, the MOIN and the link to otto.de.
* API log for 30 days. Client secret and access token are never logged and are stored encrypted.
* Live and sandbox environment. Compatible with HPOS and with the block checkout.

// @pro-begin
= Pro =

* OTTO orders in WooCommerce every 5 minutes, with cancellations and returns.
* Stock reserved for orders OTTO only announced.
* Shipments with tracking and return tracking numbers back to OTTO.
* Returns accepted or rejected from the order, OTTO receipts as PDF.
* New products to OTTO with variations, images, attributes and the EU product safety data (GPSR), checked before they are sent.

7-day trial on request. Licence for 1 to 5 years; one key works on two sites, your shop and a test copy.

// @pro-end
= External service =

The plugin sends data to the OTTO Market API (api.otto.market, or sandbox.api.otto.market when you choose the sandbox), only with the credentials of your own OTTO app: the app credentials to get an access token, and the SKU, quantity and price of the products you set to sell on OTTO. OTTO's terms: https://www.otto.market/en/ and privacy policy: https://www.otto.market/en/privacy-policy.html
// @pro-begin

The Pro licence is checked at catcode.com.ua: the key and the address of the site are sent. Terms: https://catcode.com.ua/terms/
// @pro-end

== Installation ==

1. Install and activate the plugin. WooCommerce must be active.
2. In OTTO Partner Connect open API-Zugriff and create an app with the interfaces Products and Availability.
3. Enter the Client ID and Client Secret under WooCommerce → OTTO Market → Connection and check the connection.
4. In the Listings tab press "Import and link products".

== Frequently Asked Questions ==

= Who can use it? =

Registered OTTO Market sellers with a signed contract: OTTO gives API access only to them. Your OTTO user needs the right "API-Zugriff".

= Does it publish products to OTTO? =

// @pro-begin
That is part of Pro. The free part keeps products that already exist on OTTO in sync.
// @pro-end
The plugin keeps products that already exist on OTTO in sync.

= Are my OTTO prices changed? =

Only for products set to sell on OTTO, and only with price sync on. Switch it off in the Listings tab if you set prices in OTTO Partner Connect.

== Changelog ==

= 1.0.0 =
* First release.
