=== Websel Sözleşmeler for WooCommerce ===
Contributors: webseldonusum
Tags: woocommerce, checkout, terms, distance-selling, gdpr
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds mandatory pre-information and distance sales contract consent to the WooCommerce checkout, with the contract text auto-filled from the order.

== Description ==

For online stores that sell in Turkey, showing and obtaining approval of the **Pre-Information Form** and the **Distance Sales Contract** before the customer confirms the order is a legal requirement (Law No. 6502 and the Distance Contracts Regulation).

This plugin does exactly that:

* **Mandatory consent checkboxes** on the checkout page (classic checkout) — the order cannot be completed until they are approved.
* Clicking a contract link opens the full text in a **modal window**; the customer name, address, products and order total are **filled live from the order data**.
* Ready-to-use **Turkish templates** are created as pages with one click.
* The moment of approval is stored on the order as a **timestamp**.
* Support for linking a Privacy (KVKK) information text.
* Theme independent — works with any WooCommerce theme.

= Pro version =

[Websel Sözleşmeler Pro](https://webseldonusum.com/cozumler/websel-sozlesmeler-pro/) adds:

* **PDF + HTML evidence records** — for every order the exact contract text at that moment is written to a secure folder and can be downloaded from the admin panel (useful as evidence in disputes).
* **Individual / Corporate invoice type** plus **National ID / Tax number** fields.
* **Automatic company details** pulled from your store settings.
* **AI contract generator** — pick your product or service category and get a draft contract automatically.
* Automatic updates and priority support.

== Frequently Asked Questions ==

= Are the contract texts legally ready to use? =

It ships with compliant Turkish starter templates. You add your company details; for clauses specific to your industry, we recommend reviewing them with your legal advisor.

= Is the block (Gutenberg) checkout supported? =

Currently the classic checkout is supported. Use the `[woocommerce_checkout]` shortcode on your checkout page.

== Screenshots ==

1. Mandatory Pre-Information and Distance Sales consent checkboxes on the checkout page.
2. Contract text shown in a modal window, filled live from the order data.
3. Admin screen — create and link the contract pages with one click.

== Changelog ==

= 1.0.0 =
* Initial release: consent checkboxes, modal with live placeholders, ready-to-use Turkish templates, approval timestamp.
