WooCommerce

外掛說明

WooCommerce 是一個開放原始碼的彈性電子商務解決方案,架構在 WordPress 的基礎上。無論是要創辦一間公司、讓現有的實體店面上線,或是為客戶設計網站,你都可以快速入門,打造心目中理想的商店。

在新的或現有的 WordPress 網站上啟用免費的 WooCommerce 外掛程式,依照引導式導覽(可略過)提供的說明,使用以下工具在幾分鐘內建立一個新的商店:

除了基礎功能,WooCommerce 還提供完全自訂和擴展功能:

  • 選擇適合的設計,符合品牌和產業的形象。
  • 使用免費和付費延伸模組來改善商店:新增功能並與當地和全球電子商務 Web 服務整合。
  • 檢查並修改核心外掛程式程式碼的所有層面。
  • 善用勾點和篩選器修改功能。
  • 建置在 REST API 和 webhooks 上。

Open-source freedoms mean full ownership of content and data forever – plus the expertise of a friendly global community.

WooCommerce is built to allow store managers to run an eCommerce site themselves, no web developer needed. There is also a free WooCommerce mobile app (Android and iOS) for store management on the go.

WooCommerce is developed and supported by Automattic, the creators of Jetpack and WordPress.com, along with independent contributors. The official extension marketplace is on WooCommerce.com.

從訂閱到健身課程,甚至到豪華汽車

WooCommerce 可讓你銷售各種型態和尺寸的實體和數位商品、提供不同版本的產品、進行複雜設定,讓買家能立即下載;甚至還能透過線上平台銷售聯盟商品。

這些都還只是現成的選擇。使用付費延伸模組,你可以擴展 WooCommerce 商店的選項,例如接受預訂、提供會員資格、透過訂閱設定定期付款、建立動態定價規則等等。

開始提供按月訂購的美酒訂閱盒、提供優惠價格讓修習 10 堂以上的學員便宜購買瑜伽墊、提供內容可自由配搭的禮物籃或專為個人打造的珠寶 – WooCommerce 全都幫你實現。

全面的付款方式

WooCommerce 接受主要信用卡、替代付款方式、BACS(銀行轉帳)和貨到付款。

For additional options, WooCommerce also integrates with more than 140 region-specific gateways including popular choices like Stripe, PayPal, Square and Amazon Pay. Apple Pay and Google Pay are also supported.

Search for your payment service provider of choice on the official marketplace.

可以全國運送,也可以跨國運送

透過 WooCommerce 運送,可靈活設定選項。調整內建設定以提供免費運送或固定運費,設定運送區域以限制貨件可送達的特定國家/地區,或將商店的運送範圍開放為全世界。

Official extensions connect you with hundreds of local and international carriers – including Royal Mail, FedEx, and Australia Post – and let you integrate with inventory management and fulfilment providers.

There are also extensions available to add delivery and shipping options and support strategies like buy-one-get-one free, free gifts, and add-ons. WooCommerce Shipping supports real-time calculations and printing labels at home.

使用主題和區塊設計你的商店

WooCommerce store design starts with a theme of your choice. There are hundreds of free and paid themes available, including Storefront by Automattic — it’s free to all stores and you can choose to have it installed for you during the guided setup.

Storefront offers deep WooCommerce integration and prioritizes speed and uptime. You can add your brand and define your style by customizing Storefront yourself or adding one of several industry-themed Storefront child themes.

使用 WooCommerce Blocks(WooCommerce 3.6 和更新版本的功能),讓你的商店設計更具個人風格:使用 WooCommerce Blocks 可在任何頁面新增產品系列或個別產品,完美融合商務與內容。

使用延伸模組來自訂你的商店

為 WooCommerce 商店新增功能的最簡單方法,就是使用延伸模組:

經過 WooCommerce 開發人員審查的數百個官方延伸模組,已於 WooCommerce.com 市集開放,你也可在 WordPress.org 儲存庫和網路上找到更多延伸模組。

永遠掌控你的資料

從稅收、存貨數量到客戶帳戶,WooCommerce 都能讓你全面掌控。新增和移除延伸模組、變更商店設計、切換主題或主機或付款服務供應商,全都按照你的意思執行。

