PluginProbe
Order Tracking – WordPress Status Tracking Plugin / 3.2.2
Order Tracking – WordPress Status Tracking Plugin v3.2.2
3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.3.0 3.3.1 3.3.10 3.3.11 3.3.12 3.3.13 3.3.14 3.3.15 All 235 releases
order-tracking / includes / AboutUs.class.php

AboutUs.class.php in Order Tracking – WordPress Status Tracking Plugin 3.2.2, at includes/AboutUs.class.php

264 lines 16.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class to create the 'About Us' submenu
4 */
5
6 if ( !defined( 'ABSPATH' ) )
7 exit;
8
9 if ( !class_exists( 'ewdotpAboutUs' ) ) {
10 class ewdotpAboutUs {
11
12 public function __construct() {
13
14 add_action( 'wp_ajax_ewd_otp_send_feature_suggestion', array( $this, 'send_feature_suggestion' ) );
15
16 add_action( 'admin_menu', array( $this, 'register_menu_screen' ) );
17 }
18
19 /**
20 * Adds About Us submenu page
21 * @since 3.2.0
22 */
23 public function register_menu_screen() {
24 global $ewd_otp_controller;
25
26 add_submenu_page(
27 'ewd-otp-orders',
28 esc_html__( 'About Us', 'order-tracking' ),
29 esc_html__( 'About Us', 'order-tracking' ),
30 $ewd_otp_controller->settings->get_setting( 'access-role' ),
31 'ewd-otp-about-us',
32 array( $this, 'display_admin_screen' )
33 );
34 }
35
36 /**
37 * Displays the About Us page
38 * @since 3.2.0
39 */
40 public function display_admin_screen() { ?>
41
42 <div class='ewd-otp-about-us-logo'>
43 <img src='<?php echo plugins_url( "../assets/img/ewd_new_logo_purple2.png", __FILE__ ); ?>'>
44 </div>
45
46 <div class='ewd-otp-about-us-tabs'>
47
48 <ul id='ewd-otp-about-us-tabs-menu'>
49
50 <li class='ewd-otp-about-us-tab-menu-item ewd-otp-tab-selected' data-tab='who_we_are'>
51 <?php _e( 'Who We Are', 'order-tracking' ); ?>
52 </li>
53
54 <li class='ewd-otp-about-us-tab-menu-item' data-tab='lite_vs_premium'>
55 <?php _e( 'Lite vs. Premium', 'order-tracking' ); ?>
56 </li>
57
58 <li class='ewd-otp-about-us-tab-menu-item' data-tab='getting_started'>
59 <?php _e( 'Getting Started', 'order-tracking' ); ?>
60 </li>
61
62 <li class='ewd-otp-about-us-tab-menu-item' data-tab='suggest_feature'>
63 <?php _e( 'Suggest a Feature', 'order-tracking' ); ?>
64 </li>
65
66 </ul>
67
68 <div class='ewd-otp-about-us-tab' data-tab='who_we_are'>
69
70 <p>
71 <strong>Founded in 2014, Etoile Web Design is a leading WordPress plugin development company. </strong>
72 Privately owned and located in Canada, our growing business is expanding in size and scope.
73 We have more than 50,000 active users across the world, over 2,000,000 total downloads, and our client based is steadily increasing every day.
74 Our reliable WordPress plugins bring a tremendous amount of value to our users by offering them solutions that are designed to be simple to maintain and easy to use.
75 Our plugins, like the <a href='https://www.etoilewebdesign.com/plugins/ultimate-product-catalog/?utm_source=admin_about_us' target='_blank'>Ultimate Product Catalog</a>, <a href='https://www.etoilewebdesign.com/plugins/order-tracking/?utm_source=admin_about_us' target='_blank'>Order Status Tracking</a>, <a href='https://www.etoilewebdesign.com/plugins/ultimate-faq/?utm_source=admin_about_us' target='_blank'>Ultimate FAQs</a> and <a href='https://www.etoilewebdesign.com/plugins/ultimate-reviews/?utm_source=admin_about_us' target='_blank'>Ultimate Reviews</a> are rich in features, highly customizable and responsive.
76 We provide expert support to all of our customers and believe in being a part of their success stories.
77 </p>
78
79 <p>
80 Our current team consists of web developers, marketing associates, digital designers and product support associates.
81 As a small business, we are able to offer our team flexible work schedules, significant autonomy and a challenging environment where creative people can flourish.
82 </p>
83
84 </div>
85
86 <div class='ewd-otp-about-us-tab ewd-otp-hidden' data-tab='lite_vs_premium'>
87
88 <p><?php _e( 'The premium version of the plugin includes a large number of features to enhance the tracking experience for your visitors and order management for you. These include new layout options, locations, custom fields, the ability to let customers submit their own orders and to require payment for orders.', 'order-tracking' ); ?></p>
89
90 <p><?php _e( 'Turn on the included <strong>WooCommerce tracking integration</strong> in the premium version to <strong>automatically create new orders</strong> in our plugin whenever someone checks out via your WooCommerce shop! With this you can provide WooCommerce order updates straight from within this plugin, allowing you to take advantage of the extra features available in our plugin, like custom fields, to provide specific info for your customers.', 'order-tracking' ); ?></p>
91
92 <p><?php _e( 'The premium version also comes with the ability to create <strong>customers and sales reps</strong> in the plugin, and then <strong>assign orders directly to them</strong>. This will make the browsing experience easier for your customers and the order management easier for you and your team.', 'order-tracking' ); ?></p>
93
94 <p><em><?php _e( 'The following table provides a comparison of the lite and premium versions.', 'order-tracking' ); ?></em></p>
95
96 <div class='ewd-otp-about-us-premium-table'>
97 <div class='ewd-otp-about-us-premium-table-head'>
98 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Feature', 'order-tracking' ); ?></div>
99 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Lite Version', 'order-tracking' ); ?></div>
100 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Premium Version', 'order-tracking' ); ?></div>
101 </div>
102 <div class='ewd-otp-about-us-premium-table-body'>
103 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Unlimited orders', 'order-tracking' ); ?></div>
104 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
105 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
106 </div>
107 <div class='ewd-otp-about-us-premium-table-body'>
108 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Order tracking form', 'order-tracking' ); ?></div>
109 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
110 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
111 </div>
112 <div class='ewd-otp-about-us-premium-table-body'>
113 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Create unlimited statuses and assign them orders', 'order-tracking' ); ?></div>
114 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
115 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
116 </div>
117 <div class='ewd-otp-about-us-premium-table-body'>
118 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Email verification for orders', 'order-tracking' ); ?></div>
119 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
120 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
121 </div>
122 <div class='ewd-otp-about-us-premium-table-body'>
123 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Customizable order and status update notifications', 'order-tracking' ); ?></div>
124 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
125 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
126 </div>
127 <div class='ewd-otp-about-us-premium-table-body'>
128 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Add public and private notes to orders', 'order-tracking' ); ?></div>
129 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
130 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
131 </div>
132 <div class='ewd-otp-about-us-premium-table-body'>
133 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Order print option', 'order-tracking' ); ?></div>
134 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
135 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
136 </div>
137 <div class='ewd-otp-about-us-premium-table-body'>
138 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Date format and timezone settings', 'order-tracking' ); ?></div>
139 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
140 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
141 </div>
142 <div class='ewd-otp-about-us-premium-table-body'>
143 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'WooCommerce integration', 'order-tracking' ); ?></div>
144 <div class='ewd-otp-about-us-premium-table-cell'></div>
145 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
146 </div>
147 <div class='ewd-otp-about-us-premium-table-body'>
148 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Assign orders to customers', 'order-tracking' ); ?></div>
149 <div class='ewd-otp-about-us-premium-table-cell'></div>
150 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
151 </div>
152 <div class='ewd-otp-about-us-premium-table-body'>
153 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Assign orders to sales reps', 'order-tracking' ); ?></div>
154 <div class='ewd-otp-about-us-premium-table-cell'></div>
155 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
156 </div>
157 <div class='ewd-otp-about-us-premium-table-body'>
158 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Create locations to associate with orders and statuses', 'order-tracking' ); ?></div>
159 <div class='ewd-otp-about-us-premium-table-cell'></div>
160 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
161 </div>
162 <div class='ewd-otp-about-us-premium-table-body'>
163 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Advanced layout and styling options', 'order-tracking' ); ?></div>
164 <div class='ewd-otp-about-us-premium-table-cell'></div>
165 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
166 </div>
167 <div class='ewd-otp-about-us-premium-table-body'>
168 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'PayPal integration for order payment', 'order-tracking' ); ?></div>
169 <div class='ewd-otp-about-us-premium-table-cell'></div>
170 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
171 </div>
172 <div class='ewd-otp-about-us-premium-table-body'>
173 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Custom fields for orders', 'order-tracking' ); ?></div>
174 <div class='ewd-otp-about-us-premium-table-cell'></div>
175 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
176 </div>
177 <div class='ewd-otp-about-us-premium-table-body'>
178 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Customer order form', 'order-tracking' ); ?></div>
179 <div class='ewd-otp-about-us-premium-table-cell'></div>
180 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
181 </div>
182 <div class='ewd-otp-about-us-premium-table-body'>
183 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Google reCAPTCHA for the customer order form', 'order-tracking' ); ?></div>
184 <div class='ewd-otp-about-us-premium-table-cell'></div>
185 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
186 </div>
187 <div class='ewd-otp-about-us-premium-table-body'>
188 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Export orders to spreadsheet', 'order-tracking' ); ?></div>
189 <div class='ewd-otp-about-us-premium-table-cell'></div>
190 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
191 </div>
192 <div class='ewd-otp-about-us-premium-table-body'>
193 <div class='ewd-otp-about-us-premium-table-cell'><?php _e( 'Import for bulk updating or order creation', 'order-tracking' ); ?></div>
194 <div class='ewd-otp-about-us-premium-table-cell'></div>
195 <div class='ewd-otp-about-us-premium-table-cell'><img src="<?php echo plugins_url( '../assets/img/dash-asset-checkmark.png', __FILE__ ); ?>"></div>
196 </div>
197 </div>
198
199 <?php printf( __( '<a href="%s" target="_blank" class="ewd-otp-about-us-tab-button ewd-otp-about-us-tab-button-purchase">Buy Premium Version</a>', 'order-tracking' ), 'https://www.etoilewebdesign.com/license-payment/?Selected=OTP&Quantity=1&utm_source=admin_about_us' ); ?>
200
201 </div>
202
203 <div class='ewd-otp-about-us-tab ewd-otp-hidden' data-tab='getting_started'>
204
205 <p><?php _e( 'The walk-though that ran when you first activated the plugin offers a quick way to get started with setting it up. If you would like to run through it again, just click the button below', 'order-tracking' ); ?></p>
206
207 <?php printf( __( '<a href="%s" class="ewd-otp-about-us-tab-button ewd-otp-about-us-tab-button-walkthrough">Re-Run Walk-Through</a>', 'order-tracking' ), admin_url( '?page=ewd-otp-getting-started' ) ); ?>
208
209 <p><?php _e( 'We also have a series of video tutorials that cover the available settings as well as key features of the plugin.', 'order-tracking' ); ?></p>
210
211 <?php printf( __( '<a href="%s" target="_blank" class="ewd-otp-about-us-tab-button ewd-otp-about-us-tab-button-youtube">YouTube Playlist</a>', 'order-tracking' ), 'https://www.youtube.com/playlist?list=PLEndQUuhlvSqa6Txwj1-Ohw8Bj90CIRl0' ); ?>
212
213
214 </div>
215
216 <div class='ewd-otp-about-us-tab ewd-otp-hidden' data-tab='suggest_feature'>
217
218 <div class='ewd-otp-about-us-feature-suggestion'>
219
220 <p><?php _e( 'You can use the form below to let us know about a feature suggestion you might have.', 'order-tracking' ); ?></p>
221
222 <textarea placeholder="<?php _e( 'Please describe your feature idea...', 'order-tracking' ); ?>"></textarea>
223
224 <br>
225
226 <input type="email" name="feature_suggestion_email_address" placeholder="<?php _e( 'Email Address', 'order-tracking' ); ?>">
227
228 </div>
229
230 <div class='ewd-otp-about-us-tab-button ewd-otp-about-us-send-feature-suggestion'>Send Feature Suggestion</div>
231
232 </div>
233
234 </div>
235
236 <?php }
237
238 /**
239 * Sends the feature suggestions submitted via the About Us page
240 * @since 3.2.0
241 */
242 public function send_feature_suggestion() {
243 global $ewd_otp_controller;
244
245 if (
246 ! check_ajax_referer( 'ewd-otp-admin-js', 'nonce' )
247 ||
248 ! current_user_can( $ewd_otp_controller->settings->get_setting( 'access-role' ) )
249 ) {
250 ewdotpHelper::admin_nopriv_ajax();
251 }
252
253 $headers = 'Content-type: text/html;charset=utf-8' . "\r\n";
254 $feedback = sanitize_text_field( $_POST['feature_suggestion'] );
255 $feedback .= '<br /><br />Email Address: ';
256 $feedback .= sanitize_email( $_POST['email_address'] );
257
258 wp_mail( 'contact@etoilewebdesign.com', 'OTP Feature Suggestion', $feedback, $headers );
259
260 die();
261 }
262
263 }
264 } // endif;