[wordpress插件] Bears WooCommerce Product Quick ViewBears WooCommerce产品快速查看

wordpress 插件 文章 2020-03-02 11:50 485 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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

Bears WooCommerce快速查看使用户无需打开产品页面即可快速浏览产品。

Quick View Modal

快速查看模式

WordPress how to install plugin

WordPress如何安装插件

The modal window shows the product’s:

模态窗口显示产品的:

    1. Main featured image
    2. 主要特色图片

    3. Title
    4. 标题

    5. Price
    6. 价格

    7. Short description
    8. 简短说明

    9. View button
    10. 查看按钮

    11. Cart buttons
    12. 购物车按钮

    Compatible

    兼容

      1. WooCommerce 3.x
      2. WooCommerce 3.x

      3. WooCommerce Variation Swatches and Photos
      4. WooCommerce变化色板和照片

      5. WooCommerce Product Bundles
      6. WooCommerce产品包

      Changing Template

      更改模板

      To customize template, create a folder ‘bears-woocommerce-product-quick-view’ on your theme:

      要自定义模板,请在主题上创建一个文件夹“ bears-woocommerce-product-quick-view”:

      Example (custom layout quick view button):

      示例(自定义布局快速查看按钮):

      copy file: plugins/bears-woocommerce-product-quick-view/templates/loop/quick-view-button.php

       复制文件: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

      主题: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');

        add_action('wp_head','remove_button_quick_view');

      function remove_button_quick_view() {  

      函数remove_button_quick_view(){  

      global $BWC_Product_Quick_View;  

      全局$ BWC_Product_Quick_View;  

      remove_action('woocommerce_after_shop_loop_item', array($BWC_Product_Quick_View, 'quick_view_button'), 5);

      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;

       全局$ BWC_Product_Quick_View;

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

      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_before_single_product’,…);

        3. add_action(‘bwc_product_quick_view_after_single_product’, …);
        4. 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. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the Settings->Plugin Name screen to configure the plugin
    6. 使用“设置”->“插件名称”屏幕来配置插件

    7. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
    8. (使您的说明与激活和安装插件所需的用户流程相匹配。包括说明性目的可能需要的所有步骤)

下载地址
https://downloads.wordpress.org/plugin/bears-woocommerce-product-quick-view.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Direct Mail Subscribe Form直接邮件订阅表格
[wordpress插件] Axel Pro for Woocommerce WordPress适用于Woocommerce WordPress的Axel Pro
[wordpress插件] Buy Me A Coffee Button and Widget给我买咖啡按钮和小部件
[wordpress插件] Admin Column View Selector管理员列视图选择器
[wordpress插件] Automotive Feed Importer汽车饲料进口商
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8072
问题? 7297
如何快速搭建抽奖助手小程序(无需代码知识) 5080
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6035
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5647
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5238
如何解决渲染层网络错误Failed to load media? 16589
小程序找号找回 释放昵称? 2443
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2524
删除部分微信用户个人数据的通知,怎么删除? 5574