In a world increasingly aware of the importance of data protection, WooCommerce gives you full ownership over what is tracked and stored. If you opt to share usage data with us, your data is anonymized and kept secure. At any stage, you can opt out of all forms of tracking while still enjoying all of WooCommerce’s capabilities.

有了 WooCommerce,你的資料只歸你保管。使用託管電子商務平台的其中一個風險是,如果供應商關閉,你的商店也隨之關閉。WooCommerce 商店資料經得起時間考驗,你可以匯出所有內容並移至你選擇的任何網站。

為什麼開發者喜歡 WooCommerce

最初在設計 WooCommerce 時,是以開發人員的需求為考量。採用 REST API,幾乎可與任何服務整合。你可以隨時隨地存取商店資料,安全無虞。

WooCommerce 讓開發人員能夠輕鬆建立、修改和擴展符合客戶指定規格的商店,並透過延伸模組或自訂解決方案加以強化。

無論你想要建置的商店規模為何,WooCommerce 穩健的架構都能給予支援,從基礎入門到企業版,一應俱全,並在單一集中化的位置同時提供內容和商務。

WooCommerce 由多位分處不同時區的專業開發人員組成團隊審核,以找出並修補任何以及所有發現的錯誤。我們提供一份易於閱讀的完整文件,且每推出一個版本就會更新一次文件內容。詳閱我們的文件後,你將知道如何建立客戶所需的網站。

Join our growing community

WooCommerce 是成長最快的電子商務社群之一。我們備受使用者喜愛,最常聽到使用者稱讚的原因是社群樂於助人,線上蘊藏豐富資源;對此我們感到相當自豪。

There are 80+ WooCommerce Meetups taking place in cities across the world that you can attend for free and even get involved in running. WooCommerce also has a regular presence at WordCamps across the globe – and we’d love to meet you.

If you’re interested in contributing to WooCommerce we’ve got more than 350 contributors, and there’s always room for more. Head to the WooCommerce GitHub Repository to find out how you can pitch in.

WooCommerce is currently 100% translated into 24 languages, including Danish, Ukrainian, and Persian. If you’re interested in helping to localize WooCommerce by adding your local language, visit translate.wordpress.org.

參與者和開發者

“WooCommerce” has been translated into 55 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.

螢幕擷圖

適用於區塊編輯器

這個外掛提供 16 個可供 Gutenberg/區塊編輯器使用的區塊。

woocommerce/product-new
Newest Products
woocommerce/product-best-sellers
Best Selling Products
woocommerce/handpicked-products
Hand-picked Products
woocommerce/price-filter
Filter Products by Price
woocommerce/active-filters
Active Product Filters
woocommerce/product-tag
Products by Tag
woocommerce/product-category
Products by Category
woocommerce/product-categories
Product Categories List
woocommerce/product-search
Product Search
woocommerce/attribute-filter
Filter Products by Attribute
woocommerce/featured-product
Featured Product
woocommerce/reviews-by-category
Reviews by Category
woocommerce/reviews-by-product
Reviews by Product
woocommerce/all-reviews
All Reviews
woocommerce/featured-category
Featured Category
woocommerce/product-on-sale
On Sale Products

安裝方式

Minimum Requirements

  • 建議使用 PHP 7.2 或更新版本
  • 建議使用 MySQL 5.6 或更新版本

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

Automatic installation

自動安裝是最簡易的選項。WordPress 會處理好檔案傳輸,你即無需離開網頁瀏覽器。若要自動安裝 WooCommerce,請登入 WordPress 儀表板,瀏覽至「外掛程式」選單,然後按一下「新增」。

在搜索欄位中輸入「WooCommerce」,然後按一下「搜尋外掛程式」。找到我們後,你可以檢視相關詳細資訊,例如版本、評分和說明。當然最重要的是,只要按一下「立即安裝」,WordPress 會代你完成所有程序。

Manual installation

若要進行手動安裝,則需下載 WooCommerce 外掛程式,並透過你偏好的 FTP 應用程式將其上傳至網路伺服器。WordPress Codex 中包含手動安裝操作說明,你可以在此查看

Updating

自動更新應該會順利進行,但我們仍然建議你備份網站。

