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.

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

With WooCommerce, you can sell both physical and digital goods in all shapes and sizes, offer product variations, complex configurations, and instant downloads to shoppers; and even sell affiliate goods from online marketplaces.

這些都還只是現成的選擇。使用付費延伸模組,你可以擴展 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.

螢幕擷圖

適用於區塊編輯器

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

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/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

Automatic installation is the easiest option — WordPress will handles the file transfer, and you won’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,” then click “Search Plugins.” Once you’ve found us, you can view details about it such as the point release, rating, and description. Most importantly of course, you can install it by! Click “Install Now,” and WordPress will take it from there.

Manual installation

Manual installation method requires downloading the WooCommerce plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

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

If you encounter issues with the shop/category pages after an update, flush the permalinks by going to WordPress > Settings > Permalinks and hitting “Save.” That should return things to normal.

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.

Where can I request new features, eCommerce themes, and extensions?

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.

使用者評論

2019 年 11 月 15 日
The variable product extension doesn't work with other extensions like Mailchimp abandon cart or the Follow-ups extension. It just takes them to the product page, but not to the actual variable they ordered. Same with the email template shortcodes, it doesn't pull in the product they almost ordered, it pulls in the main product group without selecting the actual variable. Quite annoying. Every extension costs an arm and a leg and has annual renewal costs and the more plugins you need the slower the website operates. Many features should just be standard that are turned into upsells instead. I'd gladly pay for WooCommerce a larger annual fee than manage dozens of extensions. Like why is shipment tracking an add-on?? that's standard stuff.
2019 年 11 月 14 日
Ferramenta muito boa, falta algumas coisinha para ser perfeita. Porém chegam com o tempo.
2019 年 11 月 13 日
As incredible as it is, WooCommerce DOES NOT have the simple option to set a price/cost by attribute. For example +5$ for ""gift wrapping" or +10% for some large size. It is only possible with payed plugins, BUT, these plugins create other problems, as they do use the native attributes for pricing, thus, when you need other options, like price by quantity, you cannot combine them. So you get stuck, and go back to Prestashop or Opencart or any other cart system that have these basic options integrated by default. Unfortunately, you only get to discover this things after you worked hard to setup your shop and payed for some decent woocommerce theme. I will change my rating if you can provide a decent reason (other than offering it in premium plugins)
2019 年 11 月 12 日
Zero support. Variable product function does not work at all. if you want to sell variations of one product (ie small, medium, large) this won't work for you. Don't bother trying to get support.
2019 年 11 月 9 日
I love the price and the customization options of WooCommerce. Those two facets of WooCommerce alone are worth 4 stars to me. I subtract the 5th star because there are tons of tweaks I like to make to try to get my site to look and behave just right which is very time-consuming. I've never gotten a totally perfect final website because so many tweaks take so much time to research and ask for help with that sometimes I will just accept how something looks or works, even if I don't love it. Learning how to code PHP stuff would probably make tweaking a WordPress.org site a little easier, but I haven't taken that step yet. For now, I am doing okay by googling things and asking for help in support forums.
閱讀全部 3,422 則使用者評論

參與者及開發者

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

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

對開發相關資訊感興趣?

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

變更記錄

