=== Document Preview For WooCommerce === Contributors: vapvarun,wbcomdesigns Donate link: https://wbcomdesigns.com/donate/ Tags: woocommerce, document viewer, product demo, product sample, Ebook, Sell PDF Requires at least: 3.0.1 Tested up to: 6.8.1 Stable tag: 1.5.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html == Description == This will allow you to add document preview at single product page. Which helps to offer more better idea when you are selling ebooks, pdf or some documents. == Installation == 1. Download the zip file and extract it. 2. Upload `wc-document-preview` directory to the `/wp-content/plugins/` directory 3. Activate the plugin through the \'Plugins\' menu. 4. Alternatively you can use WordPress Plugin installer from Dashboard->Plugins->Add New to add this plugin 5. Enjoy If you need additional help you can contact us for [Custom Development](https://wbcomdesigns.com/hire-us/). == Frequently Asked Questions == = Does This plugin requires WooCommerce = Yes, It needs you to have WooCommerce installed and activated. = Where Do I Ask for support? = Please visit [wbcomdesigns] (http://wbcomdesigns.com/) for any query related to plugin and WooCommerce. == Screenshots == 1. The screenshot shows the doc preview of sample pdf file and corresponds to screenshot-1.(png|jpg|jpeg|gif). 2. The screenshot shows the button on the single product page to preview the doc and corresponds to screenshot-2.(png|jpg|jpeg|gif). 3. The screenshot shows the metabox on product edit page to manage the docs to preview and corresponds to screenshot-3.(png|jpg|jpeg|gif). == Changelog == = 1.6.0 = * Fixed: Issue preventing product publishing when no document is added. * Improved: Validation logic to allow product save without requiring document upload. * Improved: Error handling for smoother product management. * Note: Preparing ground for future support of minified assets and RTL styles. = 1.5.0 = * Added: Default file icon for unsupported formats. * Improved: Document preview UI on single product and edit pages. * Improved: Mobile view styling for preview button and file display. * Added: Support for Google Docs preview and local testing. * Fixed: Dropbox integration and DOCX content rendering issues. * Fixed: FAQ accordion functionality and early text domain loading. * Enhanced: XLS file compatibility for preview and download. * Improved: UI of FAQ section and Pro feature screens. * Updated: Admin settings icons and backend Pro tab layout. * Implemented: Upload documents directly from the media library. * Cleaned: Removed debug logs, duplicate CSS, and unused files. * Resolved: PHPCS issues and minor text/string improvements across the plugin. = 1.4.4 = * Fix: (#41) Compatibility check with PHP 8.0 * Fix: Fixed iframe preview UI in mobile * Fix: Added tooltip on metabox * Fix: Added new Faq(s) * Fix: Compatibility check with WordPress 6.5.0 = 1.4.3 = * Fix: (#39) PHPCS issues * Fix: Plugin redirect issue when multiple plugins activate at the same time * Fix: BuddyBoss admin notice issue * Managed: (#38) Preview item button UI = 1.4.2 = * Fix: Updated Admin Wrapper = 1.4.1 = * Fix: (#34) Fixed backend admin UI * Fix: (#36) Added admin notice instead of wp die message when woocommerce is not activate * Fix: (#36) Fixed fatal error isseu on plugin activation * Fix: (#37) Update plugin documentation link = 1.4.0 = * Fix: PHPCS Fixes * Fix: (#32) Fixed undefined error issue * Fix: Removed install plugin button from wrapper = 1.3.0 = * Fix: (#26)Fix blank area of doc preview in the absence of any doc * Fix: Fix redirection issue * Fix: (#25) Add pro-features-in-disabled-mode * Fix: (#24) Fix can-not-upload-supported-xls-file issue = 1.2.0 = * Fix: Fixed .live jquery function deprecated * Fix: Update add button class * Fix: Fixed Notices and warnings = 1.1.0 = * Regular update - Compatibility with WooCommerce 4.0 #6 = 1.0.4 = * Regular updates - Compatibility with WooCommerce 3.6.2 #5 = 1.0.3 = * Regular updates - WooCommerce 3.5.2 Compatible. #4 = 1.0.2 = * Regular updates - Plugin update after testing with current WooCommerce and WordPress updates = 1.0.1 = * Regular updates - Plugin update after testing with current Woo and WordPress updates = 1.0.0 = * first version.