[wordpress插件] Boopis WooCommerce RFQBoopis WooCommerce询价

wordpress 插件 文章 2020-03-09 07:30 502 0 全屏看文

AI助手支持GPT4.0

评分
72
描述

Sponsored by Attributio.

专家” rel =“ nofollow”>由Attributio赞助。

Can’t Track Your Conversions?

无法追踪您的转换?

We Can.

我们可以。

Meet Your Expert Today!

今天与您的专家见面!

Demo

演示

The Original RFQ Plugin For WordPress

WordPress的原始RFQ插件

Turning your online store into a lead generating machine has never been easier with the WooCommerce Request For Quotation Plugin for WordPress.

使用适用于WordPress的WooCommerce请求报价插件,将您的在线商店转变为销售线索的机器从未如此简单。

As competition increases with everyone selling the same products online, merchants are beginning to use ecommerce stores as a means to generate inquiries for custom quoted products.

随着每个人都在网上销售相同产品的竞争加剧,商家开始使用电子商务商店作为对定制报价产品进行查询的一种方式。

If you have restrictions from your manufacturer for published prices, this plugin in perfect for you to generate interest from potential customers, and turn them into sales.

如果制造商对发布的价格有限制,则此插件非常适合您吸引潜在客户的兴趣,并将其转化为销售。

If you sell expensive goods that requires negotiating prices, this plugin will help you start selling online.

如果您出售需要谈判价格的昂贵商品,则此插件将帮助您开始在线销售。

Turn all you products into quotable items or pick just a few and mix and match items that can be purchased online and items that need quotes.

将您所有的产品变成有报价的物品,或者只挑选其中几种,然后将可以在线购买的物品和需要报价的物品混合搭配。

All you need to do is change the price to zero, and presto, you’ve got a quotable item.

您需要做的就是将价格更改为零,然后,便有了一个报价项目。

Alernatively you can turn your products into quotable items based on product tags.

或者,您可以根据产品标签将产品变成可报价的商品。

Once the users click the inquire button, they are sent to a contact form where the product information is automatically filled into the form and you can define the fields that the customer needs to fill in. By reducing the amount of steps your online

用户单击“查询”按钮后,他们将被发送到联系表,产品信息将自动填写到该表中,您可以定义客户需要填写的字段。通过减少在线步骤数

users take, the better chance you have of converting them into customers.

用户抓住机会,将他们转化为客户的机会就更大。

Features

功能

    • Convert products into quotatable items with prices set to zero
    • 将产品转换为价格为零的配额表项目

    • Convert products into quotatable items based on tags
    • 根据标签将产品转换为配额表项目

    • Add multiple products to quotations request
    • 在报价请求中添加多种产品

    • Autofill logged in user’s information into quote request
    • 将用户信息自动填写到报价请求中

    • Transfer filled in data for quote request into an order
    • 将填写报价请求的数据转移到订单中

    • Create proposal to customer with emails and webviews of proposal
    • 使用提案的电子邮件和网络视图为客户创建提案

    • Adjust all the details of proposal with terms, expiration date, pricing, line items
    • 根据条款,有效期,价格,订单项调整提案的所有详细信息

    • Set auto emails for new, pending, expired, and failed quotes
    • 为新的,待处理的,过期的和失败的报价设置自动电子邮件

    • Copy and customize your own emails
    • 复制并自定义您自己的电子邮件

    • Allow customer to pay for proposal on your website through checkout
    • 允许客户通过结帐在您的网站上为提案付款

    • Translatable text
    • 可翻译文本

    Special Thanks For Contributions

    特别感谢您的贡献

    @kimoj for @kimoj 用于

    files-via-po/">reporting translation bug.

    files-via-po /“>报告翻译错误。

安装步骤

Ensure that you have WooCommerce installed.

确保已安装WooCommerce。

Then upload the contents via ftp or ssh to the file directory of your wordpress site under wp-content/plugins/

然后通过ftp或ssh将内容上载到wp-content / plugins / 下您的wordpress网站的文件目录中

Product Settings

产品设置

Once installed, change the price of the items you want displayed as quotable items to ZERO.

安装后,将要显示为报价的项目的价格更改为零。

You will notice that on the front end, your quotable item buttons have changed.

您会注意到,在前端,您引用的项目按钮已更改。

