=== Sendino for WordPress ===
Contributors: sendino
Tags: email marketing, newsletter, woocommerce, abandoned cart, leads
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 0.7.2
License: GPLv2 or later

Connect WordPress and WooCommerce to your Sendino email marketing account.

== Description ==

Sendino for WordPress links your site to your Sendino account.

Included: admin menu, connection to your Sendino account (API key), default list, signup form (block and [sendino_form] shortcode) with consent, optional Cloudflare Turnstile / Google reCAPTCHA protection, a Leads screen with automatic retry, popups, slide-ins and bars with a visual builder, WooCommerce integration (marketing opt-in at checkout, customer sync, revenue from email) and abandoned cart recovery with a reminder email. Romanian translation included.

Web push (new in 0.7.0, off by default): visitors allow browser notifications through a two-step prompt, and you send them offers and news from Sendino. The plugin serves the service worker from your own domain at /sendino-sw.js (no file to upload). Requires HTTPS, a connected Sendino account and push enabled for your website in Sendino. It detects other push or PWA plugins that could conflict.

Integrations: Contact Form 7, WPForms, Elementor Pro forms, Gravity Forms, WordPress / WooCommerce registration and comments. Only people who tick a consent box are added.

== Installation ==

1. Upload the plugin and activate it. A new "Sendino" item appears in the admin menu.
2. Open Sendino > Dashboard and connect your account by pasting your Sendino API key (Account > API in Sendino).
3. Choose the default list for new leads and customers.

== Changelog ==

= 0.7.2 =
* Fix: the WooCommerce Revenue from email report no longer fails with a fatal error when the order query returns refunds.

= 0.7.1 =
* Push prompt position: six places to choose from (bottom left/right, middle left/right, top left/right).

= 0.7.0 =
* New Push notifications card in Settings: two-step subscribe prompt (your own banner first, the browser permission only after "Yes"), timing (seconds, pages, scroll or your own button with data-sendino-push), page rules, texts, colour and position. Everything is off by default; nothing changes on your site until you turn it on.
* The plugin serves the web push service worker from your own domain (/sendino-sw.js, fallback /?sendino-sw=1) without any file or rewrite rule, and checks it from the settings screen.
* Detects other push / PWA plugins and service workers that could conflict, warns when WordPress is in a sub-folder or the site has no HTTPS.
* Romanian translation of the new screens.

= 0.6.0 =
* New Integrations card in Settings: Contact Form 7, WPForms, Elementor Pro forms, Gravity Forms, registration and comment forms add consenting people to your list. All off by default.

= 0.5.2 =
* More resilient loading: the autoloader retries briefly when a file is momentarily unreadable, and a startup error in the plugin is logged instead of taking the whole site down.

= 0.5.1 =
* The dashboard now shows Abandoned carts as available.
* Large numbers on the Dashboard, Leads and Abandoned carts screens use thousands separators.
* Updated readme.

= 0.5.0 =
* Abandoned cart recovery: automatic reminder email with the cart items, a button back to the checkout, optional coupon and an opt-out link; results and the reminder preview in the admin.

= 0.4.0 =
* WooCommerce: compatible with HPOS and the Cart/Checkout blocks; marketing opt-in at checkout (classic and block); customers who opt in are added to your list; Revenue from email report.

= 0.3.0 =
* Popups & forms: create forms, popups, slide-ins and bars; one column, two columns, inline or image + form layouts; colours, triggers (delay, scroll, exit intent, click), frequency and page rules.
* [sendino_form id="N"] shortcode for saved forms; last name field.

= 0.2.0 =
* Signup form block and shortcode, lead capture with consent, honeypot and rate limit.
* Optional Cloudflare Turnstile / Google reCAPTCHA v2 / v3.
* Leads table with status, retry and a background retry job.
* Manrope font, menu icon.

= 0.1.0 =
* Admin menu, onboarding, connection to a Sendino account and default list selection.