若你在更新後遇到商店/分類頁面的問題,請前往「WordPress」>「設定」>「永久連結」排清永久連結,然後按一下「儲存」。這樣做應該可以解決問題。

Sample data

WooCommerce comes with some sample data you can use to see how products look; import sample_products.xml via the WordPress importer. You can also use the core CSV importer or our CSV Import Suite extension to import sample_products.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 paid extensions from WooCommerce.com, use our helpdesk.

WooCommerce 跟我的 theme 相容嗎?

Yes! WooCommerce will work with any theme, but may require some styling. Please see our codex for help. If you’re looking for a theme with built in WooCommerce integration we recommend Storefront.

哪裡可以申請新功能、電子商務佈景主題和擴充功能?

You can vote on and request new features and extensions on our WooIdeas board

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

Report bugs on the WooCommerce GitHub repository. You can also report them in our support forum.

在哪裡可以找到 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.

使用者評論

2020 年 7 月 9 日
After last update i have errors ...ActionScheduler_DBStoreMigrator.php on line 44 W have check version 4.2.2 and 4.3 - the same errors. Please help thank you
2020 年 7 月 6 日
I owe my profession to this plugin. Thanks you guy!
2020 年 7 月 6 日
my site is built with woocommerce, elementor and woolementor. they all just work great.
2020 年 7 月 3 日
You could set up your whole business to utilize this platform and then they will remove features at whim. They do this over and over and never respond to hundreds of people who are unable to update or use woocommerce due to removed features.
2020 年 7 月 2 日
This is really useful plugin for those who want to take their stores online.
閱讀全部 3,588 則使用者評論

參與者及開發者

WooCommerce 外掛目前已有 63 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 WooCommerce 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

4.3.0 – 2020-07-08

WooCommerce
* Enhancement – Show notice to update to latest PHP if version is < 7.2. #26775
* Enhancement – Add template cache clearing. #26752
* Enhancement – Add 47 Kenya counties. #26728
* Enhancement – Accessibility: add aria-disabled attribute to “Update cart” button on checkout page. #26726
* Enhancement – Update “Subtotal” translation string in wc-template-functions.php. #26706
* Enhancement – Add a new Features settings section, enabling woocommerce_homescreen_enabled for all new stores. #26625
* Enhancement – Add warning in status report if a base database table is missing. #26455
* Enhancement – Updated stock handling to prevent race conditions when orders come in at the same time. #26395
* Tweak – Allow checkout even if reserved table is not present. #26705
* Tweak – Add note to Products Importer description that TXT files are also supported. #26670
* Tweak – Allow set different notice types with WC_Admin_Notices. #26410
* Tweak – Fix redundant setting of object cache when attribute taxonomies are not being used. #26518
* Fix – Encode HTML entities for product attribute name and values. #26754
* Fix – Fix an issue with attribute value escaping in product CSV exports. #26739
* Fix – Fix comment_type value for reviews created with WordPress 5.5. #26729
* Fix – Close unbalanced

<

