=== ScanVault Label Designer ===
Contributors: molaysoltan2, freemius
Tags: woocommerce, label, barcode, qr-code, print
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.2.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Drag-and-drop label designer for WooCommerce. Create custom product and shipping labels with barcodes, QR codes, and print as PDF.

== Description ==

ScanVault Label Designer is a visual, drag-and-drop label creation tool for WooCommerce. Design product labels, shipping labels, and invoices with barcodes, QR codes, and dynamic data — then print directly from your store.

= Features =

* Drag-and-drop canvas to position and resize elements
* Add elements: Text, Barcode, QR Code, Image/Logo
* Edit element properties: data source, font, size, alignment
* Multiple template management: save, load, duplicate, delete
* 4 preset layouts: product, shipping, invoice, return
* 30+ data placeholders (product name, SKU, price, customer info, etc.)
* PDF generation via bundled TCPDF library
* Print from product edit page, order metabox, and bulk actions
* Custom label dimensions (mm, cm, in, pt)
* WooCommerce HPOS compatible
* Works on any device (responsive admin)

= Print Locations =

* Product Edit Page — individual product labels
* Order Metabox — WooCommerce order labels
* Bulk Actions — mass print from products list
* Scanner Modal — integration with ScanVault Scanner plugin

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Navigate to Plugins > Add New
3. Search for "ScanVault Label Designer"
4. Click "Install Now" next to the plugin
5. Click "Activate"

= Manual Installation =

1. Download the plugin ZIP file from WordPress.org
2. Log in to your WordPress admin panel
3. Navigate to Plugins > Add New > Upload Plugin
4. Choose the ZIP file and click "Install Now"
5. Click "Activate"

= Requirements =

* WordPress 5.8 or higher
* PHP 7.4 or higher
* WooCommerce 6.0 or higher

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =

Yes. ScanVault Label Designer is built specifically for WooCommerce and requires WooCommerce 6.0 or higher.

= What label types can I create? =

You can create product labels, shipping labels, invoice labels, and return labels.

= Can I customize the label size? =

Yes, you can set custom label dimensions in millimeters, centimeters, inches, or points.

= What data sources are available for barcodes and QR codes? =

Barcodes and QR codes can display product name, SKU, price, product link, site URL, phone number, or custom text.

= Where can I print labels from? =

Product edit page, order metabox, bulk product actions, and scanner modal (when ScanVault Scanner plugin is active).

= Does this support High-Performance Order Storage (HPOS)? =

Yes, the plugin is fully compatible with WooCommerce HPOS.

== Screenshots ==

1. The Label Designer interface showing the drag-and-drop canvas with multiple elements
2. Template management panel with save, load, duplicate, and delete options
3. Properties panel showing element configuration options
4. Print settings panel with print location options
5. Sample product label with barcode, QR code, and product information

== Changelog ==

= 2.2.6 =
* Fixed: Product image source not persisting after save in Label Designer
* Fixed: Image element data source reverting to Custom URL on page reload

= 2.2.5 =
* Initial WordPress.org release
* Bundled TCPDF library for standalone PDF generation
* Full drag-and-drop label designer with template management
* Barcode and QR code element support with 30+ data sources
* PDF export with custom label dimensions

= 2.2.4 =
* Bundled TCPDF library for independent operation

= 2.2.3 =
* Fixed default layout stored in database having stale element structure
* Force-reset default layout on version upgrade

= 2.2.2 =
* Added multiple template support
* Added drag-and-drop canvas functionality
* Added data source configuration for QR codes, barcodes, and text

= 2.2.0 =
* Added multiple template support
* Added drag-and-drop for all users
* Added data source configuration for QR codes, barcodes, and text
* Added WooCommerce order metabox support

= 2.1.0 =
* Initial release with core label designer functionality

== Upgrade Notice ==

= 2.2.5 =
Initial WordPress.org release with bundled TCPDF for standalone PDF generation.

== Privacy Policy ==

ScanVault Label Designer does not collect or store any personal data. All label data is processed locally on your server.

== Credits ==

* Developed by Molay Soltan (scan-vault.com)
* Uses TCPDF library for PDF generation
