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.

螢幕擷圖

適用於區塊編輯器

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

woocommerce/price-filter
Filter Products by Price
woocommerce/attribute-filter
Filter Products by Attribute
woocommerce/active-filters
Active Product Filters
woocommerce/product-search
Product Search
woocommerce/featured-category
Featured Category
woocommerce/product-categories
Product Categories List
woocommerce/handpicked-products
Hand-picked Products
woocommerce/product-category
Products by Category
woocommerce/product-best-sellers
Best Selling Products
woocommerce/all-products
All Products
woocommerce/product-tag
Products by Tag
woocommerce/featured-product
Featured Product
woocommerce/product-on-sale
On Sale Products
woocommerce/reviews-by-product
Reviews by Product
woocommerce/all-reviews
All Reviews
woocommerce/reviews-by-category
Reviews by Category
woocommerce/product-new
Newest 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 年 3 月 2 日
Great docs, a bit hard to use at the beginning but worth it.
2020 年 2 月 28 日
Dopo l'ultimo aggiornamento, il plugin si è ridimensionato e tante applicazioni non funzionano più, purtroppo bisogna attivare la funzione PRO 🙁
2020 年 2 月 26 日
This is really one of the greatest plugin for the wordpress you can have for commercial website. I'm using this plugin almost for every website. I'm really happy user.
2020 年 2 月 24 日
Can it be better? Thanks Woocommerce team for your time, patience, and knowlege! And I can't emphasize this thank enough!!
閱讀全部 3,497 則使用者評論

參與者及開發者

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

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

對開發相關資訊感興趣?

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

變更記錄

3.9.2 – 2020-02-13

  • Security – Show a notice when a logged-in customer pays for a guest order.
  • Security – Disallow links in coupon error messages.
  • Fix – Restored the default behavior of the “Shipping destination” option. #25571

3.9.1 – 2020-01-28

  • Tweak – Trim whitespaces and strip slashes from MaxMind License Key.
  • Dev – Prevent empty notices to get displayed on frontend.
  • Fix – Show “-” instead of “0” when tax isn’t applicable to a product.
  • Fix – Fixed fatal error on the thank you page if order is not specified.
  • REST API – Fixed – Product and variations schema to allow remove sale prices, dimensions and weight.

