=== Product Image Editor with Canva for WooCommerce ===
Contributors: itpathsolutions, raj198, pateljaymin, wpeople
Donate link: https://www.itpathsolutions.com/
Tags: woocommerce, bulk edit, image editor, canva integration, product images
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.6
License: GPLv2 or later
License URL: http://www.gnu.org/licenses/gpl-2.0.html

Edit WooCommerce product images directly in Canva. Bulk edit, replace, and enhance visuals with instant sync back to your product gallery.

== Description ==

The Product Image Editor with Canva for WooCommerce provides a seamless, automated workflow for editing product images through Canva, all within your WooCommerce dashboard.

Open any product image or entire gallery inside Canva, design, update, or add variants using Canva’s full creative suite. Once you click Save, the updated images sync instantly back to WooCommerce.

No exporting.

No re-uploading.

No duplicate files or outdated galleries.

Whether you're refreshing a large catalog, updating seasonal products, or maintaining consistent brand visuals, this plugin makes WooCommerce product image editing fast, simple, and clutter-free.

== Features ==

= Direct Canva Integration =
Open product images inside Canva directly from the WooCommerce product page or product list.

= Bulk Edit Product Images =
Update images for multiple products in one action - ideal for catalog-wide refreshes or branding updates.

= Edit, Replace, or Add New Image Variants =
Use Canva to create new product images or update existing ones. Synced files automatically replace or append to your product gallery.

= Automatic Sync Back to WooCommerce =
Save your design in Canva, and the updated image appears in your product feed instantly, without manual uploads.

= Full Canva Creative Suite =
Use templates, branding kits, text, shapes, filters, backgrounds, and more, all from within WordPress.

= Works with Variable Products =
Edit and sync variation images with the same workflow.

= Lightweight & Non-Intrusive =
No bloat, no performance impact, and no modification to WooCommerce core files.

= Secure Authorization =
Your Canva API key is stored safely within your WordPress settings.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/product-image-editor-with-canva-for-woocommerce/` or install it via **Plugins → Add New** in the WordPress admin.
2. Activate the plugin.
3. Go to **WooCommerce → Settings → Canva Connect** from the admin sidebar.
4. On the left side of the screen, note the **Canva Authorization Code** and **Website URL**. These values are required to complete the connection with Canva.
5. Follow the instructions displayed on the right side of the screen to authorize and connect Canva with your WooCommerce store.
6. Once connected, your WooCommerce products will be available directly inside Canva. From there, you can:
    - Edit or replace existing product images
    - Apply new designs
    - Create new image variants
7. When finished, click **Export Design to Product** from the app sidebar. Select the file format, dimensions, and pages to export, then click **Export**.

The selected designs are bulk-exported back to WooCommerce automatically, with no manual downloading or re-uploading required.

== Frequently Asked Questions ==

= Do I need a Canva Pro account? =
No. Both free and Pro Canva accounts work with this plugin.

= Does this modify my existing WooCommerce setup? =
No. The plugin is lightweight and does not alter any WooCommerce core files.

= Can I bulk edit multiple products at once? =
Yes. Select multiple products in the WooCommerce product list and use the bulk edit option.

= Will my original images be deleted? =
Only if you choose to replace them, and you can also add new images to the gallery.

= Does this support variable products? =
Yes. Variation images can be edited and synced with the same Canva workflow.

= Are images stored securely? =
Yes. Images are processed through secure API requests, and your Canva API key remains safely stored in WordPress.

== Screenshots ==

1. Product Image Editor button inside the WooCommerce product page
2. Canva editor opened directly from a product
3. Bulk edit interface for multiple product images
4. Synced gallery preview after saving in Canva

== Changelog ==

= 1.0.6 =

* Improvement - Plugin Setup instructions updated.  

= 1.0.5 =

* New - Added support for uploading multiple images from Canva directly to the website
* Fix - Minor bug fixes and performance improvements  

= 1.0.4 =

- Added "Requires Plugins: woocommerce" header for proper dependency handling.
- Fixed PHP syntax errors for better compatibility.

= 1.0.3 =

- Added missing direct file access protection (ABSPATH checks) to prevent unauthorized access.

= 1.0.2 =

- Updated plugin name.

= 1.0.1 =
General Bug fixes.

= 1.0.0 =

- Initial release with token generation, product fetch, and image sync to WooCommerce galleries via Canva.

== Upgrade Notice ==
= 1.0.4 =

This update adds the "Requires Plugins: woocommerce" header for proper dependency handling and resolves PHP syntax errors for improved compatibility. An update is recommended for smoother performance and more reliable plugin behavior.

== Support ==
Product Image Editor with Canva for WooCommerce is developed and supported by [IT Path Solutions](https://profiles.wordpress.org/itpathsolutions/).  

If you have questions or encounter issues, visit our [Support Forum](https://wordpress.org/support/plugin/contact-form-to-any-api/) or contact **[support@contactformtoapi.com](mailto:support@contactformtoapi.com)**.

For help, feature requests, or feedback, please use the [WordPress.org](http://wordpress.org/) support