WooCommerce

描述

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.

隨時隨地的銷售任何東西

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.

運送到任何你想送的地方

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.

廣泛多元的支付設定

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 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. 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:

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:

And there’s plenty more where they came from. Visit our extensions page 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 to find out how you can pitch in.

Want to add a new language to WooCommerce? Swell! You can contribute via translate.wordpress.org.

And, finally, consider joining or spearheading a WooCommerce Meetup locally, more about those here.

畫面截圖

  • The slick WooCommerce settings panel.
  • WooCommerce products admin.
  • Product data panel.
  • WooCommerce sales reports.
  • A single product page.
  • A product archive (grid).

Installation

Minimum Requirements

  • PHP version 5.2.4 or greater (PHP 5.6 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)
  • Some payment gateways require fsockopen support (for IPN access)
  • WordPress 4.4+

Visit the WooCommerce server requirements documentation for a detailed list of server requirements.

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.

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 or use our CSV Import Suite plugin to import dummy_data.csv and dummy_data_variations.csv.

常見問題

安裝說明

Minimum Requirements

  • PHP version 5.2.4 or greater (PHP 5.6 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)
  • Some payment gateways require fsockopen support (for IPN access)
  • WordPress 4.4+

Visit the WooCommerce server requirements documentation for a detailed list of server requirements.

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.

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 or use our CSV Import Suite plugin to import dummy_data.csv and dummy_data_variations.csv.

在哪裡可以找到 WooCommerce 文件及使用手冊?

For help setting up and configuring WooCommerce please refer to our user guide

For extending or theming WooCommerce, see our codex.

我在哪裡可以得到支援或是跟其他開發者交流?

如果你遇到困難卡關,你可以在 WooCommerce 外掛討論版 尋求解答。

For help with premium extensions from WooCommerce.com, use our helpdesk.

WooCommerce 跟我的 theme 相容嗎?

Yes; WooCommerce will work with any theme, but may require some styling to make it match nicely. Please see our codex for help. If you’re looking for a theme with built in WooCommerce integration we recommend 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

我該怎麼回報臭蟲或是對這個專案貢獻?

Bugs can be reported either in our support forum or preferably on the WooCommerce GitHub repository.

在哪裡可以找到 Rest API 的文件?

You can find the documentation of our REST API on the WooCommerce REST API Docs.

WooCommerce 太酷了,我可以貢獻點什麼嗎?

Yes you can! Join in on our GitHub repository 🙂

Reviews

Great software for online ecomerce

I built 3 online ecommerce sites with WooCommerce, it’s the best solution to build an online market place. WooCommerce always rocks.

閱讀全部 2,666 評論

貢獻者與開發者

“WooCommerce” is open source software. The following people have contributed to this plugin.

貢獻者

“WooCommerce” has been translated into 50 locales. Thank you to the translators for their contributions.

Translate “WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.2.6 – 2017-12-13

  • Fix – CSV Importer – Fix ID mapping to existing IDs.
  • Fix – CSV Importer – Unslash header fields to avoid extra slashes.
  • Fix – CSV Importer – Allow import and export of draft products.
  • Fix – CSV Importer – Get global attribute ID only when is a global attribute.
  • Fix – Remove URL fragment when appending geolocation hash.
  • Fix – Additional cart rounding fixes so rounding before subtotal works again. Added more unit tests.
  • Fix – Add BOM to exported report CSVs.
  • Fix – is_visible should ensure product is is not trashed before returning true.
  • Fix – Return packages with no rates back to the cart so the shipping calculator is displayed even when the current country is not shippable.
  • Fix – Merge session and persistent carts when both exists after login.
  • Fix – Remove “wc_error” query string after login.
  • Fix – Allow woocommerce_form_field() have ‘custom_attributes’ equal 0.
  • Fix – Bulk actions in status logs table.
  • Fix – Exclude add-to-cart from pagination links.
  • Fix – Updated $GLOBALS[‘post’] data in products shortcode to prevent theme conflicts.
  • Fix – Only remove base taxes in cart totals class if item is taxable.
  • Fix – REST API – Fixed date format in reports schema.
  • Fix – REST API – Updated product categories image schema.
  • Fix – REST API – UUse KSES for purchase_note like in admin.
  • Fix – REST API – Filter passed images before processing so they can be unset via querystring.
  • Tweak – Use protected instead of private methods to allow easy override in session handler.
  • Tweak – wc_lostpassword_url should not be used before init – added warning.
  • Localization – Update Japanese prefectures to include prefecture type.

