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

Bears WooCommerce Product Quick View

外掛說明

Bears WooCommerce Quick View allows users to get a quick look of products without opening the product page.

Quick View Modal

WordPress how to install plugin
The modal window shows the product’s:

  1. Main featured image
  2. Title
  3. Price
  4. Short description
  5. View button
  6. Cart buttons

Compatible

  1. WooCommerce 3.x
  2. WooCommerce Variation Swatches and Photos
  3. WooCommerce Product Bundles

Changing Template

To customize template, create a folder ‘bears-woocommerce-product-quick-view’ on your theme:
Example (custom layout quick view button):

copy file: plugins/bears-woocommerce-product-quick-view/templates/loop/quick-view-button.php
to your theme: your-theme/bears-woocommerce-product-quick-view/loop/quick-view-button.php
-> edit the file.

Remove button quick view:

add_action('wp_head', 'remove_button_quick_view');
function remove_button_quick_view() {
  global $BWC_Product_Quick_View;
  remove_action('woocommerce_after_shop_loop_item', array($BWC_Product_Quick_View, 'quick_view_button'), 5);
}

Move button quick view:

global $BWC_Product_Quick_View;
add_action('name action ...', array($BWC_Product_Quick_View, 'quick_view_button'), 15);

Hooks

  1. add_action(‘bwc_product_quick_view_before_single_product’, …);
  2. add_action(‘bwc_product_quick_view_after_single_product’, …);

螢幕擷圖

安裝方式

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)

使用者評論

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

參與者及開發者

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

參與者

變更記錄

1.0

  • First released version 1.0