plugin-icon

Bears WooCommerce Product Quick View

作者:huynhhuynh·
This plugin is a addon of WooCommerce. Display button quick view on shop page allows users to get a quick look of products without opening the product …
版本
1.0.0
活跃安装
10
最后更新
Dec 20, 2017
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’, …);
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.8.29
这个插件是可用的下载,适用于您的站点。