3.2.5 – 2017-11-22

  • Fix – WordPress 4.9 – REST API – Updated schema, sanitization, and validation callbacks to support correct data types.
  • Fix – WordPress 4.9 – Fix an issue saving variation attributes on new products and with attributes containing slashes.
  • Fix – Save fee tax lines to new orders on checkout.
  • Fix – Restore the post global after rendering product shortcodes.
  • Fix – Fix product filtering when searching for a string including quote characters.
  • Fix – Fix layered nav drop-downs containing unicode characters.
  • Fix – Fix an edge case rounding bug with shipping taxes, and another with non-integer quantities.
  • Fix – Set correct defaults when adding a new shipping class in admin.

3.2.4 – 2017-11-16

  • Fix – Cache IDs in shortcodes rather than query objects.
  • Fix – Fix float rounding issues in cart with currencies like Bitcoin.
  • Fix – Prevent slashes appearing in shipping fields and inside meta keys when using quotes.
  • Fix – Check valid data when filtering wp_nav_menu_objects to prevent conflicts.
  • Fix – get_total_ex_tax should exclude fee taxes.
  • Fix – Fix orders count in tax reports.
  • Fix – Allow removing coupons from the cart, even if coupons are disabled.
  • Fix – Prevent calculate_totals totals running too often.
  • Fix – Set attributes during variation creation so all options are correctly displayed in cart forms.
  • Fix – Grab description directly to pass through wc_format_content to prevent double sanitization.
  • Fix – Fix db warnings when using the “Add Order Indexes” tool.
  • Fix – Remove unnecessary html formatting in variation dimensions field.
  • Fix – Fix WC_Customer_Download isset method.
  • Fix – Removed class within class in admin meta boxes HTML.
  • Fix – Fixed wrong flex-control-nav selector scope in add-to-cart-variation.js
  • Fix – Allow variations to be added to cart from query string.
  • Fix – Use add_filter for comment_feed_where hook.
  • Fix – Change nocache_headers hook firing in the cache helper.
  • Fix – Coupon min/max spend based on displayed subtotal.
  • Fix – Fix event propagation on click in setup wizard and improve validation.
  • Fix – API – Change how line items are saved in API so calculations are correct.
  • Tweak – Hide downloads from admin emails.
  • Tweak – Set placeholder for variation lxwxh field to that of the parent.
  • Tweak – Improve the Add Payment Methods display so buttons are not shown when no payment methods support the feature.
  • Localization – Update NJ tax rate.
  • Localization – Add Belarusian ruble BYN.

3.2.3 – 2017-11-02

  • 修正 – 修正由於封存/字詞描述的背景工作處理而造成的一些投影片外掛程式衝突。
  • 修正 – 修正產品頁面上只有一個圖片時 (無圖庫) 的 Flexslider 錯誤。
  • 修正 – 在有人錯誤地擴充產品索引標籤時,避免發送潛在通知。
  • 修正 – 已修正某些情況下運費計算器的顯示。
  • 修正 – 當客戶不在基準位置,而且價格包含稅金時,會修正折扣計算。

