=== WooCommerce === Contributors: automattic, mikejolley, jameskoster, claudiosanches, royho, woothemes Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, downloadable, downloads, paypal, storefront Requires at least: 4.1 Tested up to: 4.4 Stable tag: 2.5.5 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html WooCommerce is a powerful, extendable eCommerce plugin that helps you sell anything. Beautifully. == Description == WooCommerce is a free eCommerce plugin that allows you to sell anything, beautifully. Built to integrate seamlessly with WordPress, WooCommerce is the world’s favorite eCommerce solution that gives both store owners and developers complete control. With endless flexibility and access to hundreds of free and premium WordPress extensions, WooCommerce now powers 30% of all online stores -- more than any other platform. [youtube https://www.youtube.com/watch?v=1KahlicghaE] = Sell anything, anywhere = With WooCommerce, you can sell both physical and digital goods in all shapes and sizes, offer product variations, multiple configurations, and instant downloads to shoppers, and even sell affiliate goods from online marketplaces. With premium extensions, you can offer bookings, memberships, and recurring subscriptions. Perhaps you’d like to sell monthly subscriptions for physical goods, or offer your members a discount on digital downloads? It’s all possible. = Ship wherever you like = Offer free shipping, flat rate shipping, or make real-time calculations. Limit your shipments to specific countries, or open your store up to the world. Shipping is highly configurable, and WooCommerce even supports drop shipping. = Extensive payment options = WooCommerce comes bundled with the ability to accept major credit cards, PayPal, BACS (bank transfers), and cash on delivery. Need additional options? More than 140 region-specific gateways integrate with WooCommerce, including popular choices like Stripe, Authorize.Net, and Amazon Payments. = You control it all -- forever = WooCommerce gives you complete control of your store, from taxes to stock levels to customer accounts. Add and remove extensions, change your design, and switch settings as you please. It’s all under your control. One of the biggest risks of using a hosted eCommerce platform is what happens to your store if the provider closes up shop. With WooCommerce, you have complete control, so there’s never any reason to worry. Your data belongs to you -- and it’s kept secure, thanks to regular audits by industry leaders. = Define your style with Storefront = [Storefront](https://wordpress.org/themes/storefront/) is a free WordPress theme available to any WooCommerce store. Along with deep WooCommerce integration, Storefront prioritizes speed and uptime while eliminating theme and plugin conflicts during major updates. Define your style even further by customizing Storefront to your liking or choosing from one of our several [Storefront child themes](http://www.woothemes.com/product-category/themes/storefront-child-theme-themes/). It’s all up to you, and all open source. = Built with developers in mind = Extendable, adaptable, and open source -- WooCommerce was created with developers in mind. With its strong, robust framework, you can scale your client’s store all the way from basic to high-end (infinity and beyond). Built with a REST API, WooCommerce can integrate with virtually any service. Your store’s data can be accessed anywhere, anytime, 100% securely. WooCommerce allows developers to easily create, modify, and grow a store that meets their specifications. No matter the size of the store you want to build, WooCommerce will scale to meet your requirements. With a growing collection of more than 300 extensions, you can enhance each store’s features to meet your client’s unique needs -- or even create your own solution. If security is a concern, rest easy. WooCommerce is audited by a dedicated team of developers working around the clock to identify and patch any and all discovered bugs. We also support WooCommerce and all its extensions with comprehensive, easily-accessible documentation. With our docs, you’ll learn how to create the exact site your client needs. = Extensions galore = WordPress.org is home to some amazing extensions for WooCommerce, including: - [Google Analytics](https://wordpress.org/plugins/woocommerce-google-analytics-integration/) - [Delivery Notes](https://wordpress.org/plugins/woocommerce-delivery-notes/) - [PDF Invoices and Packing Slips](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/) - [Affiliates Integration Light](https://wordpress.org/plugins/affiliates-woocommerce-light/) - [New Product Badges](https://wordpress.org/plugins/woocommerce-new-product-badge/) Keen to see them all? Search WordPress.org for ‘WooCommerce’ to dive in. If you’re looking for something endorsed and maintained by the developers who built WooCommerce, there are a plethora of premium eCommerce extensions, the most popular of which include: - [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions/) - [WooCommerce Memberships](http://www.woothemes.com/products/woocommerce-memberships/) - [WooCommerce Bookings](http://www.woothemes.com/products/woocommerce-bookings/) - [Dynamic Pricing](http://www.woothemes.com/products/dynamic-pricing/) - [Table Rate Shipping](http://www.woothemes.com/products/table-rate-shipping/) - [Product CSV Import Suite](http://www.woothemes.com/products/product-csv-import-suite/) And there’s plenty more where they came from. Visit our [extensions page](http://www.woothemes.com/product-category/woocommerce-extensions/) to find out everything you’re capable of and all that's possible with premium WooCommerce extensions. = Join our growing community = When you download WooCommerce, you join a community of more than a million store owners, developers, and WordPress enthusiasts. We’re one of the fastest-growing open source communities online, and whether you’re a n00b or a Ninja, we’d love to have you! If you’re interested in contributing to WooCommerce we’ve got more than 350 contributors, and there’s always room for more. Head over to the [WooCommerce GitHub Repository](https://github.com/woothemes/woocommerce) to find out how you can pitch in. Want to add a new language to WooCommerce? Swell! You can contribute via [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/woocommerce). And, finally, consider joining or spearheading a WooCommerce Meetup locally, more about those [here](http://www.woothemes.com/woocommerce/meetups/). == Installation == = Minimum Requirements = * WordPress 3.8 or greater * PHP version 5.2.4 or greater * MySQL version 5.0 or greater * Some payment gateways require fsockopen support (for IPN access) = Automatic installation = Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of WooCommerce, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New. In the search field type “WooCommerce” and click Search Plugins. Once you’ve found our eCommerce plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”. = Manual installation = The manual installation method involves downloading our eCommerce plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). = Updating = Automatic updates should work like a charm; as always though, ensure you backup your site just in case. If on the off-chance you do encounter issues with the shop/category pages after an update you simply need to flush the permalinks by going to WordPress > Settings > Permalinks and hitting 'save'. That should return things to normal. = Dummy data = WooCommerce comes with some dummy data you can use to see how products look; either import dummy_data.xml via the [WordPress importer](http://wordpress.org/extend/plugins/wordpress-importer/) or use our [CSV Import Suite plugin](http://www.woothemes.com/products/product-csv-import-suite/) to import dummy_data.csv and dummy_data_variations.csv. == Frequently Asked Questions == = Where can I find WooCommerce documentation and user guides? = For help setting up and configuring WooCommerce please refer to our [user guide](http://docs.woothemes.com/documentation/plugins/woocommerce/getting-started/) For extending or theming WooCommerce, see our [codex](http://docs.woothemes.com/documentation/plugins/woocommerce/woocommerce-codex/). = Where can I get support or talk to other users? = If you get stuck, you can ask for help in the [WooCommerce Plugin Forum](https://wordpress.org/support/plugin/woocommerce). For help with premium add-ons from WooThemes, use [our helpdesk](http://support.woothemes.com/). = Will WooCommerce work with my theme? = Yes; WooCommerce will work with any theme, but may require some styling to make it match nicely. Please see our [codex](http://docs.woothemes.com/documentation/plugins/woocommerce/woocommerce-codex/) for help. If you're looking for a theme with built in WooCommerce integration we recommend [Storefront](http://www.woothemes.com/storefront/). = Where can I request new features, eCommerce themes and extensions? = You can vote on and request new features and extensions in our [WooIdeas board](http://ideas.woothemes.com/forums/133476-woocommerce) = Where can I report bugs or contribute to the project? = Bugs can be reported either in our support forum or preferably on the [WooCommerce GitHub repository](https://github.com/woothemes/woocommerce/issues). = Where can I find the REST API documentation? = You can find the documentation of our REST API on the [WooCommerce REST API Docs](http://woothemes.github.io/woocommerce-rest-api-docs/). = WooCommerce is awesome! Can I contribute? = Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/woocommerce/) :) == Screenshots == 1. The slick WooCommerce settings panel. 2. WooCommerce products admin. 3. Product data panel. 4. WooCommerce sales reports. 5. A single product page. 6. A product archive (grid). == Changelog == = 2.5.5 - 11/03/2016 = * Fix - Prevent notice when unsetting terms on product edit screen. * Tweak - zeroclipboard fallback for firefox on system status report. * Tweak - Check valid product ID is provided on add_to_cart shortcode. = 2.5.4 - 10/03/2016 = * Fix - Fix table creation when using utf8mb4 charset. * Fix - Have wp_insert_post return WP_Error when creating our coupon, so the is_wp_error check can catch it. * Fix - Clear sale price on save if sale is no longer valid. * Fix - Round refund values to ensure refunds can be performed. * Fix - When getting coupon by code used twice, latest should be queried. * Fix - CLI improvements for setting up variations and deleting orders. * Fix - Allow big selects when getting variations to support larger queries. * Fix - Trigger webhook when user edits addresses on frontend. * Fix - Hide shipping row when calculator is disabled, and shipping costs are hidden. * Fix - Unset deleted attributes when updating products. * Tweak - Update date for paid orders during non-manual updates only. * Tweak - wc_get_page_permalink - if the page ID is not set, redirect home instead to prevent white screens. * Tweak - Remove log dir from system status report. * Tweak - When sorting by date, fallback to ID. * Tweak - Rename pay link for clarity. * Tweak - Provide a fallback message if copying to the clipboard fails in system status report. = 2.5.3 - 01/03/2016 = * Fix - Correct the 'unavailable template' call for variations so the message is displayed correctly, fixing a JS error. * Fix - Add 'media-models' dependency to write panel scripts. * Fix - Fix hide empty check in category walkers. * Fix - Current class fix on some servers when empty. * Fix - Multibyte safe trim string function. * Fix - Prevent a notice by stopping a loop in woocommerce_products_will_display from stomping on other variables. * Fix - If an attribute meta key is not set, technically its 'any', so should match. Prevents issues when meta data is missing after renaming attributes. * Fix - Make wc_get_product_variation_attributes ignore non variation attributes. * Fix - Notice when no order notes exist. * Fix - Removed extra tab from plain email shipping address. * Fix - Round shipping after tax calculation instead of before to prevent wrong taxes being calculated. * Fix - State input box was not reappearing when switching from a hidden input to a text input. * Fix - Don't duplicate rating and review counts. * Fix - CLI - Allow setting of a single category. * Fix - API - Replace term_taxonomy_id for term_id whilst creating/editing terms. * Fix - API - Fix parent_id and menu_order for variations. * Fix - Combine update post calls when update_status is ran. * Fix - Total number of comments in the admin panel. * Tweak - Show customer details for logged in users only on thanks page to prevent customer details being revealed if someone finds out the URL. * Tweak - Wrap status report in backticks to stop people breaking .org forums. * Tweak - Error handling for screen ids. * Tweak - Use $wpdb->replace instead of doing a select and then deciding to do an update or insert in session handler. * Tweak - Added check for private WooCommerce pages in status report. * Tweak - Transactional emails for failed -> on hold. * Dev - Include new triggers when removing and adding the password strength meter. * Dev - Allow pass objects and arrays as webhook callbacks. = 2.5.2 - 01/02/2016 = * Fix - Compatibility with w3 total cache inline minification. * Fix - Remove stock bw compat code which was preventing manage stock being disabled at variation level. * Fix - When calculating shipping total, force rounding. * Fix - Make save button clickable in tax rate table after using autocomplete field. * Fix - Fix passed image_size variable in email templates. * Fix - Don't show purchase note to admin in emails. * Fix - Fix 'hide empty' setting in category widget
. * Fix - Prevent notice in get_allowed_countries. * Fix - Prevent add-to-cart querystring in pagination links. * Tweak - Allow propagation in variation script. * Tweak - Product image alt text. * Tweak - Remove notice and add styling for add payment page. * Tweak - Set input margin and label display for compatibility with themes using bootstrap CSS. * Tweak - Add context to category term localization. * Tweak - Moved cart URL functions to core-functions file to make them available in admin area. * Tweak - Added password hint text and error messages when showing the password strength meter in forms. * Tweak - Added Saudi Riyal currency. * Tweak - Added Russian Ruble symbol. * Tweak - When COOKIEPATH is an empty string, set to '/' so cookies work across all pages. * Dev - Template - Pass $category into wc_product_cat_class() in content-product_cat.php = 2.5.1 - 25/01/2016 = * Fix - Remove usage of get_currentuserinfo() which is deprecated in WordPress 4.5. * Fix - Fix responsive product sizes when the columns class is missing. * Fix - Fix function exists check for woocommerce_template_loop_category_title. * Fix - check_version on all requests so that the installer runs after remote plugin updates. * Fix - Only show the "add payment method" button when needed, and check for required fields on the add payment method page. * Fix - Correctly block UI to prevent attribute issues in backend when adding multiple attributes in quick succession. * Fix - Show SKU in admin emails. * Fix - Don't show downloads in admin emails. * Fix - Fix query/missing variable in validate_user_usage_limit function. * Fix - Prevent endless loading on checkout when reload_checkout session variable was used. * Fix - Correctly display html entities in tax screen autocomplete. * Fix - Do sales reports based on refund line items rather than fully refunded orders to prevent double refunds being reported. * Fix - Qty button can be hidden for variable products sold individually. * Fix - Show the taxable country rather than base country in "estimated for" text during checkout. * Fix - Prevent select2 gaining focus on IOS7 scroll. * Fix - API - Fix indexes on decimal and thousand values. * Tweak - Clear cron jobs on uninstall
. * Tweak - Don't disable place order button on checkout if a weak password is used. * Tweak - Added password strength meter in lost password and edit accout pages. * Tweak - Pass $args to woocommerce_dropdown_variation_attribute_options_html hook. = 2.5.0 - 18/01/2016 = * Feature - New default session handler. Uses custom table to store data rather than the options table for performance and scalability reasons. https://woocommerce.wordpress.com/2015/10/07/new-session-handler-in-2-5/ * Feature - New tax settings UI - faster, enhanced with ajax, searchable. * Feature - WP CLI Support. https://woocommerce.wordpress.com/2015/10/01/sneak-peek-wp-cli-support-in-woocommerce/ * Feature - Added terms and conditions checkbox to pay page. * Feature - Password strength indicators. * Feature - Added 'pay' link to order screen. * Feature - Added admin order/payment failed notification. * Fix - Check for existence of global attribute when you get_attributes() for a product. * Fix - Show order by template on product search. * Fix - Search variation skus in backend search. * Tweak - For coupons with category restrictions, respect the category hierarchy. * Tweak - Added wc_array_cartesian function to generate variations in a logical order. * Tweak - Revised email settings screens to show emails in a table and avoid a long sub-nav. * Tweak - Default customer role capabilities. * Tweak - Expire mini-cart cache after 24 hours. * Tweak - Improved refund error messages in PayPal standard. * Tweak - Removed language pack downloader in favour of translate.wordpress.org. * Tweak - Added onboarding wizard button to the contextual help so it can be accessed again. * Tweak - When a WordPress user is deleted, turn any orders they have into Guest orders. * Tweak - When calculating order taxes, respect tax settings and default to base country. * Tweak - Fade in variation images to avoid flicker during load. * Tweak - Display 2 averages on report (net and gross). * Tweak - Improve product search and use WPDB instead of several get_posts queries for performance. * Tweak - Use SKU for stock order notes. * Tweak - Added order notes for manual email sends. * Tweak - Sanitize shipping method labels/titles. * Tweak - Only display the coupon form on the checkout if a coupon hasn't been applied. * Tweak - Added billing address column to order screen (off for new users). * Tweak - Created function to disable author archives for customers. * Tweak - When updating cart hash, refresh all open tabs. * Tweak - Use new "question" mark icon font for help tips. * Tweak - Improved review verification status retrieval. * Tweak - Improve appearance when only 1 gateway is active. * Tweak - Aligned terms box left and added required asterisk. * Tweak - Removed dropdown display mode for cart shipping methods - radios are more flexible. * Dev - API - Added /products/shipping_classes endpoint. * Dev - API - Added support to POST, PUT, and DELETE categories and tags. * Dev - API - Added support to filter products by tag, category, shipping class, and attribute. * Dev - API - Added tax and tax_class endpoints. * Dev - Template - New star ratings. The old one was 5 separate buttons. This new one consolidates the 5 options into one element making it leaner visually and more intuitive. Works in IE9+ with a graceful degradation for IE8. * Dev - Template - Added `data-title` attribute to cart table. * Dev - Template - Product archive anchors are now hooked into templates rather than hard coded. * Dev - Template - Added template files for the customer details list in emails. emails/email-customer-details.php * Dev - Template - Revised single variation cart template. Template files now exist for variations, and the cart button will display (disabled) when no selections are made. * Dev - Template - Made "my orders" columns fully customizable with filters. * Dev - Template - Unified email template order details tables to use a single template. * Dev - Allow wc_clean to support arrays. * Dev - Added a manual update trigger for checkout. * Dev - Added woocommerce_is_price_filter_active filter to Query class. * Dev - Replaced some cart methods with dedicated functions. e.g. wc_ship_to_billing_address_only(). * Localisation - Add Kenyan currency and symbol. [See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce/master/CHANGELOG.txt). == Upgrade Notice == = 2.5.0 = 2.5.0 is a major update so it is important that you make backups, and ensure themes and extensions are 2.5 compatible. Developers should catch up with [the development blog](https://woocommerce.wordpress.com/) to see what has been happening in core.