=== Product Attachment for WooCommerce ===
Contributors: dots,jitendrabanjara1991,niravcse006
Donate link: https://www.thedotstore.com/
Tags: attachment,woocommerce,productattchment,orderattachment,dots
Requires at least: 4.1
Tested up to: 5.4
WC tested up to: 4.0
Stable tag: 1.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Product Attachment for WooCommerce Plugin will help you to attach/ upload any kind of files for a customer orders.You can attach any type of file like Images, documents, videos and many more

== Description ==

Product Attachment for WooCommerce Plugin will help you to attach/ upload any kind of files for a customer orders.

You can attach any type of file like Images, documents, videos and many more.

Create a Product Attachment for WooCommerce Plugin let admin user add attachments to products and offer them when customer purchases the product.

Attachment download link can be set to auto-expire after a set period of time. Attachments can also be shown on product details page.

Pro Plugin Demo: <a href="http://wooproductattachment.demo.store.multidots.com/"> View Demo </a>

[youtube https://www.youtube.com/watch?v=w6PxtXKwG60]

= HOW IT WORKS? =
* Store Owner will be able to attach single or multiple files directly from the "product Edit Page"?.
*  Attachments can be downloadable/viewable on the Order details and/or Product pages. In the case of visibility on order details page, every file can be visible for different order statuses.

<strong>Note:</strong> Some type document WordPress does not allow to upload for security reasons so you can add below code in wp-config.php file for allowing all type upload in Attachment.

` define('ALLOW_UNFILTERED_UPLOADS', true); `

= Key Features =

* Multiple attachments can be added
* Attachments can be downloadable in the Order details OR Product Detail pages.
* This Attachment is set status(Pending payment, Processing, On hold, Completed, Cancelled, Refunded, Failed) after that match this status then auto enable on each order download available.
* Set auto expiry date for order attachment ( Download link Expire)
* Enable attachment on Product page.
* Any type attachments you can attach with order
* Add Attachment in all  products.
* Each Attachment have own settings (Name, Description, Uploads file, select Order status, Set expiry Date and more)

<blockquote>

= Product Attachment for WooCommerce Pro version: =

Need even more? upgrade to <a href="https://www.thedotstore.com/woocommerce-product-attachment#tab-free-vs-premium">Product Attachment for WooCommerce Pro</a> version and get access to all extra features available in Product Attachment for WooCommerce Pro.

= Add attachment with below key features =
<ol>
<li>Enable attachment on Product page</li>
<li>Add Attachment in all products/variable Products</li>
<li>Bulk products attachments assign directly to multiple products</li>
<li>Bulk products attachments assign directly to categories</li>
<li>Include/Exclude selected Products and Categories</li>
<li>Select Attachment Type with File Upload or External URL</li>
<li>Any type of attachments can attach with the order. Includes: File type – Doc, JPG, Videos, PDF and more.</li>
<li>Each Attachment have its own settings (Name, Description, Uploads file, select Order status, Set expiry Date and more)</li>
<li>[New]Enable or disable attachment on email or not</li>
</ol>

</blockquote>

= Explore our other plugins and theme to supercharge your WordPress website: =
<ol>
<li> <a href ="http://www.thedotstore.com/advanced-flat-rate-shipping-method-for-woocommerce">Advance Flat Rate Shipping Method For WooCommerce</a></li>
<li> <a href ="https://www.thedotstore.com/woocommerce-blocker-lite-prevent-fake-orders-blacklist-fraud-customers/">Blocker – Prevent Fake Orders And Blacklist Fraud Customers for WooCommerce </a></li>
<li> <a href ="http://www.thedotstore.com/woocommerce-enhanced-ecommerce-analytics-integration-with-conversion-tracking">Enhanced Ecommerce Google Analytics for WooCommerce</a></li>
<li> <a href ="https://www.thedotstore.com/woocommerce-category-banner-management/">Category Banner Management for Woocommerce</a></li>
<li> <a href ="https://www.thedotstore.com/woocommerce-conditional-product-fees-checkout/">Conditional Product Fees For WooCommerce Checkout</a></li>
<li> <a href ="https://www.thedotstore.com/woocommerce-advanced-product-size-charts/">Advanced Product Size Charts for WooCommerce</a></li>
<li> <a href ="http://www.thedotstore.com/advance-menu-manager-wordpress/">Advance Menu Manager for WordPress</a></li>
</ol>

== Installation ==

This section describes how to install the plugin and get it working.

e.g.

1. Upload `woo-product-attachment` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress

== Frequently Asked Questions ==

= Q. Is it possible to attach Multiple attachments by Product Attachment for WooCommerce. =

Ans: Yes, you can upload multiple attachments like Images, documents, videos and many more by Product Attachment.(Product Attachment for WooCommerce)

= Q. How do I set downloadable attachment link on product detail pages and Completed order? =

Ans: Yes, you have to enable “show on Product page�? option and select order status “Completed�?. After that it will be visible on product page and Completed order page.(Product Attachment for WooCommerce)

= Q. How do I set downloadable attachment link as per order status? =

Ans: By Product Attachment for WooCommerce plugin you can downloadable attachment link as per order status. You can set on Pending payment, Processing, On hold, Completed, Cancelled, Refunded, Failed) after that match this status then auto enable on each order download available.