p> tag in auth “Grant Access” form template file. #26725
* Fix – Remove check for the existing term when parsing category via CSV & instead catch an existing term error when adding a new category to the database. #26720
* Fix – Domain update script now replaces woocommerce-admin domain also in Blocks package. #26690
* Fix – Correct grammar mistake in the help tip of the Connected to WooCommerce.com field of the System Status Report. #26666
* Fix – Allow float value timezone offsets to display the correct float values. #26637
* Fix – Add asterisk to star rating if ‘Star ratings should be required, not optional’ checkbox is enabled. #26596
* Fix – Use calculations similar to cart for orders as well (fixed regression). #26583
* Fix – Fixed data-id of notices in checkout. #26386
* Fix – Fixed password visible toggle in the checkout page. #26292
* Fix – Product description display fix when multiple products shortcodes are present on a page. #26250
* Fix – Using the add-to-cart parameter with a product variant id will now have the variation attributes populated correctly. #26237
* Fix – Better template caching support for multi-server environments. #23971
* Fix – Fix updating the wc_reserve_stock stock_quantity value after making changes to the cart in between checkouts. #26807
* Fix – Put back the remove element for multiselects on selectWoo. #26849
* Dev – Adjusted the WC tested up to check to only apply to major versions. #26685
* Dev – Make shipping calculations more flexible by providing actions. #26542
* Dev – Trigger check_variations with custom values. #26525
* Dev – Add verify_base_db method to check if all base tables are present. #26454
* Dev – Added action before the “Add payment method” save button and a filter to validate manually added fields when adding payment method. #26445
* Dev – wc_get_shipping_method_count() has a new argument ($enabled_only`) which allows restricting the non-legacy shipping methods to the enabled ones. #25753
* Dev – Added pre query filters for WP dashboard WooCommerce status widget. #25321
* Dev – Removed type hints from src folder. #26963

REST API 1.0.10
* Enhancement – Add API tool to clear template cache. woocommerce/woocommerce-rest-api#212
* Enhancement – Add API tool to verify base DB tables. woocommerce/woocommerce-rest-api#188

WooCommerce Admin 1.3.0
* Enhancement – Add Jetpack stats to performance indicatorts / homepage #4291
* Enhancement – New “Store Management” quick links card on WooCommerce home screen. #4350
* Enhancement – Inbox notifications layout updates #4218
* Enhancement – New Home Screen #4303
* Enhancement – Use WordPress Core colors for styling accents. #4558
* Tweak – make revenue report total sales column optional #4397
* Tweak – Adjustments to WooCommerce Payments setup task #4373
* Tweak – Handling of plugin installs in OBW #4411
* Tweak – Update design of Setup Checklist #4434
* Tweak – Add scrollable styling to left side of Table, and keep updated #4179
* Tweak – Add custom autocompleter support to Search component #4518
* Tweak – reduce asset filename length. #4535
* Tweak – Use single dash for country/state dropdown options #4553
* Tweak – Use label tag for toggleable shipping zones #4554
* Tweak – Make it easier to add submenu items to the Marketing menu #4561
* Tweak – Tag remove button style so it is properly centered. #4651
* Tweak – Tweak the embed page CSS so the top content sits better. #4622
* Tweak – Update summary number placeholder styles. #4682
* Fix – misaligned ‘required’ text on selects #4307
* Fix – exception when opening dashboard after selecting extensions to purchase #4357
* Fix – REST API collections schema #4377
* Fix – Monetary Advanced Filters in Customers Report with correct currency object prop. #4356
* Fix – In App purchase “back link” #4301
* Fix – Search results selectable by clicking on item text or icon #4474
* Fix – Filters’ static query parameters #4458
* Fix – The WCPay method not appearing as recommended sometimes #4345
* Fix – Removed URLSearchParams method #4501
* Fix – REST API collections schema. #4484
* Fix – null issue in wpNavMenuClassChange #4513 🎉 gradosevic
* Fix – RTL stylesheet loading for split code chunks. #4542
* Fix – Don’t show store location step in tax and shipping tasks if the address has already been provided #4507
* Fix – Check for enabled methods before payment task completion #4530
* Fix – Solved a problem with the method onChoose in the last onboarding step. #4583
* Fix – Only mark purchase task as complete when products exist #4574
* Fix – WCPay sometimes not appearing on the task list. #4647
* Fix – Fix inbox spacing. #4632
* Fix – Don’t include sourcemaps or unminified JS for “core” builds. #4642
* Fix – Add a bottom border to the Install Jetpack CTA. #4589
* Fix – Style cleanup from components update. #4606
* Fix – Check that the possibly_add_note function exists before calling it. #4680
* Fix – Remove unnecessary rest_api_init action that caused incompatibility issues with other plugins. #4691
* Fix – Fix dashboard task list menu placement. #4664
* Fix – Added styles to the unread notes counter in the inbox panel. #4690
* Fix – Fix spacing between stats overview and store management cards. #4681
* Fix – Added default value to the note icon. #4745
* Fix – Unnecessary REST API usage leading to potential overflow of Jetpack option sizes. #4755
* Dev – Add jest-dom eslint plugin. #4327
* Dev – Migrate onboarding data store to wp.data #4433
* Dev – Remove use of IconButton in favor of Button #4415
* Dev – Fix error handling for plugins on server error #4462
* Dev – update @wordpress/components and @wordpress/base*styles #4427
* Dev – Migrate user store to wp.data #4505
* Dev – Add options data store to wp.data #4144
* Dev – Runtime feature config override #4523
* Dev – Add deprecation notice for install_plugin() #4713
* Dev – Only load non-minified js files when SCRIPT_DEBUG is on, and env is development or plugin. #4747

WooCommerce Admin 1.2.4
* Tweak – reduce asset filename length and remove tilde characters. #4535
* Fix – RTL stylesheet loading for split code chunks. #4542

WooCommerce Blocks 2.7.1
* Fix – Use IE11 friendly code for Dashicon component replacement. #2708
* Fix – Fix PHP warnings produced by StoreAPI endpoints when variations have no prices. #2722
* Fix – Fix missing scoped variable in closure and missing schema definitions. #2724
* Fix – Fix undefined index notice for query_type on the product collection data endpoint. #2723

WooCommerce Blocks 2.7.0
* Enhancement – Filter block font sizes have been adjusted to be in line with other blocks. #2594
* Enhancement – The All Products block and the other product grid blocks now share more styles and the markup is more similar (see release post or docs to learn how to undo this change). #2428 [DN]
* Enhancement – The Cart and Checkout blocks now use the heading styles provided by the theme. #2597
* Enhancement – The Cart block titles have been merged into one. #2615
* Enhancement – The item count badges of the Checkout block have been updated so it looks better in light & dark backgrounds. #2619
* Enhancement – Checkout step progress indicator design has been updated to match the theme headings style. #2649
* Performance – Reduce bundlesize of blocks using @wordpress/components directly. #2664
* Fix – Fix bug in Checkout block preventing a retry of credit card payment when first credit card used fails and a new one is tried. #2655
* Fix – Avoid some theme style properties leaking into the Cart and Checkout select controls. #2647
* Fix – Fixes to the product grid blocks in Twenty Twenty: discounted prices are no longer underlined and the On Sale badge is correctly positioned in the All Products block. #2573
* Fix – Improved alignment of credit card validation error messages. #2662
* Fix – Show the ‘No shipping methods’ placeholder in the editor with the Checkout block if there are shipping methods but all of them are disabled. #2543

WooCommerce Blocks 2.6.1
* Fix – Updated the wc_reserved_stock table for compatibility with versions of MySql < 5.6.5. #2590

WooCommerce Blocks 2.6.0
* Enhancement – Add dropdown display style to Filter Products by Attribute block. #1255
* Enhancement – Add option to display a Filter button to Filter Products by Attribute block. #1332
* Enhancement – Add support for image for product categories block #1739
* Enhancement – An error notice will be shown in All Product if the customer is trying to add a product above stock or sold individually. #2278
* Performance – Improvements to REST API performance #2248
* Performance – Avoid loading Assets API during REST requests #2286
* Fix – Add placeholder to the on-sale products block when no results are found. #1519
* Fix – Added correct ellipsis character in Product Search block #1672
* Fix – If product is changed for featured product block, update the link in the button. #1894
* Fix – Import from @woocommerce/settings in @woocommerce/block-settings #2330
* Dev – Accessibility of the All Products block and filter blocks has been improved. #1656
* Dev – All Products Block: Update sorting labels to match frontend options #2462
* Dev – Change PropType validation for Icon component #1737
* Dev – Changed default rows and columns for product grid blocks to 3×3. #1613
* Dev – Check for instance of WP_Block in render_callback #2258
* Dev – Devs: ENABLE_REVIEW_RATING setting was renamed to REVIEW_RATINGS_ENABLED and now it also verifies reviews are enabled, to better match WooCommerce API. #1374
* Dev – Fix price filtering when stored prices do not match displayed prices (determined by tax settings). #1612
* Dev – HTML editing is no longer supported in several blocks. #1395
* Dev – Implement __experimentalCreateInterpolateElement for translations. #1736
* Dev – Load WooCommerce Core translations for ‘Sale!’ and some other strings if translations are unavailable for WooCommerce Blocks. #1694
* Dev – Prevent data hydration on REST requests #2176
* Dev – Show relationship between terms in the active filters block. #1630
* Dev – Table creation validation for install routine #2287
* Dev – Update the icons used in the blocks. #1644

See changelog for all versions.