這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Product Quick Switch

外掛說明

The Product Quick Switch plugin streamlines your WooCommerce product management by adding a convenient meta box to the product edit screen. This meta box features a searchable dropdown menu that allows you to quickly navigate to any other product in your store directly from the current edit page.

No more tedious back-and-forth through the product list! Simply type a few characters of the product you’re looking for, select it from the filtered dropdown, and you’ll be instantly redirected to its edit screen.

Features:
* Seamless Integration: Adds a meta box to the standard WooCommerce product edit page.
* Quick Navigation: Instantly switch to any product with a single click after selection.
* Searchable Dropdown: Easily find products by typing in the search box, which dynamically filters the dropdown options.
* Performance Optimized: Efficiently retrieves product data for a smooth user experience.
* HPOS Compatible: Fully compatible with WooCommerce’s High-Performance Order Storage feature.

This plugin is designed to save you time and clicks, making your WooCommerce product editing workflow more efficient.

安裝方式

  1. Upload the product-quick-switch folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to any WooCommerce product edit page (Products -> All Products -> Edit).
  4. You will find the “Quick Product Switch” meta box on the right sidebar.

常見問題集

Does this plugin work with High-Performance Order Storage (HPOS)?

Yes, this plugin is declared compatible with WooCommerce’s High-Performance Order Storage (HPOS) feature from version 2.3 onwards.

Can I filter products by category or status?

No, this version of the plugin focuses purely on a simple searchable dropdown for quick product switching. The category and status filters were removed to simplify the interface and improve performance.

What if I have a very large number of products?

The plugin fetches all products to populate the dropdown for client-side searching. For extremely large stores (tens of thousands of products or more), you might experience a slight delay on initial page load where the dropdown is rendered. However, the client-side filtering remains very fast.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Product Quick Switch〉的開發相關工作。

參與者

將〈Product Quick Switch〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.5

  • FIX: Ensured all output is properly escaped using esc_html() for the option text, addressing WordPress.Security.EscapeOutput.OutputNotEscaped warnings.

2.4

  • FIX: Applied esc_attr() to the data-title attribute to ensure proper escaping and address WordPress.Security.EscapeOutput.OutputNotEscaped warnings.

2.3

  • ADD: Declared formal compatibility with WooCommerce High-Performance Order Storage (HPOS) to prevent incompatibility warnings.
  • UPD: Bumped plugin version to reflect HPOS compatibility declaration.

2.2

  • FIX: Updated product data retrieval to use wc_get_products() for compatibility with WooCommerce High-Performance Order Storage (HPOS).
  • UPD: Adjusted product object data access (e.g., get_name(), get_id()).
  • UPD: Bumped plugin version.

2.1

  • REM: Removed category and status filter dropdowns.
  • IMP: Simplified JavaScript filtering logic for improved performance.
  • ADD: Comprehensive WordPress.org plugin header.

2.0

  • Initial release with searchable and filterable dropdowns.