=== SimpleStamp Designer ===
Contributors: simplestampdesigner
Tags: woocommerce, stamps, product personalization, laser engraving, custom products
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.19.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let customers design custom stamp text right on the product page — millimeter-precise, export-ready for laser engraving.

== Description ==

**SimpleStamp Designer** turns any WooCommerce product into a fully customizable stamp. Customers type their text directly on the product page, see an accurate live preview instantly, and add the finished stamp design to the cart — ready for laser engraving.

= Features in the free version =

* Text editor for rectangular stamps (bold, italic, underline, alignment, borders)
* Curved-text editor for round stamps (Model 1: full outer ring, Model 3: arc top + bottom)
* Upload a custom graphic (SVG, PNG, JPG, PDF)
* Unlimited stamp profiles (sizes/shapes), including JSON import/export; 5 ready-made profiles included to get started
* Automatic, millimeter-precise SVG export for laser engraving software
* Direct WooCommerce cart integration, including "Edit design" from the cart

= With [SimpleStamp Pro Designer](https://simplestamp-designer.de) =

* Over 80 ready-made profiles for common stamp models (free version includes 5)
* Upload your own fonts or choose from Google Fonts
* Add a logo alongside the text, freely movable and resizable
* Additional curved-text models (2 and 4)

**Note:** This plugin requires [WooCommerce](https://wordpress.org/plugins/woocommerce/) and will not work without it.

**Note on oval stamps:** Oval stamp shapes are not yet included in this version and are planned for an upcoming update.

== Installation ==

1. Make sure WooCommerce is already installed and active.
2. Upload and activate the plugin via "Plugins" → "Add New".
3. Under "Stamp Designer" → "Import / Export", import the bundled default profiles (or create your own).
4. For each WooCommerce product that should be sold as a stamp, open it for editing and assign the matching stamp profile under "General".

== Frequently Asked Questions ==

= Does the plugin work without WooCommerce? =

No. SimpleStamp Designer is built entirely on top of WooCommerce (products, cart, orders) and cannot be activated without it.

= How many stamp profiles can I create in the free version? =

As many as you like. The free version ships with 5 ready-made profiles to get started; SimpleStamp Pro Designer, a separate product, ships with more than 80 ready-made profiles.

= Are oval stamps supported? =

Not yet — this is planned for an upcoming update.

= How do I export the finished design for my laser engraving software? =

Every order automatically includes a ready-made SVG (registration marks and cut line provided separately), downloadable from the order details in the WordPress admin area.

== Screenshots ==

1. Stamp designer on the product page (rectangular stamp)
2. Curved-text editor for round stamps
3. Profile overview in the admin area

== Changelog ==

= 2.19.4 =
* Security: added nonce verification to the add-to-cart design form (custom stamp fields and the "replace existing cart item" logic were previously accepted from $_POST without a nonce check)

= 2.19.3 =
* Added a one-time cleanup tool (Stamp Designer → Import / Export) that detects duplicate profiles/categories left over from earlier installations, shows a preview, and merges them only after explicit confirmation (profiles are moved to trash, not permanently deleted)

= 2.19.2 =
* Fix: the "Import default profiles" button (and the custom JSON import) could create duplicate profiles if run more than once, since removing the 2.19.1 profile-limit code also removed a side effect that had accidentally prevented this; importing now skips any profile whose title already exists

= 2.19.1 =
* Removed the technical 5-profile limit; the free version now allows unlimited stamp profiles (5 ready-made profiles remain included, Pro's larger library of 80+ remains a Pro feature)
* Removed remaining unreachable Pro-only code paths (logo overlay, curved-text models 2/4); the free version now only shows an informational locked badge for these, with no Pro functionality shipped
* The plugin no longer deactivates another, separately installed plugin automatically; it now shows a notice with a link the site admin has to click themselves
* Renamed all internal identifiers (post type, taxonomy, option and meta-data keys) from the 3-character prefix "ssd_" to the required 4-character "ssdx_"; existing data is migrated automatically on first load after the update

= 2.19.0 =
* Renamed to SimpleStamp Designer
* Removed the font-management and logo-overlay code entirely from this free version (previously present but always locked); these remain exclusive to the separate SimpleStamp Pro Designer product
* Removed the license-checking system from this free version (it never applied here, since this version is permanently free)
* Security: uploaded SVG files are now sanitized (scripts, event-handler attributes, and embedded foreign content are stripped) before being stored
* Moved inline admin styles/scripts into properly enqueued files
* readme.txt rewritten in English per WordPress.org policy

= 2.18.9 =
* Fix: replaced the default "Add to cart" button with a "Design now" button on the shop and category pages for stamp products, so customers can no longer add an undesigned stamp straight to the cart from a product listing

= 2.18.5 =
* Replaced placeholder profile preview images with final product photos
* Updated plugin URI and website links

= 2.17.4 =
* Fix: WooCommerce dependency is now detected reliably, regardless of plugin activation order
* Fix: clear notice for shop owners when a product has no stamp profile assigned yet
* Oval stamp shape temporarily removed (rendering issues with borders and curved text)
* Improved distinction between preview and input field in the designer

= 2.17.0 =
* First Free/Pro version: 5-profile limit, showcase preview of additional profiles, locked Pro features shown with a note

== Upgrade Notice ==

= 2.19.0 =
Renamed to SimpleStamp Designer; security and code-quality improvements. Update recommended.

= 2.17.4 =
Fixes a critical error that could crash the site when WooCommerce was not installed. Update strongly recommended.