3.9.0 – 2020-01-21

  • Enhancement – Added a “Show” button next to the password field on the login fields. #24915
  • Enhancement – New WooCommerce Onboarding experience (shows to only 10% of new users). #24991
  • Enhancement – Introduced Payment Gateway API to support “pay button”. #25000
  • Enhancement – Includes WooCommerce Blocks 2.5.3, introducing an “All Products” block, a new block listing products using client side rendering (requires WordPress 5.3), and more. #25181
  • Tweak – Updated PayPal standard “Thank you” page message to comply with PayPal Guidelines. #24756
  • Tweak – Account for non-EU countries that collect VAT and rename tax to VAT on the frontend. #24999
  • Tweak – Cache checkout fragments and update DOM on change only. #24227
  • Tweak – Eliminate extra update order AJAX request on checkout page load. #24271
  • Tweak – Prevent billing address from being updated on shipping update. #24374
  • Tweak – Added a tooltip in the “Coupon expity date” field. #24749
  • Tweak – Make phone numbers clickable in emails. #24786
  • Tweak – Prevent PHP warnings in tracker if order doesn’t have a created date yet. #24846
  • Tweak – Capitalize “T” in “Move to Trash” phrase on order page in wp-admin to be consistent with product and coupon pages. #24867
  • Tweak – Changed wp_cache invalidation from using increment to using microtime. #24961
  • Tweak – Made the usage tracking link on the setup wizard more transparent. #25026
  • Tweak – Fixed menu highlight of My Account page when browsing “Add payment method” page. #25041
  • Tweak – Prevent creating products before registering related post types and taxonomies. #25049
  • Tweak – Include processing orders in tracker data when opted in. #25071
  • Tweak – Centralize check for default themes to fix Storefront appearance in the Setup Wizard. #25216
  • Tweak – Adds a WordPress version check before recommending the WooCommerce Admin plugin during setup. #25260
  • Fix – Added license key support recent changes from MaxMind GeoLite2. #25378
  • Fix – Honor tax rounding preference in edit item and refund flows. #24208
  • Fix – Prevent incorrect number of decimal points in prices. #24281
  • Fix – Fixed initial support for Gutenberg’s Experimental Legacy Widget block. #24292
  • Fix – Fix overriding of query when using orderby on archives with a static homepage. #24683
  • Fix – Use of wp_unslash() function when escaping admin settings values. #24793
  • Fix – Do not set the tracking cookie when doing ajax requests. #24798
  • Fix – Display button to delete images from product galleries in the admin when using a mobile device. #24840
  • Fix – Fixed order note’s date format. #24843
  • Fix – Refactored WC_Order_Factory::get_order() to remove function deprecated in PHP 7.0. #24852
  • Fix – Fixed product stock status changes on Bulk Edit save when “Enable stock management” is disabled. #24876
  • Fix – Fixed default country code fallback in wc_get_customer_default_location(). #24884
  • Fix – Fixed misleading message for Shipping options in cart. #24914
  • Fix – Customizer not loading when viewing from WordPress.com. #24935
  • Fix – Prevent notice when a variable product has no images. #24986
  • Fix – Adjusted the slug generation for duplicated variable products to prevent performance degradation when using templates. #25064
  • Fix – Added appropriate minification to photoswipe.css. #25074
  • Fix – Corrected the sorting behavior for the “products” shortcode when manually sorting products. #25084
  • Fix – Fixed invalid backlinks for in-app purchases. #25098
  • Fix – Corrected the media element player initialization for product variation descriptions. #25103
  • Fix – Enable WooCommerce.com Site API on installations not using permalink. #25131
  • Fix – WooCommerce.com Site API now returns success if the plugin was previously installed. #25140
  • Fix – WooCommerce.com Site API checks to move_product case to make sure result array contains folder_exists item and doesn’t return a warning. #25160
  • Fix – Ensure that categories containing only private products are selectable in the product exporter. #25132
  • Fix – Prevent variable product parents from being added to orders. #25162
  • Fix – Use sorting settings as a default to product shortcodes. #25180
  • Fix – Applied setup wizard CSS fixes to the respective WP versions. #25197
  • Fix – Fixed “account erasure request” URL in WordPress 5.3. #25208
  • Fix – Ensure all cache get removed on webhook deletion. #25164
  • Fix – Adjusted the checkout email validation regex to be more accurate. #25251
  • Template – Introduced woocommerce_product_related_products_heading filter. #25059
  • Template – Introduced woocommerce_before_lost_password_confirmation_message and woocommerce_after_lost_password_confirmation_message hooks. #25096
  • REST API – Fixed date_created and date_created_gmt for customers v2. #25181
  • REST API – Fixed Restored “Total post count” section on System Status endpoint v2 and v3. #25181
  • REST API – Filter empty objects from results before loop. #25181
  • Dev – Introduce new PHP 7.0 minimum requirement.
  • Dev – Introduce new WordPress 5.0 minimum requirement.
  • Dev – Check for max discount to be “-ve” to prevent overwriting refunded fee amount. #24341
  • Dev – Add unload event to the checkout page to prevent reloading during checkout after placing an order. #24609
  • Dev – Only toggle form field description if element exists. #24752
  • Dev – Introduced woocommerce_{$export_type}_export_delimiter filter to change separator string while exporting CSV files. #24759
  • Dev – Introduced woocommerce_after_order_refund_item_name hook. #24760
  • Dev – Introduced woocommerce_kses_notice_allowed_tags filter. #24849
  • Dev – Introduced woocommerce_shipping_not_enabled_on_cart_html filter. #24914
  • Dev – Introduced woocommerce_show_invalid_variations_notice filter. #24934
  • Dev – Introduced woocommerce_upsells_order filter. #25017
  • Dev – Introduced woocommerce_before_settings_{current_tab} and woocommerce_after_settings_{current_tab} hooks. #25028
  • Dev – Included third parameter $order to woocommerce_order_get_formatted_billing_address and woocommerce_order_get_formatted_shipping_address filters. #24870
  • Dev – Pass the $clear_persistent_cart variable to the woocommerce_before_cart_emptied and woocommerce_cart_emptied actions. #24930
  • Dev – Made variables in assets/css/_variables.scss default. #24822
  • Dev – Refactor to use the same rounding logic in orders and cart. #24828
  • Dev – Add order note immediately after status change before the `woocommerce_order_status_changed action. #24879
  • Dev – Added support for custom attributes in wc_placeholder_img(). #24937
  • Dev – Added initial support for inline notices on checkout. #25001
  • Dev – Introduced wc_get_product_object() helper. #25031
  • Dev – Pass the correct $this->updated_props variable to the woocommerce_coupon_object_updated_props action’s second paramater. #25077
  • Dev – Remove a few calls to func_get_args() and call_user_func_array() with the spread operator for better code legibility and performance gains. #25101
  • Dev – New woocommerce_valid_order_statuses_for_payment hook that triggers when an order is paid. Use this new hook instead of woocommerce_order_status_changed or woocommerce_order_status_{old_status}}to{new_status}` to trigger code for payment completion. #25158
  • Dev – Ability to exclude certain product types from product search calls. #25162
  • Dev – Raise exception when WC_Product_Variation is instantiated with an ID that belongs to an object that is not a variation. #25178
  • Localization – Add subdivisions of Laos. #24765
  • Localization – Fixed translatable string in WooCommerce’s libraries. #24892 #24894
  • Localization – Fixed translatable string comments for translators. #24928
  • Localization – Add postcode validation for Slovenia. #25174

See changelog for all versions.