﻿=== SuiteMkt3k ===
Contributors: 31416k
Donate link: https://www.paypal.com/donate/?hosted_button_id=AKMXXA2THYD4N
Tags: marketing, coupons, newsletter, smtp, statistics
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.1.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Marketing suite for stores with coupons, newsletter, cart recovery, subscribers, analytics and built-in SMTP.

== Description ==

SuiteMkt3k brings a modern style admin to WooCommerce sites and adds the marketing automation features online stores actually need:

* Coupon campaigns with scheduling and calendar view.
* Two display formats: top banner or popup, plus two coupon formats (classic and opt-in with a 2-step popup that captures Name, Email and Birth date).
* Newsletter editor based on email-safe templates (no raw HTML required) with batched delivery, open tracking pixel and click redirector.
* Subscription form builder via shortcode.
* Abandoned cart capture from the checkout, manual or automatic recovery emails (with optional auto-generated WooCommerce discount coupon and unique link to restore the cart).
* Full subscribers manager (search, filters, CSV export, edit/delete modals) with GDPR-compliant unsubscribe links.
* Statistics dashboard powered by Chart.js (impressions, clicks, opens, conversions, revenue).
* Own SMTP that only overrides for plugin emails (X-SuiteMkt3k header) so it never conflicts with general SMTP plugins.
* Language selector (Spanish default + English), per-user override.
* AES-256-GCM encryption for SMTP password, rate limiting on public endpoints, capability-based access control and prepared SQL everywhere.

== Installation ==

1. Upload `suitemkt3k` to `/wp-content/plugins/` (or install the zip from Plugins → Add New → Upload).
2. Activate the plugin via the WordPress Plugins screen.
3. Go to *SuiteMkt3k → Settings* to configure your company, SMTP credentials and preferences.

== Screenshots ==

1. Dashboard — KPI overview and quick access to marketing modules.
2. Coupons — Campaign list, designer and calendar.
3. Newsletter — Campaigns, designer and subscription forms.
4. Abandoned carts — Captured carts and recovery email template.
5. Subscribers — Contact database, filters and CSV export.
6. Statistics — Metrics by channel and time range.
7. Settings — Company, SMTP, coupons, newsletter and backup.
8. Help — In-plugin documentation and guides.

== Frequently Asked Questions ==

= Does it require WooCommerce? =
The Newsletter and Subscribers modules work without WooCommerce. Coupons and Abandoned Cart Recovery show an informative notice that WooCommerce is required for full functionality.

= Will the SMTP conflict with other SMTP plugins? =
No. SuiteMkt3k only overrides SMTP for emails carrying the `X-SuiteMkt3k` header. Other plugins keep their behaviour intact.

= How are sensitive data protected? =
The SMTP password is encrypted with AES-256-GCM using a key derived from `AUTH_KEY` + a per-install secret. Tokens for unsubscribe and cart recovery are 32-byte random hex strings. All REST endpoints enforce nonces, capability checks and rate limiting.

== Changelog ==

= 1.1.3 =
* Full Spanish translation (admin interface and transactional emails).
* WordPress Plugin Check compliance (security, sanitization, enqueued assets).
* Coupon opt-in email template editor; opt-in form field background, border and radius options.
* Cart recovery email template improvements (intro line placement, reliable save).
* Statistics: unsubscribes count in the subscribers view.
* Other fixes and UI polish (donation prompt, email previews, legal footer in emails).

= 1.1.2 =
* Abandoned cart recovery with editable email template and test send.
* Statistics filtered by coupons, newsletters, carts and subscribers.
* Live email preview in newsletter and cart recovery designers.
* Settings backup/export and enhanced subscriber tools.

= 1.1.1 =
* Coupon campaigns (banner, popup, classic and opt-in with email capture).
* Newsletter designer with safe templates and batched sending.
* Subscription forms via shortcode.
* Subscribers list with GDPR unsubscribe page (`/baja/`).
* Dedicated SMTP for plugin emails and dashboard metrics.

= 1.1.0 =
* First stable release for WooCommerce marketing workflows.

= 1.0.0 =
* Initial release.