3.2.2 – 2017-10-31

  • 修正 – 將產品匯出至 CSV 時正確地逸出逗號。
  • 修正 – 修正 Outlook 中電子郵件範本的邊框間距。
  • 修正 – Flexslider 支援 RTL 語言,並修正 Chrome 中的縮放目標。
  • 修正 – 正確同步分組產品的價格。
  • 修正 – 篩選並移除無效的稅務類別名稱。
  • 修正 – 停止針對微幅或修補程式版本顯示「重大」更新通知。
  • 修正 – 允許在大量外掛程式更新畫面上顯示未經測試之外掛程式清單的捲軸。
  • 修正 – 修正複製產品時的中繼資料再製功能。
  • 修正 – 在更新屬性時清除「依屬性篩選產品」小工具快取。
  • 修正 – 修正使用無效金鑰重設密碼時的警告訊息。
  • 修正 – 購物車總計:除非 show_shipping 為 True,否則不增加運費。
  • 修正 – 購物車總計:計算折扣後的運費,以便顯示折扣金額。
  • 修正 – 購物車總計:修正增值稅免除使用者在總金額上仍計入增值稅的問題。
  • 修正 – 購物車總計:修正優惠券使用者限制與計算。
  • 修正 – 修正搜尋結果中的「相關性」預設排序。
  • 修正 – 重新計算訂單總計時,使用項目稅務類別,而非產品稅務類別。
  • 調整 – 允許在產品 CSV 匯入工具中下載簡碼和相對 URL。
  • 調整 – 先保存未保存的項目,同時刪除訂單項目。
  • 調整 – 只在購物車/結帳頁面上變更 nocacheheaders
  • 調整 – 先設定地區設定,然後再產生電子郵件範本中的設定預留位置。
  • 調整 – 改善結帳時的欄位地區設定邏輯,可不清除預設值的情況下運作。
  • 調整 – 為求清晰,變更客戶發票電子郵件的標題。
  • 調整 – 使用自訂事件,而非以模糊事件觸發驗證。
  • 調整 – 改善多項 selectWoo 易用性,並針對 AJAX 多選元素上的鍵盤控制項提供更好的支援。
  • 調整 – 各種設定精靈的改善。
  • 開發 – 修正依中繼資料查詢時的訂單日期查詢。
  • 開發 – 在 CSV 匯出工具中,先將篩選條件新增至中繼值,然後再匯出。

3.2.1 – 2017-10-13

  • 修正 – 讓已加入群組的產品依儲存順序而非選單順序顯示。
  • 修正 – 讓「與上層相同」的稅金類別變化版本能正確地計算稅金。
  • 修正 – 修正在未變更稅率卻儲存資料列的情況下,稅率還原會為 0 的問題。
  • 修正 – 一變在定義郵遞區號和城市時,能夠正確地排序稅率。
  • 修正 – 將引導式導覽說明分頁影片改為延遲載入,避免發生效能問題。
  • 修正 – 新增 SelectWoo 相依性至管理員自訂區塊指令碼。
  • 修正 – 修正購物車小計的 1p 捨入誤差。
  • 修正 – 修正折扣邏輯,使其在驗證優惠券時也會查看變化版本的上層類別。
  • 修正 – 仍會顯示日期部分的產品匯入檔案名稱式比對及完整 URL 比對。
  • 修正 – 修正當價格包含稅金時,購物車折扣的儲存空間。
  • 修正 – 針對佈景主題新增 screen-reader-text 樣式,此樣式不會定義佈景主題。
  • 修正 – 修正舊版購物車的 prices_include_tax 變數。
  • 修正 – 當類別因新的深度設定而不顯示子類別時,隱藏 cat-parent 類別。
  • 修正 – 確保圖片縮放可用於呼叫 initZoomForTarget。
  • 修正 – {blogname} 電子郵件預留位置。
  • 修正 – API – 更新價格時使用編輯脈絡。
  • 調整 – 清楚說明由設定精靈中的 WooCommerce 服務提供功能的時機。
  • 調整 – 當存在折扣時,還原訂單畫面中的折扣總額。
  • 調整 – 新增返回選項以傳送新訂單電子郵件給管理員,並在其中提供訂單編號及客戶電子郵件資訊。
  • 調整 – wp.org 列出清單時取代設定螢幕截圖

