PluginProbe
Whols – Wholesale Prices and B2B Store Solution for WooCommerce / trunk
Whols – Wholesale Prices and B2B Store Solution for WooCommerce vtrunk
2.4.12 2.4.11 trunk 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 All 55 releases
whols / includes / Admin / defaults.php

defaults.php in Whols – Wholesale Prices and B2B Store Solution for WooCommerce trunk, at includes/Admin/defaults.php

124 lines 5.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 return array(
3 'success_message' => esc_html__( 'Your message has been submitted successfully. We will get back to you soon.', 'whols' ),
4 'submit_button_label' => esc_html__( 'Submit', 'whols' ),
5 'raq_data_defaults' => array(
6 'sendar' => '',
7 'sendar_type' => '',
8 'name' => '',
9 'email' => '',
10 'message' => '',
11 'time' => '',
12 'products' => '',
13 ),
14
15 'raq_fields' => array(
16 'name' => array(
17 'type' => 'text',
18 'label' => esc_html__( 'Name', 'whols' ),
19 'placeholder' => esc_html__( 'Enter your name', 'whols' ),
20 'required' => true,
21 'class' => array('whols-form-row'),
22 'label_class' => array('label_classs'),
23 'input_class' => array('input_classs'),
24 'custom_attributes' => array('required' => 'required'),
25 ),
26 'email' => array(
27 'type' => 'email',
28 'label' => esc_html__( 'Email', 'whols' ),
29 'placeholder' => esc_html__( 'Enter your email', 'whols' ),
30 'required' => true,
31 'class' => array('whols-form-row'),
32 'label_class' => array('label_classs'),
33 'input_class' => array('input_classs'),
34 'custom_attributes' => array(
35 'required' => 'required',
36 'pattern' => '[a-z0-9._%+\-]+@[a-z0-9.\-]+\.[a-z]{2,}$'
37 ),
38 ),
39 'subject' => array(
40 'type' => 'text',
41 'label' => esc_html__( 'Subject', 'whols' ),
42 'placeholder' => esc_html__( 'Enter your subject', 'whols' ),
43 'required' => true,
44 'class' => array('whols-form-row'),
45 'label_class' => array('label_classs'),
46 'input_class' => array('input_classs'),
47 'custom_attributes' => array('required' => 'required'),
48 ),
49 'products_data' => array(
50 'type' => 'hidden',
51 'label' => esc_html__( 'Products', 'whols' ),
52 'class' => array('whols-form-row type--hidden'),
53 'label_class' => array('label_classs'),
54 'input_class' => array('input_classs'),
55 ),
56 'message' => array(
57 'type' => 'textarea',
58 'label' => esc_html__( 'Message', 'whols' ),
59 'placeholder' => esc_html__( 'Enter your message', 'whols' ),
60 'required' => true,
61 'class' => array('whols-form-row'),
62 'label_class' => array('label_classs'),
63 'input_class' => array('input_classs'),
64 'custom_attributes' => array('required' => 'required'),
65 ),
66 ),
67
68 'global_settings' => array(
69 'pricing_model' => 'single_role',
70 'price_type_1_properties' => array(
71 'enable_this_pricing' => '',
72 'price_type' => 'flat_rate',
73 'price_value' => '',
74 'minimum_quantity' => '',
75 ),
76 'price_type_2_properties' => array(
77 'whols_default_role__enable_this_pricing' => '',
78 'whols_default_role__price_type' => 'flat_rate',
79 'whols_default_role__price_value' => '',
80 'whols_default_role__minimum_quantity' => '',
81 ),
82 'retailer_price_options' => array(
83 'hide_retailer_price' => '',
84 'retailer_price_custom_label' => '',
85 ),
86 'wholesaler_price_options' => array(
87 'hide_wholesaler_price' => '',
88 'wholesaler_price_custom_label' => '',
89 ),
90 'discount_label_options' => array(
91 'hide_discount_percent' => '',
92 'discount_percent_custom_label' => ''
93 ),
94 'lgoin_to_see_price_label' => '',
95 'auto_apply_minimum_quantity' => 0,
96 'hide_wholesale_only_products_from_other_customers' => '',
97 'hide_general_products_from_wholesalers' => '',
98 'default_wholesale_role' => 'whols_default_role',
99 'enable_auto_approve_customer_registration' => '',
100 'registration_successful_message_for_auto_approve' => 'Thank you for registering.',
101 'registration_successful_message_for_manual_approve' => 'Thank you for registering. Your account will be reviewed by us & approve manually. Please wait to be approved.',
102 'redirect_page_customer_registration' => '',
103 'redirect_page_customer_login' => '',
104 'hide_price_for_guest_users' => '',
105 'enable_website_restriction' => '',
106 'who_can_access_shop' => 'everyone',
107 'who_can_access_entire_website' => 'everyone',
108 'disable_coupon_for_wholesale_customers' => '',
109 'disable_specific_payment_gateway_for_wholesale_customers' => '',
110 'allow_free_shipping_for_wholesale_customers' => '',
111
112 'show_wholesale_price_for' => 'only_wholesalers',
113 'exclude_tax_for_wholesale_customers' => '',
114 'enable_wholesale_store' => '1',
115 'registration_notification_recipients' => '',
116 'enable_wholesale_price_quick_edit' => true,
117
118 // Request a quote
119 'enable_request_a_quote' => false,
120 'request_a_quote_label' => '',
121 'create_conversation_when_request_a_quote' => false,
122
123 )
124 );