3.8.0 – 2019-01-10

  • Enhancement – Show error message in “My Account – view order” if order does not exist. #24435
  • Enhancement – Add support to allow connect and install for in-app purchase flow. #24451
  • Enhancement – Declared support to Unicode CLDR. #24564
  • Enhancement – Declared support for PHP 7.4 in CI by removing PHP 7.4 from list of allowed failures. #24668
  • Enhancement – Update the recommended PHP version to 7.0 and the recommended WP version to 5.0. #24730
  • Enhancement – Change On Boarding Wizard to opt out of usage tracking by default. #24680
  • Enhancement – Add Available on backorder message for products available on backorder. #24559
  • Tweak – Hide Vietnam’s state field. #24158
  • Tweak – Better wording when no downloads are available on My Account > Downloads. #24172
  • Tweak – Only consider orders created via checkout to hold stock. #24159
  • Tweak – Stop to load order data twice in “View order” screen on “My Account” page. #24437
  • Tweak – Prevent PHP warnings in tracker if order doesn’t have a created date yet. #24441
  • Tweak – Use wc_get_checkout_url() to get checkout URL. #24544
  • Tweak – Maintain value of select fields in credit card form. #24720
  • Tweak – Prevent filter per category while exporting product variations. #24517
  • Tweak – Better wording for subtotal of items in cart and review order. #24440
  • Tweak – Prevent new lines in product quantity in checkout details. #24311
  • Tweak – Add a tooltip in the “Coupon expity date” field. #24749
  • Tweak – CSS styling changes for WP 5.3. #24832
  • Template – Moved HTML for displaying product price filter widget to a new template product price filter widget. #23384
  • Accessibility – Make $subtext color darker. #24739
  • Dev – Consistent register/login submit button css class names. Preserve old class names as well for backwards compatibility. #23701
  • Dev – Added woocommerce_disable_password_change_notification filter, set to false by default. #24154
  • Dev – Add filter woocommerce_cart_item_removed_message and woocommerce_cart_product_cannot_be_purchased_message to filter notice content when an item is removed from cart, or when a product cannot be purchased. #24176
  • Dev – Prevent fatal error if trying to run wc_load_cart() before before_woocommerce_init. #24198
  • Dev – Add woocommerce_get_zone_criteria filter hook to add custom criteria for matching zone ID. #24199
  • Dev – Fire actions woocommerce_before_delete_product_variation, woocommerce_delete_product_variation and woocommerce_trash_product_variation appropriately when deleting or trashing product variations. #24239
  • Dev – In filter woocommerce_update_product_stock_query use $new_stock instead of $stock_quantity. #24229
  • Dev – Introduced woocommerce_prevent_adjust_line_item_product_stock filter. #24279
  • Dev – Introduced woocommerce_logout_default_redirect_url filter to allow custom default URL. #24282
  • Dev – Added woocommerce_sort_fees_callback filter. #24280
  • Dev – Remove deprecated i18n/states directory. #24364
  • Dev – Add filter woocommerce_shipping_show_shipping_calculator for showing shipping calculator. #24375
  • Dev – Corrected UG states location. #24388
  • Dev – Remove deprecations notices with PHP 7.4 by changing parameter order for implode. #24396
  • Dev – Add “$this` param to email filter for additional_content added in 3.7. #24399
  • Dev – Add woocommerce_product_import_process_item_data filter to allow modifying a row before importing. #24412
  • Dev – Fixed warnings when error_get_last() returns null. #24442
  • Dev – Use brackets instead of braces to avoid deprecation notice in PHP 7.4. #24460
  • Dev – Implement Puppeteer’s architecture for running E2E tests locally. #24479
  • Dev – Remove call to get_magic_quotes_runtime() as it is deprecated as of PHP 7.4. #24485
  • Dev – Return value of $mailer->send() in wc_mail function. #24505
  • Dev – Remove Selenium e2e tests & add Puppeteer new product e2e test. #24513
  • Dev – Add a filter woocommerce_ajax_add_order_item_validation to allow validations in add_order_item function. #24518
  • Dev – Use wc_get_cart_url instead of wc_get_page_permalink( 'cart' ) because former has a filter woocommerce_get_cart_url to allow customization. #24530
  • Dev – New woocommerce_product_after_tabs action hook added. #24694
  • Dev – Enable append hashes on custom events (like ajax requests) #24665
  • Dev – Introduced woocommerce_order_get_formatted_billing_address and woocommerce_order_get_formatted_shipping_address filters. #24677
  • Dev – WC_Abstract_Order::recalculate_coupons() is public now. #24740
  • Dev – Added ‘applied_coupon’ trigger to checkout.js. #24406
  • Dev – Introduced woocommerce_output_cart_shortcode_content filter. #24738
  • Dev – Add WPML compatibility to the geolocation URL. #24722
  • Dev – Validate server requirements in WCCCOM Site Installer endpoints. #24690
  • Dev – Introduced woocommerce_payment_token_class filter. #24542
  • Dev – Add support for post type count to system status report. #24536
  • Dev – Check for max discount to be -ve to prevent overwriting refunded fee amount. #24341
  • Dev: Add filter woocommerce_european_union_countries to the method WC_Countries::get_european_union_countries(). #24741
  • Dev – Allow WC_Product_Query sort products by include order. #24294
  • Dev – Removed duplicated include of WC_Admin_Importers. #24751
  • Dev – Refactor minimum requirement notice to use constant for easier changes in the future. #24830
  • Fix – Clean products transients when term is removed. #23991
  • Fix – Only add the image node to structured data if product has image. #24191
  • Fix – Product attribute terms endpoint in legacy REST API v3 by converting attribute_id to int. #24203
  • Fix – Prevent duplicate processing/stock reduction when IPN or PDT notifications are enabled by checking if order is not already in processing or completed status. #24249
  • Fix – Position of ID section in mobile rows actions when displaying the list of products in the admin. #24277
  • Fix – Endpoints URLs to follow slashes preferences from WordPress permalinks. #24283
  • Fix – Ensure that postcode validation doesn’t return any whitespace on beginning and end of a postcode. #24284
  • Fix – Shipping classes sort under products alphabetically. #24291
  • Fix – Shipping rates layout in admin settings. #24327
  • Fix – Retain the focus on the select box when product variation is changed. #24339
  • Fix – Prevent PHP notice in WC_Order_Item_Data_Store::get_order_item_type() when there is no entry in the database for the order item ID passed. #24353
  • Fix – Add translation in class-wc-shipping.php for matching zone message. #24366
  • Fix – Previewing email template. #24380
  • Fix – Check if order exist before generate hash for downloads. #24384
  • Fix – Ensure WC_Product_Data_Store_CPT::is_existing_sku() return boolean. #24385
  • Fix – function_exists check for wc_hex_is_light(). #24391
  • Fix – Removed Emoji from default additional email content due problem on some database that doesn’t allow Emojis. #24450
  • Fix – Fixed escaping on an attribute in class-wc-admin-menus.php. #24466
  • Fix – Add translation for image alt attribute text in multiple places. #24467, #24468, #24469
  • Fix – Uneven padding in the input field with class “location-input” in on boarding wizard. #24476
  • Fix – Duplicate id in pages settings. #24478
  • Fix – Use esc_attr_e instead of esc_html_e for escaping an attribute in multiple places. #24481, #24520, #24521, #24522, #24523, #24524
  • Fix – Use esc_attr__ instead of esc_html__ in escaping attributes string. #24525, #24529
  • Fix – Typo fix in payment captured error message. #24501
  • Fix – Documentation URL in failed order email content. #24535
  • Fix – “Add to cart” links in feed. #24545
  • Fix – Escaping in Storefront banner. #24546
  • Fix – Use wp_kses_post to allow certain html tags in extensions page. #24589
  • Fix – Escape $prefix in item download links. #24601
  • Fix – Use esc_attr instead of esc_html in multiple places for proper escaping. #24613, #24614
  • Fix – Use esc_html instead of esc_attr in multiple places for proper escaping. #24616
  • Fix – Use esc_html_e instead of _e in multiple places for proper escaping. #24615, #24618, #24630
  • Fix – Use esc_html__ instead of esc_html for proper escaping and some typo fixes. #24639
  • Fix – Add no-store and remove max-age header (no longer needed). #24652
  • Fix – Use correct meta value for downloadable column in product lookup table regenerate function. #24681
  • Fix – Admin sub-menus becoming unaligned when scrolling down in the orders page when there are no orders. #24688
  • Fix – OWB country and sell in person alignment. #24700
  • Fix – Domain replacement script now replaces both double and single quoted woo-gutenberg-products-block with woocommerce in both PHP and JavaScript files. #24696
  • Fix – Convert current_user_id to string in some places to prevent unnecessary session database updates. #24016
  • Fix – Fixed description of failed order emails. #24737
  • Fix – Fixed Photoswipe styles. #24296
  • Fix – Also consider refunded item when updating order and adjusting stocks. #24745
  • Fix – Handle 0 attribute value for variations correctly. #24750
  • Fix – Fixed spaces in form fields of External Products. #24295
  • Fix – Removed links to downloadable products from refund emails. #24952
  • Localization – Add Zambia’s Provinces to the list of states. #24307
  • Localization – Adaptation of the order of last name and first name and addresses in Japan. #24336
  • Localization – Fixed Namibian dollar symbol. #24438
  • Localization – Change localization tag action-scheduler to woocommerce. #24474
  • Localization – Fixed missing US Minor Outlying Islands states. #24826
  • Security – Add an exit after the redirect when checking author archive capabilities for customers.
  • Security – Ensure 404 pages with single product urls cannot be exploited using Open Redirect.

See changelog for all versions.