3.2.0 – 2017-10-11

  • Feature – Coupons can now be applied and removed in admin when editing unpaid orders.
  • Feature – Simplified the ability to resend order details to customers with a single “Resend Order Details” action.
  • Feature – Added store street address, city and postal code to settings for use by plugins.
  • Feature – Wrapping values in quotes now let’s you use commas in the product CSV importer.
  • Feature – If a fatal error occurs, WooCommerce will catch and log it to be viewed in WC > Status > Logs.
  • Feature – Drag and drop sorting on the grouped product field to control display order.
  • Feature – Integrated selectWoo; more accessible Select2 (enhanced select boxes) in admin and on the front-end.
  • Feature – Enhanced select boxes in the shipping calculator.
  • Feature – Enhanced select boxes in layered nav “or” widget.
  • Feature – Ajaxified the product category filter on the products screen.
  • Feature – [products] shortcode can be used in place of other product shortcodes – one shortcode to rule them all.
  • Feature – Added option to control maximum depth of product category widget, and cleaned up widget naming.
  • Feature – Show sorting options when viewing search results. This defaults to sorting by relevance.
  • Feature – Support for the WC tested up to plugin header to show which extensions have been tested against updates.
  • Feature – Helper – Filters on the subscription management screen, update notifications, and support for shared licenses.
  • Tweak – Importer now supports menu_order property, adds filename based titles to imported images, and correctly sets post status of variations.
  • Tweak – Made the buyer phone number clickable in the in the order back-end.
  • Tweak – Clean up user is_paying_customer after deleting an order.
  • Tweak – If stock changes between page load and editing, reject stock changes to avoid incorrect stock changes.
  • Tweak – Disable search engines indexing core, dynamic, cart/checkout pages.
  • Tweak – Added shortcodes to description output in structured data, and improved variable product data.
  • Tweak – Use AJAX when restoring an item in the cart, and removing an item from the mini-cart.
  • Tweak – On-boarding: added “next” button to pointers and allowed them to be dismissed.
  • Tweak – Display post states for WC pages e.g. shop, checkout etc.
  • Tweak – Improved order tracking page display and validation.
  • Tweak – Wizard improvements, with store-owner newsletter sign-up.
  • Tweak – Improved tax calculations on negative fees by apportioning to all items.
  • 調整 – 新增邏輯以非同步方式安裝外掛程式與佈景主題,而不使用 wp-cron。
  • 調整 – 依內容修改產品 API 傳回的資料。
  • 調整 – 將 js 剪貼簿從 zeroclipboard 指令碼移除。
  • 調整 – 將垃圾郵件陷阱欄位從註冊表單中移除。
  • 調整 – 將螢幕助讀程式文字新增至數量輸入範本。
  • 修正 – 已改善上傳無效檔案時,CSV 匯入工具中出現的處理錯誤。
  • 修正 – 依日期處理稅務報告中的全額退款。
  • 修正 – API – 沒有任何 on_sale 產品時,傳回空的結果。
  • 修正 – 已修正 WC_Emails::wrap_message hook。
  • 修正 – 在 ajax 訂單狀態的轉換上加載閘道,以便在完成訂單時獲取 PayPal 資金。
  • 修正 – 以 youtube 取代 wistia 影片。
  • 修正 – 如果錯過了例行性排程,可隨時處理銷售日期。
  • 修正 – 如果在 REST API 中依日期排序,遞補 ID 以讓搜尋一致。
  • 修正 – 不將自訂排序套用至產品摘要。
  • 修正 – 讓匯入工具欄不區分大小寫。
  • 開發 – 將 parse_date_for_wp_query 設為公開。
  • Dev – API – Creating webhooks uses the current API version rather than the latest API version.
  • Dev – Product CRUD search helpers.
  • Dev – Refactor shipping rate to include instance IDs, and pass instance IDs through filters.
  • Dev – New attribute helper functions.
  • Dev – Order note helper functions.
  • Dev – Added the “Terms and conditions” page to the api system status report.
  • Dev – Made date inputs reusable.
  • Dev – Added option for merging when using ‘Order Again’ via filter woocommerce_empty_cart_when_order_again.
  • Dev – Added system status tool for re-populating order address search indexes.
  • Dev – Added system status tool for clearing webhook logs.
  • Dev – Added woocommerce_get_asset_url filter.
  • Dev – Show notice when internal meta props are accessed directly.
  • Dev – Improve meta data updates so data is only updated when changed.
  • Dev – Improved get_filtered_term_product_counts performance.
  • Dev – Introduced wc_get_account_orders_actions function.
  • Dev – wc_get_account_formatted_address can get address by customer ID.
  • Dev – Added woocommerce_get_product_id_by_sku filter.
  • Dev – Refactored cart to use new WC_Cart_Session/WC_Cart_Totals/WC_Cart_Fees/WC_Discounts classes.
  • Dev – New WC_Shortcode_Products class to handle all product based shortcodes.
  • Theming – Display downloads in their own table, universally, using a new template file.
  • 佈景主題設定 – 簡化電子郵件範本內容:使用新的下載表格,將具有帳單地址和訂單附註的帳單電子郵件移動至訂單總計表格中,並且移除對「可下載」主旨/標題的需求。
  • Theming – Checkout: Order pay template
  • Localization – Added cantons of Switzerland.
  • Localization – Updated XAF and XOF currency codes.
  • Localization – Added rtl support for activation.css.
  • Localization – Updated Mexican states to use correct 2 letter codes.
  • Localization – Improved many strings by excluding HTML.
  • Many smaller fixes and improvements – see GitHub!

See changelog for all versions.