= Q. How do set auto expiry date for order attachment ( Download link Expire)? =

Ans: By Product Attachment for WooCommerce plugin you can enable “set date expires�? option. After that you have set expiry date. If an order is placed after the  set expiry date, then attachments will be no longer visible for download.


== Screenshots ==

1.Product Attachment for WooCommerce Setting Panel.
2.Product Edit Page Add Attachment.
3.Attachment shown on product details page
4.Attachment shown on order details page
5.Attachment shown on order email.
6.Is default behaviour of the attached PDF is viewable?

== Changelog ==

= 1.6 - 25-09-2020 =
* New - Show Attachments Button on Orders Listing Page
* New - Hide/show attachments on thank you page
* New - Allow only one bulk attachment 
* Update: UI Change
* Update: Upload all type of attachment
* Update: Compatible with WooCommerce 4.5.x
* Update: Compatible with WordPress 5.5.x

= 1.5.4 - 27-04-2020 =
* Update: Changed default "Show on Product page" option to Yes
* Compatible with WooCommerce 4.0.x
* Compatible with WordPress 5.4.x

= 1.5.3 - 04-02-2020 =
* Fix issue if site hosted on shared hosting with sub directory path then attach file display the blank screen.

= 1.5.2 - 30-01-2020 =
* Fix issue require cron file after activate plugin

= 1.5.1 - 29-01-2020 =
* Resolved Undefined index bug in wc-product-attachment-admin
* Compatible with WooCommerce 3.9.x

= 1.5 - 28-01-2020 =
* Compatible with Freemius
* Resolved Minor Bugs

= 1.3.0 - 18-11-2019 =
* Compatible with WordPress Version 5.3.x and WooCommerce version 3.8.x

= 1.2.9 - 04-11-2019 =
* Fix product attachment title display issue for the product variation in order page and email page.

= 1.2.8 - 04-11-2019 =
* Fix product attachment title display in order page and email issue if there is no attachment in order.

= 1.2.7 - 23-09-2019 =
* Fix vulnerable plugin issue

= 1.2.6 - 23-09-2019 =
* Minor Bug Fix

= 1.2.5 - 20-09-2019 =
* Maintenance Release

= 1.2.4 - 10-09-2019 =
* New: Is default behaviour of the attached PDF is viewable? for admin option

= 1.2.3 - 30-08-2019 =
* Repeat attachment main title issue has been fixed.
* Section tag hierarchical order not properly maintain issue has been fixed.

= 1.2.2 - 28-05-2019 =
* Compatible with WordPress Version 5.2.x and WooCommerce version 3.6.x
* Minor bug fixing

= 1.2.1 - 14-05-2019 =
* Minor bug fixing.
* Removed Product variation selection row from the backend attachment as no needed any more.
* Changed Popular plugin links and removed old promo code banner.

= 1.2.0 - 18-04-2019 =
* Alert display on product page load issue has been fixed.

= 1.1.9 - 16-04-2019 =
* Minor big fixing.

= 1.1.8 - 12-04-2019 =
* Admin Product Attachment Section resolve empty download link.
* Design the Product Attachment section.

= 1.1.7 - 26-03-2019 =
* Minor bug fixing

= 1.1.6 - 21-02-2019 =
* Compatible with Wordpress 5.0.3 version
* Compatible with PHP 7.2.0 version
* Minor bug fixing

= 1.1.5 - 26-11-2018 =
* Downladable file issue in edit order section

= 1.1.4 - 07-06-2018 =
* Fix vulnerable plugin issue

= 1.1.3 - 06-06-2018 =
* Fix: Normal bug
* Compatible with WordPress Version 4.9.6
* Compatible with WooCommerce Version 3.4.2

= 1.1.2 - 16-05-2018 =
* Fix: Expired issue for downloading issue

= 1.1.1 - 16-04-2018 =
* Fix: download file issue

= 1.1.0 - 24-02-2018 =
* Subscription form added

= 1.0.9 - 23-02-2018 =
* Fix: PHP Notice error resolve.
* Fix: Multiple attachment order page issue.

= 1.0.8 - 12-01-2018 =
* New: Expire Date Label show option.
* Fix: PHP Notice error resolve.
* Design Update.

= 1.0.7 - 12-12-2017 =
* Fix: PHP Notice error resolve.
* Download File issue resolved.

= 1.0.6 - 10-11-2017 =
* Fix: PHP Notice error resolve.

= 1.0.5 - 20-10-2017 =
* Premium Features Page added.
* UI change.
* Fix: js/css issue resolved.
* Fix: PHP error resolve.

= 1.0.4 - 16-10-2017 =
* Fix: js/css conflict issue resolve.
* UI change.
* Newsletter subscription added.

= 1.0.3 - 13-10-2017 =
* Fix: large File download issue
* Premium version link added.
* UI change.

= 1.0.2 - 09-08-2017 =
* FIX:Translate compatible
* Added FR.po file for french language.

= 1.0.1 - 15-07-2017 =
* New version Release.
* Fix Order Tab Text show when satisfied attachment status.

= 1.0 - 12-07-2017 =
* Initial Release.