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

wordpress 插件 文章 2020-03-02 11:50 551 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插件] Contact Form 7 Serial Numbers联系表7序列号
[wordpress插件] bbPress New TopicsbbPress新主题
[wordpress插件] danixland-countdown丹尼克斯兰倒计时
[wordpress插件] Comment Gatekeeper评论关守
[wordpress插件] Content Shelf Shopping Cart内容架购物车
随便看看
微信开放平台跟公众平台有什么区别? 3608
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472