=== Printtex Personnalisation ===
Contributors: printtexoutil
Tags: product customizer, t-shirt designer, personalization, woocommerce, print on demand
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.2.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Customers design t-shirts, hoodies and caps on your WooCommerce product pages; the design goes to your cart with a print-ready file.

== Description ==

Made by a textile print workshop in Paris for other workshops and clothing brands.

* Your customer places a logo, a photo or a text on the real garment, front and back, in the print areas you set (left chest, centered, upper back…).
* Colors, sizes and quantity price tiers; team orders with names and numbers.
* The customized item goes into your WooCommerce cart like any product: your checkout, shipping and payment methods stay yours.
* The price is recalculated on the service's server from your price table, never taken from the browser.
* In the order admin: preview, 300 dpi PNG print file per print area and placement note (hidden from the customer).

14-day free trial, no card needed, then a monthly subscription (see pricing on the service website).

== External services ==

This plugin connects to the Printtex Personnalisation service (https://printtex-perso-appli.printtex75.workers.dev), which provides the customizer and stores the design files.

* On product pages where you enabled customization, the customizer script is loaded from the service. The customer's design (images, texts, chosen options) is sent to the service when they confirm.
* When the design is added to the cart, your site asks the service for the order lines and their prices, using your secret plugin key.
* When an order is paid, your site sends the order number and design references to the service (used for the per-order commission described in the terms).

Terms of service: https://printtex-perso-appli.printtex75.workers.dev/conditions
Privacy policy: https://printtex-perso-appli.printtex75.workers.dev/confidentialite

== Installation ==

1. Create your merchant space on https://printtex-perso-appli.printtex75.workers.dev and add your product (photos, print areas, prices).
2. Install and activate the plugin, then go to WooCommerce > Personnalisation and paste your shop ID and plugin key.
3. On each simple product to customize (General tab), enter the product ID from your merchant space.

== Frequently Asked Questions ==

= Do I need a variable product? =

No. A simple product is enough: colors and sizes are picked in the customizer and appear on the order line.

= Which currency is used? =

Your WooCommerce store currency must match the currency of your merchant space.

== Changelog ==

= 0.2.2 =
* Unique prefix (printtexperso) for functions, options and constants.

= 0.2.1 =
* Customizer script loaded with wp_enqueue_script.

= 0.2.0 =
* Tested end to end (cart, checkout, order admin). Technical markers removed from orders.
