
內容簡介
WC Korkmaz Contract 外掛可讓您為 WooCommerce 創建遠程銷售合約、預先信息表單及完全自訂的法律合約。它會在結帳時自動填寫合約,並在訂單確認後以 PDF 附件的形式發送。
【主要功能】
• 自動生成結帳頁面合約
• 以 PDF 格式發送合約
• 在控制台中添加和編輯法律合約
• 支援 WooCommerce 新的區塊式結帳
• 使用佔位符插入訂單/客戶/商店數據
• 查看過去的合約記錄
外掛標籤
開發者團隊
② 後台搜尋「WC Korkmaz Contract – Contracts for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
This plugin lets you create distance sales contracts, pre-information forms, and fully custom legal contracts for WooCommerce. It automatically fills the contracts at checkout and emails them as PDF attachments after order confirmation.
Fully compatible with WooCommerce’s new block-based checkout.
Add and edit legal contracts from the WordPress admin.
Choose a PDF design for each contract and adjust section order, logo, typography, colors and page margins with an actual PDF preview.
Insert any order/customer/store data into any part of your contract via placeholders.
Automatically generate contracts on the checkout page.
Automatically send contracts in PDF format upon order confirmation.
View past contracts on both admin and customer order pages.
Store emailed PDFs under the WordPress uploads directory and serve customer downloads through protected links.
Localization
This plugin is translation-ready. Source strings are in en_US (English – United States). Complete bundled interface catalogs are provided for Turkish (tr_TR), German (de_DE), French (fr_FR), Spanish (es_ES) and Arabic (ar), including WooCommerce Blocks JavaScript translations. Existing WordPress and Loco Translate catalogs retain priority. Saved contract texts, custom labels and company information remain administrator content; changing the interface language does not automatically translate them.
Contribute translations here:
https://translate.wordpress.org/projects/wp-plugins/wc-korkmaz-contract/
Arabic interface translation and RTL controls are included. Dompdf has limitations with complex-script shaping and bidirectional text, so Arabic contract PDF typography is not guaranteed by the interface translation. Check the actual PDF preview before using an Arabic contract. Background: https://github.com/dompdf/dompdf/issues/3091
External Services
yemlihakorkmaz.com/sozlesmeornek.txt — used to fetch the default contract template.
Data sent: none (HTTP GET). Privacy: https://yemlihakorkmaz.com/privacy
This external request is used only when contract templates are empty and the plugin needs a sample template.
Development and third-party libraries
PDF previews use Mozilla PDF.js 6.4.299, distributed locally under Apache-2.0 (build/pdfjs-LICENSE.txt). The viewer and worker load only when an administrator opens a PDF preview; no external viewer service or CDN is used. Source: https://github.com/mozilla/pdf.js/ — API examples: https://mozilla.github.io/pdf.js/examples/
To rebuild the JavaScript assets, use Node.js 22.13 or newer, run npm ci and npm run build in the source directory. Node.js and node_modules are not needed on the WordPress server.
To refresh translation catalogs after changing interface text, run sh scripts/build-translations.sh with WP-CLI i18n and GNU gettext installed. The source-to-bundle mapping generates JSON catalogs for the actual registered checkout and editor script paths. Fill newly added PO entries before release.