You can also choose to modify products based on tags in the settings menu.

您还可以在设置菜单中选择基于标签修改产品。

RFQ Page

RFQ页面

You can change the page where all quotation requests are made from the default under the settings menu.

您可以在设置菜单下更改从默认页面发出所有报价请求的页面。

Proposal Settings

投标设置

Add details under the terms meta box in the quote order to present terms for the proposal.

在报价单的“条款”元格框中添加详细信息,以显示提案的条款。

Add an expiration date that shows valididy of the proposal.

添加显示投标有效期的失效日期。

If the date exceeds, the expiration date, the user will not be able to move forward to pay based on the offer.

如果超过该日期(即到期日期),则用户将无法继续根据要约付款。

Hooks To Change Elements

要更改元素的钩子

RFQ Form

RFQ表格

    • RFQ Page product list heading

      RFQ页面产品列表标题

      add_filter(‘boopis_rfq_page_item_title’, ‘your_function_to_change_page_item_heading’);

      add_filter('boopis_rfq_page_item_title','your_function_to_change_page_item_heading');

    • RFQ Page details form heading

      RFQ页面详细信息表单标题

      add_filter(‘boopis_rfq_page_details_title’, ‘your_function_to_change_page_details_heading’);

      add_filter('boopis_rfq_page_details_title','your_function_to_change_page_details_heading');

    • RFQ Page when products have not been added to list

      未将产品添加到列表时的询价页面

      add_filter(‘boopis_rfq_page_empty_text’, ‘your_function_to_change_page_text’);

      add_filter('boopis_rfq_page_empty_text','your_function_to_change_page_text');

    more to come…

    更多未来……

    RFQ Emails

    RFQ电子邮件

    RFQ Proposal Page

    RFQ提案页面

    Modify / Remove / And Add New Form Fields

    修改/删除/添加新表单字段

    List of fields to modify (based on wc checkout):

    要修改的字段列表(基于wc签出):

    ['billing']['billing_first_name']

      ['billing'] ['billing_first_name']

    ['billing']['billing_last_name']

    ['billing'] ['billing_last_name']

    ['billing']['billing_company']

    ['billing'] ['billing_company']

    ['billing']['billing_address_1']

    ['billing'] ['billing_address_1']

    ['billing']['billing_address_2']

    ['billing'] ['billing_address_2']

    ['billing']['billing_city']

    ['billing'] ['billing_city']

    ['billing']['billing_postcode']

    ['billing'] ['billing_postcode']

    ['billing']['billing_country']

    ['billing'] ['billing_country']

    ['billing']['billing_state']

    ['billing'] ['billing_state']

    ['billing']['billing_email']

    ['billing'] ['billing_email']

    ['billing']['billing_phone']

    ['billing'] ['billing_phone']

    ['order']['order_comments']

    ['order'] ['order_comments']

    Modifying or removing existing fields

    修改或删除现有字段

    // Hook in to form

      //插入表单

    add_filter( 'boopis_rfq_form_fields' , 'custom_override_rfq_fields' );

    add_filter('boopis_rfq_form_fields','custom_override_rfq_fields');

    // Our hooked in function - $fields is passed via the filter!

    //我们的钩子函数-$ fields通过过滤器传递!

    function custom_override_rfq_fields( $fields ) {    

    函数custom_override_rfq_fields($ fields){    

    // Remove billing first and last name    

    //删除帐单的名字和姓氏    

    unset($fields['billing']['billing_first_name']);    

    unset($ fields ['billing'] ['billing_first_name']);    

    unset($fields['billing']['billing_last_name']);    

    unset($ fields ['billing'] ['billing_last_name']);    

    // Make phone number optional    

    //将电话号码设为可选    

    $fields['billing']['billing_phone']['required'] = false;    

    $ fields ['billing'] ['billing_phone'] ['required'] = false;    

    // Modify name and class of postcode    

    //修改邮政编码的名称和类别    

    $fields['billing']['billing_postcode'] = array(        

    $ fields ['billing'] ['billing_postcode'] = array(        

    'label' => __('Zip Code', 'woocommerce'),        

    '标签'=> __('邮政编码','woocommerce'),        

    'placeholder' => _x('Zip Code', 'placeholder', 'woocommerce'),        

    '占位符'=> _x('邮政编码','占位符','woocommerce'),        

    'required' => false,        

    'required'=>否,        

    'class' => array('form-row-wide'),        

    'class'=> array('form-row-wide'),        

    'clear' => true    

    '清除'=> true    

    );  

    );  

    return $fields;

    返回$ fields;

    }

    }

    Adding new custom fields

    添加新的自定义字段

    Add the new field

    添加新字段

    // Add new custom field

      //添加新的自定义字段

    add_action( 'boopis_rfq_after_order_notes', 'custom_select_referal_rfq' );

    add_action('boopis_rfq_after_order_notes','custom_select_referal_rfq');

    function custom_select_referal_rfq( $rfq ) {    

    函数custom_select_referal_rfq($ rfq){    

    woocommerce_form_field( 'referal', array(        

    woocommerce_form_field('referal',array(        

    'type' => 'select',        

    '类型'=>'选择',        

    'class' => array('form-row-wide'),        

    'class'=> array('form-row-wide'),        

    'label' => __('How did you hear about us?'),        

    'label'=> __('您如何得知我们的?'),        

    'required' => true,        

    'required'=>是,        

    'clear' => false,        

    '清除'=>否,        

    'options' => array(            

    '选项'=>数组(            

    '' => __('Select Option', 'boopis-woocommerce-rfq' ),            

    ''=> __('选择选项','boopis-woocommerce-rfq'),            

    'friend' => __('Friend', 'boopis-woocommerce-rfq' ),            

    '朋友'=> __('朋友','boopis-woocommerce-rfq'),            

    'coworker' => __('Coworker', 'boopis-woocommerce-rfq' )        

    '同事'=> __('同事','boopis-woocommerce-rfq')        

    ),    

    ),    

    ), $rfq->get_value( 'referal' ));

    ),$ rfq-> get_value('referal'));

    }

    }

    Validate the new field

    验证新字段

    // Validate new custom field

      //验证新的自定义字段

    add_action('boopis_rfq_process', 'custom_select_referal_rfq_process');

    add_action('boopis_rfq_process','custom_select_referal_rfq_process');

    function custom_select_referal_rfq_process() {  

    函数custom_select_referal_rfq_process(){  

    // Check if set, if its not set add an error.    

    //检查是否设置,如果未设置,则添加错误。    

    if ( empty($_POST['referal']) ) {        

    如果(空($ _POST ['referal'])){        

    wc_add_notice( __( 'You must select the referal field.' ), 'error' );    

    wc_add_notice(__('您必须选择推荐字段。'),'error');    

    }

    }

    }

    }

    Update the new field

    更新新字段

    // Update new custom field

      //更新新的自定义字段

    add_action( 'boopis_rfq_update_order_meta', 'custom_select_referal_update_order_meta' );

    add_action('boopis_rfq_update_order_meta','custom_select_referal_update_order_meta');

    function custom_select_referal_update_order_meta( $order_id ) {    

    函数custom_select_referal_update_order_meta($ order_id){    

    if ( ! empty( $_POST['referal'] ) ) {        

    if(!empty($ _POST ['referal'])){        

    update_post_meta( $order_id, 'Referal', sanitize_text_field( $_POST['referal'] ) );    

    update_post_meta($ order_id,'Referal',sanitize_text_field($ _POST ['referal']));    

    }

    }

    }

    }

    See WooCommerce Docs

    请参见 WooCommerce文档

    for more details.

    有关更多详细信息。

    Change redirect url

    更改重定向网址

    Add the shortcode [boopis_rfq] to your tahnk you page “My Page Name”

    将简短代码[boopis_rfq]添加到您的页面“我的页面名称”中

    // Change redirect url

      //更改重定向URL

    add_filter( 'boopis_rfq_redirect_url', 'my_custom_redirect_url' );

    add_filter('boopis_rfq_redirect_url','my_custom_redirect_url');

    function my_custom_redirect_url() {    

    函数my_custom_redirect_url(){    

    $page = get_page_by_title( 'My Page Name' );    

    $ page = get_page_by_title('我的页面名称');    

    return get_permalink( $page->ID );

    返回get_permalink($ page-> ID);

    }

    }

下载地址
https://downloads.wordpress.org/plugin/boopis-woocommerce-rfq.zip
-EOF-

AI助手支持GPT4.0