=== Falabella Seller Center for WooCommerce ===
Contributors: catcodestudio
Tags: falabella, marketplace, colombia, woocommerce, inventory
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

Connects WooCommerce to Falabella Seller Center (Colombia): sends stock and price by SKU and lists your Falabella orders.

== Description ==

If you sell on Falabella Colombia and keep your catalogue in WooCommerce, this plugin keeps the two in step through the official Seller Center API (developers.falabella.com).

* **Stock and price by SKU:** the WooCommerce SKU is matched with the SellerSku on Falabella, and stock and price go out in batches of 500 through `ProductUpdate`. A sale with start and end dates goes as Falabella's special price with the same dates.
* **Your choice of products:** every product with a SKU, or only the ones you tick "Falabella" on.
* **Stock cap:** never offer Falabella more than the number you set.
* **Feed result at one click:** Falabella processes updates in the background; the plugin shows the status of the last feed and the errors it reports.
* **Orders from Falabella:** the latest orders with number, date, customer, total, status and the date the parcel has to be handed over.
* Signed requests (HMAC-SHA256) exactly as the API documentation describes, with the User-Agent the API asks for. HPOS (custom order tables) supported.
// @pro-begin
* Spanish translation included (Colombia and Spain).
// @pro-end

// @pro-begin
= Pro =

The Pro version is sold on [catcode.com.ua](https://catcode.com.ua/modules/falabella-seller-center-woocommerce/), with a 7-day trial that never starts by itself:

* **Falabella orders become WooCommerce orders** every 15 minutes: buyer, address, SKUs matched to your products, delivery cost. Orders that Falabella fulfils itself do not take units off your stock.
* **Ready to ship** from the WooCommerce order with one button, or automatically when the order reaches the status you choose.
* **Changes go out by themselves:** a stock or price change in WooCommerce reaches Falabella within a minute; the whole catalogue is also sent once a day.
* **Stock into a chosen Falabella warehouse.**

The licence runs for 1-5 years and includes updates and support for that term; a purchased licence keeps its Pro features after the term ends.
// @pro-end

= Before you start =

Falabella has no test environment: every call goes to the live Seller Center, so try it with a product you can afford to change. You need a Falabella seller account with a user that has API access (Seller Center → My account → Users). The plugin sends stock and price of SKUs that already exist on Falabella; it does not create products or categories there.

== External services ==

The plugin talks to the Falabella Seller Center API (https://sellercenter-api.falabella.com/) to send stock and price, read orders and read the status of feeds. Each request carries your Seller Center user ID, a signature made from your API key (the key itself is never sent), the SKUs, stock and prices you send, and, when you open the Orders tab, order data (buyer name and address) that Falabella returns. Nothing is sent until you enter the credentials and press a button. Falabella's terms and privacy policy apply: https://www.falabella.com.co/falabella-co/
// @pro-begin
The Pro build also contacts the CatCode licence server (https://catcode.com.ua/) to activate, verify and update the licence: the licence key and the site address are sent; no shop data.
// @pro-end

== Installation ==

1. Install and activate the plugin. WooCommerce must be active.
2. WooCommerce → Falabella → Connection: enter the User ID (e-mail), the API key and the Seller ID from Seller Center, save, and press "Test the connection".
3. Stock and price tab: choose what to send and press "Send stock and price to Falabella".

== Frequently Asked Questions ==

= Does it create products on Falabella? =

No. Creating a product there needs a category, a brand and category attributes that you choose in Seller Center. The plugin updates stock and price of the SKUs that already exist.

= Which SKU is used? =

The WooCommerce SKU must be the same as the SellerSku on Falabella. Products and variations without a SKU are skipped.

= Is it made or endorsed by Falabella? =

No. Falabella is a trademark of its owner; the plugin is made by CatCode and uses the public Seller Center API.

== Changelog ==

= 1.0.0 =
* First release: connection test, stock and price by SKU, feed status, list of Falabella orders.
// @pro-begin
* Pro: order import, ready to ship, automatic sync, warehouse stock.
* Pro: updates through catcode.com.ua.
// @pro-end
