PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / trunk
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell vtrunk
3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 2.8.17 2.8.18 2.8.19 All 258 releases
wpfunnels / admin / modules / funnels / views / view.php

view.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell trunk, at admin/modules/funnels/views/view.php

961 lines 72.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * This code snippet will check if pro addons is activated or not. if not activated
5 * Total number of funnels will be maximum 3, otherwise customer can add as more funnels
6 * As they want
7 *
8 * @package
9 */
10 $is_pro_active = apply_filters( 'wpfunnels/is_pro_license_activated', false );
11 $count_funnels = \WPFunnels\Wpfnl_functions::count_non_store_checkout_funnels();
12 $total_allowed_funnels = 3;
13 $is_limit_reached = ($count_funnels >= 3);
14
15 if ( $is_pro_active ) {
16 $total_allowed_funnels = -1;
17 }
18
19 $is_wc = \WPFunnels\Wpfnl_functions::is_wc_active();
20 $is_lms = \WPFunnels\Wpfnl_functions::is_lms_addon_active();
21 $is_mint_pro_active = \WPFunnels\Wpfnl_functions::is_mint_mrm_active();
22
23 $is_wc_installed = 'no';
24 $is_lms_installed = 'no';
25 $puglins = get_plugins();
26
27 if ( isset( $puglins['woocommerce/woocommerce.php']) ) {
28 $is_wc_installed = 'yes';
29 }
30
31 if ( isset( $puglins['wpfunnels-pro-lms/wpfunnels-pro-lms.php']) ) {
32 $is_lms_installed = 'yes';
33 }
34 $trash_redirect_link = add_query_arg(
35 [
36 'page' => WPFNL_TRASH_FUNNEL_SLUG,
37 ],
38 admin_url('admin.php')
39 );
40
41 $live_redirect_link = add_query_arg(
42 [
43 'page' => WPFNL_FUNNEL_PAGE_SLUG,
44 ],
45 admin_url('admin.php')
46 );
47 ?>
48
49
50 <div class="wpfnl">
51 <div class="wpfnl-dashboard">
52 <nav class="wpfnl-dashboard__nav">
53 <?php use WPFunnels\Wpfnl_functions;
54 require_once WPFNL_DIR . '/admin/partials/dashboard-nav.php'; ?>
55 </nav>
56
57 <div class="dashboard-nav__content">
58
59 <div id="templates-library"></div>
60
61 <div class="import-funnel-modal">
62 <div class="import-funnel-modal-inner">
63 <div class="import-funnel-modal-wrapper">
64 <h4 class="import-funnel-modal-title"><?php echo __('Import Funnel','wpfnl') ?></h4>
65
66 <button class="close-modal" type="button">
67 <?php require_once WPFNL_DIR . '/admin/partials/icons/cross-icon.php'; ?>
68 </button>
69
70 <form id="wpfnl-import-funnels" name="form-import" method="post" enctype="multipart/form-data" action >
71
72 <input id="wpfnl-file-import" name="import-data" type="file" title=" " accept="application/JSON"/>
73
74 <label for="wpfnl-file-import" class="import-label">
75 <span class="upload-icon">
76 <svg width="25" height="25" fill="none" viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M18.557 8.628a6.242 6.242 0 00-12.11-.007 6.25 6.25 0 00.586 12.472h2.344a.781.781 0 100-1.562H7.033a4.688 4.688 0 01-.027-9.375.81.81 0 00.86-.667 4.68 4.68 0 019.266 0 .844.844 0 00.839.667 4.687 4.687 0 110 9.375h-2.344a.781.781 0 100 1.562h2.344a6.25 6.25 0 00.586-12.465z"/><path fill="#fff" d="M15.852 15.396a.781.781 0 001.105-1.105l-3.906-3.906a.781.781 0 00-1.105 0L8.04 14.291a.781.781 0 001.104 1.105l2.573-2.573v9.833a.781.781 0 101.563 0v-9.833l2.572 2.573z"/></svg>
77 </span>
78 <span class="upload-success-icon">
79 <svg width="25" height="25" fill="none" viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1138_1680)"><path fill="#fff" stroke="#239654" stroke-width="2" d="M24.268 7.675L11.079 20.863a2.503 2.503 0 01-3.538 0L.733 14.054a2.502 2.502 0 013.538-3.538l5.04 5.04 11.418-11.42a2.502 2.502 0 013.539 3.54z"/></g><defs><clipPath id="clip0_1138_1680"><path fill="#fff" d="M0 0h25v25H0z"/></clipPath></defs></svg>
80 </span>
81
82 <h4><?php echo __('Drag & Drop or ', 'wpfnl'); ?><span class="primary-color"><?php echo __('Choose file ', 'wpfnl'); ?></span> <?php echo __('to upload.', 'wpfnl'); ?></h4>
83 <p><?php echo __('Supported formats: JSON file.', 'wpfnl'); ?></p>
84 </label>
85
86 <span class="hints" id="wpfnl-export-import-warning" style="display:none; color: #d63638 !important" ><?php echo __('Please select a valid file.', 'wpfnl'); ?></span>
87
88 <div class="button-area">
89 <button class="btn-default close-modal cancel" type="button">
90 <?php echo __('Cancel', 'wpfnl'); ?>
91 </button>
92
93 <button id="wpfnl-import-funnel" class="btn-default" type="submit">
94 <?php echo __('Import', 'wpfnl'); ?>
95 <span class="wpfnl-loader"></span>
96 </button>
97 </div>
98 </form>
99 </div>
100 </div>
101 </div>
102
103
104 <div class="wpfnl-dashboard__header overview-header">
105 <div class="wpfnl-dashboard-header-left <?php echo 'trash_funnels' == $_GET['page'] ? 'trash-funnels-header' : ''; ?>">
106 <?php //if( isset($_GET['page']) && 'wp_funnels' === $_GET['page'] ) : ?>
107 <div class="wpfnl-dashboard-links-wrapper">
108 <a href="<?php echo $live_redirect_link ?>" class="wpfnl-all-funnels <?php echo 'wp_funnels' == $_GET['page'] ? 'active' : ''; ?> ">
109 <span> <?php
110 echo __('Live', 'wpfnl');
111 ?> </span>
112 <span class="wpfnl-count"><?php
113 echo $this->total_live_funnel;
114 ?></span>
115 </a>
116 <a href="<?php echo $trash_redirect_link ?>" class="wpfnl-trash-all-funnels <?php echo 'wp_funnels' !== $_GET['page'] ? 'active' : ''; ?>">
117 <span> <?php
118 echo __('Trash', 'wpfnl');
119 ?></span>
120 <span class="wpfnl-count"><?php
121 echo $this->total_trash_funnel;
122 ?></span>
123 </a>
124 </div>
125 <?php if (count($this->funnels) || !empty($_GET['s'])) { ?>
126 <form class="funnel-search" method="get">
127 <?php
128 $s = '';
129 if (isset($_GET['s'])) {
130 $s = sanitize_text_field( $_GET['s'] );
131 }
132 ?>
133
134 <div class="search-group">
135 <input name="page" type="hidden" value="<?php echo 'trash_funnels' != sanitize_text_field( $_GET['page']) ? WPFNL_FUNNEL_PAGE_SLUG : WPFNL_TRASH_FUNNEL_SLUG; ?>">
136 <?php require_once WPFNL_DIR . '/admin/partials/icons/search-icon.php'; ?>
137 <input name="s" type="text" value="<?php echo esc_attr($s); ?>" placeholder="<?php echo __('Search for a funnel...', 'wpfnl'); ?>">
138 </div>
139 </form>
140 <?php } ?>
141 </div>
142
143
144 <!-- Export import -->
145 <?php if ( (count($this->funnels) || !empty($_GET['s'])) && isset($_GET['page']) && 'trash_funnels' != sanitize_text_field( $_GET['page'] ) ) : ?>
146 <a href="#" class="import-export wpfnl-export-all-funnels">
147 <?php
148 require WPFNL_DIR . '/admin/partials/icons/export-icon.php';
149 echo __('Export All', 'wpfnl');
150 ?>
151 </a>
152
153 <a href="#" class="import-export <?php echo ( $is_limit_reached && !$is_pro_active ) ? 'wpfnl-import-funnels-limit-reached' : 'wpfnl-import-funnels'; ?>">
154 <?php
155 if ( $is_limit_reached && !$is_pro_active ) {
156 require WPFNL_DIR . '/admin/partials/icons/lock-icon.php';
157 } else {
158 require WPFNL_DIR . '/admin/partials/icons/import-icon.php';
159 }
160 echo __('Import', 'wpfnl');
161 ?>
162 </a>
163 <?php endif; ?>
164
165
166 <?php
167 if( (count($this->funnels) || !empty($_GET['s'] )) && isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){
168 ?>
169 <?php
170 $classes = 'btn-default add-new-funnel-btn';
171 if ( $is_limit_reached && !$is_pro_active ) {
172 $classes .= ' disabled';
173 }
174 ?>
175
176 <a href="#" class="<?php echo esc_attr($classes); ?>">
177 <?php
178 if ( $is_limit_reached && !$is_pro_active ) {
179 require WPFNL_DIR . '/admin/partials/icons/lock-icon.php';
180 } else {
181 require WPFNL_DIR . '/admin/partials/icons/plus-icon.php';
182 }
183
184 echo esc_html__('Add new Funnel', 'wpfnl');
185 ?>
186 </a>
187
188 <?php
189 $ai_funnel_url = esc_url_raw(
190 add_query_arg(
191 array(
192 'page' => WPFNL_AI_FUNNEL_PAGE_SLUG,
193 ),
194 admin_url( 'admin.php' )
195 )
196 );
197 ?>
198
199 <?php
200 /**
201 * Hook to add additional buttons after the "Add new Funnel" button
202 * Used by WPFunnels Pro to add the "Create with AI" button
203 *
204 * @since 3.1.7
205 */
206 do_action( 'wpfunnels/after_funnel_list_header' );
207 ?>
208
209 <?php
210 }
211
212 ?>
213 </div>
214 <?php if ( $is_limit_reached && !$is_pro_active ) : ?>
215 <!-- upgrader to pro -->
216 <div class="upgrade-to-pro">
217 <div class="upgrade-to-pro-wrapper">
218 <div class="warning-icon-wrapper">
219 <span class="warning-icon">
220 <?php
221 require WPFNL_DIR . '/admin/partials/icons/warning-icon.php';
222 ?>
223 </span>
224 </div>
225 <div class="upgrade-to-pro-content">
226 <div class="upgrade-to-pro-message">
227 <h3>You have hit the limit! Upgrade to Pro for unlimited funnels!</h3>
228
229 <p>You are using the free version of WPFunnels which allows you to create up to 3 funnels. To build more funnels, either move one funnel to trash or Upgrade to Pro.</p>
230 </div>
231 </div>
232 <div class="upgrade-to-pro-action">
233 <a href="https://getwpfunnels.com/pricing/" target="_blank" class="btn-upgrade-to-pro">Upgrade to Pro</a>
234 </div>
235 </div>
236 </div>
237 <?php endif; ?>
238
239 <div class="wpfnl-dashboard__inner-content <?php echo count($this->funnels) ? '' : 'no-funnel' ?>">
240 <div class="funnel-list__wrapper">
241 <?php if (count($this->funnels)) { ?>
242 <div class="funnel__single-list list-header">
243 <div class="bulk-action-wrapper">
244 <p>
245 <span class="selected-funnel-count"><?php echo __('2 Funnel', 'wpfnl')?></span>
246 <?php echo __('Seleted', 'wpfnl')?>
247 </p>
248
249 <button class="btn-default bulk-delete-toggler">
250 <?php echo __('Bulk Actions', 'wpfnl'); ?>
251 <svg width="8" height="6" fill="none" viewBox="0 0 8 6" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" stroke="#fff" stroke-width=".2" d="M4 5.28a.559.559 0 01-.396-.164l-3.44-3.44A.56.56 0 11.956.884L4 3.928 7.044.884a.56.56 0 01.792.792l-3.44 3.44A.559.559 0 014 5.28z"/></svg>
252
253 <?php if ( isset($_GET['page']) && 'trash_funnels' === sanitize_text_field( $_GET['page'] ) ) { ?>
254 <ul class="wpfnl-dropdown">
255
256 <li>
257 <a href="#" class="delete wpfnl-bulk-restore" id="funnel__bulk-restore" title="Restore Funnel">
258 <?php require WPFNL_DIR . '/admin/partials/icons/restore-icon.php'; ?>
259 <?php echo __('Restore', 'wpfnl'); ?>
260 </a>
261 </li>
262 <li>
263 <a href="#" class="delete wpfnl-bulk-delete" id="funnel__bulk-delete" title="Delete Funnel">
264 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
265 <?php echo __('Delete', 'wpfnl'); ?>
266 </a>
267 </li>
268 </ul>
269 <?php
270 }else{
271 ?>
272 <ul class="wpfnl-dropdown">
273 <?php if ($is_pro_active && defined('WPFNL_PRO_VERSION') && version_compare( WPFNL_PRO_VERSION, "1.9.3", ">=" ) ) { ?>
274 <li>
275 <a href="#" class="wpfnl-bulk-export">
276 <?php require WPFNL_DIR . '/admin/partials/icons/export-icon.php'; ?>
277 <?php echo __('Bulk Export', 'wpfnl'); ?>
278 </a>
279 </li>
280 <?php
281 }
282 ?>
283 <li>
284 <a href="#" class="delete wpfnl-bulk-trash" id="funnel__bulk-trash" title="Trash Funnel">
285 <?php require WPFNL_DIR . '/admin/partials/icons/trash-icon.php'; ?>
286 <?php echo __('Trash', 'wpfnl'); ?>
287 </a>
288 </li>
289 </ul>
290 <?php
291 }
292 ?>
293 </button>
294 </div>
295
296 <div class="funnel-list__bulk-action">
297 <?php
298 if (count($this->funnels) > 0) {
299 ?>
300 <div class="funnel-list__bulk-select select-all-funnels" >
301 <span class="wpfnl-checkbox no-title">
302 <input type="checkbox" name="funnel-list__bulk-select" id="funnel-list__bulk-select">
303 <label for="funnel-list__bulk-select"></label>
304 </span>
305 </div>
306 <?php
307 }
308 ?>
309 </div>
310 <div class="list-cell wpfnl-name"><?php echo __('Name', 'wpfnl'); ?></div>
311 <?php if($is_pro_active){ ?>
312 <div class="list-cell wpfnl-intigrations"><?php echo __('Integration', 'wpfnl'); ?></div>
313 <?php } ?>
314 <div class="list-cell wpfnl-creation-date"><?php echo __('Creation Date', 'wpfnl'); ?></div>
315 <div class="list-cell wpfnl-status"><?php echo __('Status', 'wpfnl'); ?></div>
316 <div class="list-cell list-action"><?php echo __('Action', 'wpfnl'); ?></div>
317 </div>
318
319 <?php
320 foreach ($this->funnels as $funnel) {
321 $funnel_id = $funnel->get_id();
322 $edit_link = add_query_arg(
323 [
324 'page' => WPFNL_EDIT_FUNNEL_SLUG,
325 'id' => $funnel_id,
326 'step_id' => $funnel->get_first_step_id(),
327 ],
328 admin_url('admin.php')
329 );
330 $isAutomationEnable = get_post_meta( $funnel_id, 'is_automation_enabled', true );
331 $isAutomationData = get_post_meta( $funnel_id,'funnel_automation_data',true);
332 $isGbfInstalled = Wpfnl_functions::is_global_funnel_activated();
333 $start_condition = get_post_meta( $funnel_id, 'global_funnel_start_condition', true );
334 $builder = Wpfnl_functions::get_page_builder_by_step_id($funnel_id);
335 $utm_settings = Wpfnl_functions::get_funnel_utm_settings( $funnel_id );
336 $is_mint_automation = Wpfnl_functions::maybe_automation_exist_for_a_funnel( $funnel_id );
337 $funnel_status = 'publish' === get_post_status( $funnel_id ) ? 'Draft': 'Publish';
338 $isGbf = get_post_meta( $funnel_id, 'is_global_funnel', true );
339 $_type = get_post_meta( $funnel_id, '_wpfnl_funnel_type', true );
340
341 if( 'lead' == $_type ){
342 $funnel_type = __('Lead', 'wpfnl');
343 }elseif( 'lms' == $_type ){
344 $funnel_type = __('LMS', 'wpfnl');
345 }else{
346 if( defined('WC_PLUGIN_FILE') ){
347 $funnel_type = __('Woo', 'wpfnl');
348 $_type = 'wc';
349 }else{
350 $funnel_type = __('Lead', 'wpfnl');
351 $_type = 'lead';
352 }
353 }
354 Wpfnl_functions::generate_first_step( $funnel_id );
355 $first_step_id = Wpfnl_functions::get_first_step( $funnel_id );
356
357 // Fallback for existing users' existing funnel
358 // For new funnel, this condition should not trigger
359 if( !$first_step_id ) {
360 Wpfnl_functions::generate_first_step( $funnel_id );
361 $first_step_id = Wpfnl_functions::get_first_step( $funnel_id );
362 }
363
364 if ($first_step_id) {
365 $view_link = apply_filters( 'wpfunnels/modify_funnel_view_link', get_the_permalink( $first_step_id ), $first_step_id, $funnel_id );
366
367 } else {
368 $view_link = '#';
369 }
370
371 if($utm_settings['utm_enable'] == 'on') {
372 unset($utm_settings['utm_enable']);
373 $view_link = add_query_arg($utm_settings,$view_link);
374 $view_link = strtolower($view_link);
375 }
376 if( 'wc' == $_type && !$is_wc ){
377 echo '<div class="funnel__single-list list-body funnel-disabled" title="'.__('To run/edit this funnel, please Activate WooCommerce.', 'wpfnl').'">';
378 }elseif( 'lms' == $_type && !$is_lms ){
379 echo '<div class="funnel__single-list list-body funnel-disabled" title="'.__('To run/edit this funnel, please Activate LearnDash & WPFunnels Pro - LMS Funnel', 'wpfnl').'">';
380 }else{
381 echo '<div class="funnel__single-list list-body">';
382 }
383 ?>
384 <div class="funnel-list__bulk-action">
385 <span class="wpfnl-checkbox no-title">
386 <input type="checkbox" name="funnel-list-select" id="funnel-list<?php echo $funnel->get_id(); ?>-select" data-id="<?php echo $funnel->get_id(); ?>">
387 <label for="funnel-list<?php echo $funnel->get_id(); ?>-select"></label>
388 </span>
389 </div>
390
391 <div class="list-cell wpfnl-name">
392 <?php if( $builder ){ ?>
393 <span class="builder-logo" title="<?php echo str_replace('-',' ',ucfirst($builder));?>">
394 <?php include WPFNL_DIR . '/admin/partials/icons/'.$builder.'.php'; ?>
395 </span>
396
397 <?php } else{ ?>
398 <span class="builder-logo" title="<?php echo __('No Builder Found', 'wpfnl') ?>">
399 </span>
400 <?php } ?>
401 <?php if( ('wc' == $_type && !$is_wc) || ('lms' == $_type && !$is_lms) ){ ?>
402 <a href="#" class="name disabled"> <?php echo $funnel->get_funnel_name() ?></a>
403 <?php }else{
404 $edit_funnel_url = isset($_GET['page']) && 'trash_funnels' === sanitize_text_field( $_GET['page'] ) ? '#' : esc_url_raw($edit_link);
405 ?>
406 <a href="<?php echo $edit_funnel_url; ?>" class="name"> <?php echo $funnel->get_funnel_name() ?></a>
407 <?php } ?>
408
409 <span class="steps">
410 <?php echo $funnel->get_total_steps(). ' '. Wpfnl_functions::get_formatted_data_with_phrase($funnel->get_total_steps(), 'step', 'steps'); ?> <?php echo ' - '.$funnel_type ?>
411 </span>
412
413 </div>
414
415 <?php if($is_pro_active){ ?>
416 <div class="list-cell wpfnl-intigrations">
417 <?php if ( $is_pro_active && $is_mint_pro_active ) { ?>
418 <?php if( !empty($is_mint_automation) ) { ?>
419 <span class="automation-tag automation-active">
420 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-green.php'; ?>
421 <?php echo __('Mail Mint','wpfnl') ?>
422 <span class="tooltip"><?php echo __('Mail mint automation is created for this funnel.','wpfnl') ?></span>
423 </span>
424 <?php }else{ ?>
425 <span class="automation-tag automation-inactive">
426 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-gray.php'; ?>
427 <?php echo __('Mail Mint','wpfnl') ?>
428 <span class="tooltip"><?php echo __('Mail mint automation is not created for this funnel.','wpfnl') ?></span>
429 </span>
430 <?php } ?>
431 <?php } ?>
432
433 <?php if ($is_pro_active ) { ?>
434 <?php if( !empty($isAutomationData) ) { ?>
435 <span class="automation-tag automation-active">
436 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-green.php'; ?>
437 <?php echo __('Integration','wpfnl') ?>
438 <span class="tooltip"><?php echo __('Integration is set for this funnel.','wpfnl') ?></span>
439 </span>
440 <?php }else{ ?>
441 <span class="automation-tag automation-inactive">
442 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-gray.php'; ?>
443 <?php echo __('Integration','wpfnl') ?>
444 <span class="tooltip"><?php echo __('Integration is not set for this funnel.','wpfnl') ?></span>
445 </span>
446 <?php } ?>
447
448 <?php } ?>
449
450 <?php if ($isGbfInstalled) { ?>
451 <?php if( $isGbf == 'yes' && !empty($start_condition) ) { ?>
452 <span class="automation-tag automation-active">
453 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-green.php'; ?>
454 <?php echo __('Global funnel','wpfnl') ?>
455 <span class="tooltip"><?php echo __('Global funnel is set for this funnel.','wpfnl') ?></span>
456 </span>
457 <?php } elseif( $isGbf == 'yes' && !$start_condition ){ ?>
458 <span class="automation-tag automation-inactive">
459 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-warning.php'; ?>
460 <?php echo __('Global funnel','wpfnl') ?>
461 <span class="tooltip"><?php echo __('Opps.. It looks like you did not set any condition for global funnel.','wpfnl') ?></span>
462 </span>
463 <?php } else{ ?>
464 <span class="automation-tag automation-inactive">
465 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-gray.php'; ?>
466 <?php echo __('Global funnel','wpfnl') ?>
467 <span class="tooltip"><?php echo __('Global funnel is not set for this funnel.','wpfnl') ?></span>
468 </span>
469 <?php } ?>
470 <?php } ?>
471
472 <?php if(WPFNL_IS_REMOTE) {?>
473 <div class="builder-type">
474 <?php
475 $builders = wp_get_post_terms( $funnel->get_id(), 'template_builder', array( 'fields' => 'all' ) );
476 if($builders) {
477 foreach ($builders as $builder) {
478 echo "<span>{$builder->name}</span>";
479 }
480 }
481 ?>
482 </div>
483 <?php } ?>
484 </div>
485 <?php } ?>
486
487 <div class="list-cell wpfnl-creation-date">
488 <span class="post-date"><?php echo $funnel->get_published_date() ?></span>
489 </div>
490
491 <div class="list-cell wpfnl-status <?php echo strtolower($funnel->get_status()) ?>">
492 <span class="post-status"><?php echo $funnel->get_status() ?></span>
493 </div>
494
495 <div class="list-cell list-action">
496 <?php
497 if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){
498 ?>
499 <?php if( ('wc' == $_type && !$is_wc) || ('lms' == $_type && !$is_lms) ){ ?>
500 <a href="#" class="edit disabled" title="<?php esc_attr_e( 'Activate the plugin this funnel depends on to use it.', 'wpfnl' ) ?>">
501 <?php require WPFNL_DIR . '/admin/partials/icons/edit-icon.php'; ?>
502 </a>
503 <?php }else{ ?>
504 <a href="<?php echo esc_url_raw($edit_link); ?>" class="edit" title="<?php esc_attr_e('Edit', 'wpfnl'); ?>">
505 <?php require WPFNL_DIR . '/admin/partials/icons/edit-icon.php'; ?>
506
507 </a>
508 <?php } ?>
509
510 <?php
511 $disable_view_button = apply_filters( 'wpfunnels/disable_funnel_view_button', false, $funnel_id );
512
513 if( ('wc' == $_type && !$is_wc) || ('lms' == $_type && !$is_lms) ){ ?>
514 <a class="view <?php echo 'disabled'; ?>" title="<?php esc_attr_e( 'Activate the plugin this funnel depends on to use it.', 'wpfnl' ) ?>">
515 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
516 </a>
517 <?php
518 }elseif( $disable_view_button ){
519 ?>
520 <a class="view <?php echo $disable_view_button ? 'disabled' : ''; ?>" title="<?php esc_attr_e( 'This is a Global Funnel', 'wpfnl' ) ?>">
521 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
522 </a>
523 <?php
524 }else{
525 ?>
526 <a href="<?php echo esc_url_raw($view_link); ?>" class="view <?php echo $disable_view_button ? 'disabled' : ''; ?>" target="_blank" title="<?php esc_attr_e( 'View', 'wpfnl' ) ?>">
527 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
528 </a>
529 <?php
530 }
531 }else{
532 ?>
533 <a href="#" class="restore wpfnl-restore-funnel" id="wpfnl-restore-funnel" title="<?php esc_attr_e('Restore funnel', 'wpfnl'); ?>" data-id="<?php echo $funnel_id; ?>">
534 <?php require WPFNL_DIR . '/admin/partials/icons/restore-icon.php'; ?>
535 </a>
536 <a href="#" class="delete wpfnl-permanent-delete-funnel" id="wpfnl-permanent-delete-funnel" title="<?php esc_attr_e('Delete Permanently', 'wpfnl'); ?>" data-id="<?php echo $funnel_id; ?>">
537 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
538 </a>
539 <?php
540 }
541 ?>
542 <?php
543 if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){
544 ?>
545 <span class="more-action funnel-list__more-action" >
546 <?php require WPFNL_DIR . '/admin/partials/icons/dot-icon.php'; ?>
547
548 <ul class="more-actions wpfnl-dropdown">
549 <?php if(( $is_pro_active || $count_funnels < 3 ) && isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ): ?>
550 <li>
551 <a href="#" class="duplicate wpfnl-duplicate-funnel" id="wpfnl-duplicate-funnel" data-id="<?php echo $funnel_id; ?>">
552 <?php require WPFNL_DIR . '/admin/partials/icons/duplicate-icon.php'; ?>
553 <?php echo __('Duplicate', 'wpfnl'); ?>
554 <span class="wpfnl-loader"></span>
555 </a>
556 </li>
557 <?php endif; ?>
558
559 <?php if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] )): ?>
560 <li>
561 <a href="#" class="duplicate wpfnl-export-funnel" id="wpfnl-export-funnel" data-id="
562 <?php
563 echo $funnel_id;
564 ?>
565 ">
566 <?php
567 require WPFNL_DIR . '/admin/partials/icons/export-icon.php';
568 echo __('Export', 'wpfnl');
569 ?>
570 <span class="wpfnl-loader"></span>
571 </a>
572 </li>
573 <?php endif; ?>
574
575 <?php if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] )): ?>
576 <li>
577 <a href="" class="delete wpfnl-update-funnel-status" id="wpfnl-update-funnel-status" data-id="<?php echo $funnel_id; ?>" data-status="<?php echo strtolower($funnel_status); ?>">
578 <?php
579 if( 'draft' === strtolower($funnel_status) ){
580 require WPFNL_DIR . '/admin/partials/icons/draft-icon.php';
581 }else{
582 require WPFNL_DIR . '/admin/partials/icons/publish-icon.php';
583 }
584 ?>
585 <?php echo $funnel_status; ?>
586 </a>
587 </li>
588 <?php endif; ?>
589 <li>
590 <?php
591 if( isset($_GET['page']) && 'trash_funnels' == sanitize_text_field( $_GET['page'] ) ){
592 ?>
593 <a href="" class="delete wpfnl-restore-funnel" id="wpfnl-restore-funnel" data-id="<?php echo $funnel_id; ?>">
594 <?php require WPFNL_DIR . '/admin/partials/icons/restore-icon.php'; ?>
595 <?php echo __('Restore', 'wpfnl'); ?>
596 </a>
597 <?php
598 }else{
599 ?>
600 <a href="" class="delete wpfnl-delete-funnel" id="wpfnl-delete-funnel" data-id="<?php echo $funnel_id; ?>">
601 <?php require WPFNL_DIR . '/admin/partials/icons/trash-icon.php'; ?>
602 <?php echo __('Trash', 'wpfnl'); ?>
603 </a>
604 <?php
605 }
606 ?>
607 </li>
608
609 <?php if( isset($_GET['page']) && 'trash_funnels' == sanitize_text_field( $_GET['page'] ) ): ?>
610 <li>
611 <a href="" class="delete wpfnl-delete-funnel" id="wpfnl-delete-funnel" data-id="<?php echo $funnel_id; ?>">
612 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
613 <?php echo __('Delete Parmanently', 'wpfnl'); ?>
614 </a>
615 </li>
616 <?php endif; ?>
617
618 </ul>
619 </span>
620 <?php
621 }
622 ?>
623 </div>
624 <!-- /list-action -->
625
626
627 <?php
628 // Show activation hint only if:
629 // 1. There's exactly one funnel
630 // 2. The funnel status is Draft
631 // 3. More than 24 hours have passed since creation
632 $should_show_hint = false;
633 if ( count($this->funnels) === 1 && 'draft' === get_post_status( $funnel_id ) ) {
634 // Get the funnel creation time
635 $funnel_post = get_post( $funnel_id );
636 $funnel_creation_time = strtotime( $funnel_post->post_date );
637 $current_time = current_time( 'timestamp' );
638 $time_difference = $current_time - $funnel_creation_time;
639 $hours_passed = $time_difference / 3600;
640
641 if ( $hours_passed >= 24 ) {
642 $should_show_hint = true;
643 }
644 }
645
646 if ( $should_show_hint ) {
647 ?>
648 <div class="funnel-alert">
649 <div class="funnel-alert-inner">
650
651 <div class="funnel-alert-left">
652 <div class="funnel-icon">
653 <svg viewBox="0 0 24 24" fill="none" stroke="#6E42D3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"/></svg>
654 </div>
655
656 <div class="funnel-alert-content">
657 <p class="funnel-alert-title">
658 <?php echo __('This funnel is not published yet.', 'wpfnl'); ?>
659 </p>
660 <p class="funnel-alert-description">
661 <?php echo __('Publish to go live — start boosting revenue with upsells, bumps & higher AOV today.', 'wpfnl'); ?>
662 </p>
663 </div>
664 </div>
665
666 <button type="button" class="funnel-activate-btn wpfnl-update-funnel-status" data-id="<?php echo $funnel_id; ?>" data-status="<?php echo strtolower($funnel_status); ?>" title="<?php echo __('Click to Publish', 'wpfnl'); ?>">
667 <?php echo __('Click to Publish', 'wpfnl'); ?>
668 </button>
669
670 </div>
671 </div>
672
673 <?php } ?>
674
675 </div>
676 <?php
677 } //--end foreach--
678 } else {
679 if (isset($_GET['s'])) {
680 echo __('Sorry No Funnels Found', 'wpfnl');
681 } else {
682 $create_funnel_link = add_query_arg(
683 [
684 'page' => WPFNL_CREATE_FUNNEL_SLUG,
685 ],
686 admin_url('admin.php')
687 ); ?>
688
689 <?php if( isset($_GET['page']) && 'wp_funnels' === $_GET['page'] ) {?>
690 <div class="no-funnel-wrapper">
691 <div class="no-funnel-info">
692 <div class="info-content">
693 <h2 class="info-title">Create your first funnel</h2>
694 <p class="info-description">
695 Build a sales funnel with everything you need to generate leads and grow sales.
696 </p>
697
698 <ul class="info-features">
699 <li class="feature-item">
700 <svg xmlns="http://www.w3.org/2000/svg" width="11" height="8" viewBox="0 0 11 8" fill="none"><path d="M10.0326 0.699951L3.61589 7.11662L0.699219 4.19995" stroke="#444d5e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
701 One Click Upsells
702 </li>
703 <li class="feature-item">
704 <svg xmlns="http://www.w3.org/2000/svg" width="11" height="8" viewBox="0 0 11 8" fill="none"><path d="M10.0326 0.699951L3.61589 7.11662L0.699219 4.19995" stroke="#444d5e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
705 Order Bumps
706 </li>
707 <li class="feature-item">
708 <svg xmlns="http://www.w3.org/2000/svg" width="11" height="8" viewBox="0 0 11 8" fill="none"><path d="M10.0326 0.699951L3.61589 7.11662L0.699219 4.19995" stroke="#444d5e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
709 A/B Split Testing
710 </li>
711 <li class="feature-item">
712 <svg xmlns="http://www.w3.org/2000/svg" width="11" height="8" viewBox="0 0 11 8" fill="none"><path d="M10.0326 0.699951L3.61589 7.11662L0.699219 4.19995" stroke="#444d5e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
713 Conversion Templates
714 </li>
715 <li class="feature-item">
716 <svg xmlns="http://www.w3.org/2000/svg" width="11" height="8" viewBox="0 0 11 8" fill="none"><path d="M10.0326 0.699951L3.61589 7.11662L0.699219 4.19995" stroke="#444d5e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
717 Email Automation
718 </li>
719 <li class="feature-item">
720 <svg xmlns="http://www.w3.org/2000/svg" width="11" height="8" viewBox="0 0 11 8" fill="none"><path d="M10.0326 0.699951L3.61589 7.11662L0.699219 4.19995" stroke="#444d5e" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
721 Analytics
722 </li>
723 </ul>
724
725 <div class="create-new-funnel">
726 <a href="#" class="btn-default add-new-funnel-btn">
727 <svg width="15" height="15" fill="none" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.8" d="M7.723 1.387v11.986M1.717 7.38h12.008"/></svg>
728
729 <?php echo __('Create Funnel', 'wpfnl'); ?>
730 </a>
731
732 <a href="#" class="btn-default import-export <?php echo ( $is_limit_reached && !$is_pro_active ) ? 'wpfnl-import-funnels-limit-reached' : 'wpfnl-import-funnels'; ?>">
733 <?php
734 if ( $is_limit_reached && !$is_pro_active ) {
735 require WPFNL_DIR . '/admin/partials/icons/lock-icon.php';
736 } else {
737 require WPFNL_DIR . '/admin/partials/icons/import-icon.php';
738 }
739 echo __('Import Funnels', 'wpfnl');
740 ?>
741 </a>
742 </div>
743 </div>
744
745 <div class="video-wrapper">
746 <div class="video-preview" tabindex="0" role="button" aria-label="Play video">
747 <img
748 src="<?php echo WPFNL_URL . 'admin/assets/images/no-funnel-video-poster.webp'; ?>"
749 alt="no-funnel-video-poster"
750 class="video-poster"
751 width="569"
752 height="373"
753 />
754
755 <div class="play-overlay">
756 <div class="play-button no-funnel-play-button" >
757 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" viewBox="0 0 16 20" fill="none"><path d="M14.408 7.19013L3.24942 0.312012C2.93046 0.110674 2.56721 0.00302319 2.19661 0C1.61403 0 1.05532 0.246909 0.643373 0.686411C0.231428 1.12591 0 1.722 0 2.34355V17.1052C7.40914e-05 17.5176 0.10371 17.9225 0.300131 18.2778C0.496553 18.6331 0.778589 18.9257 1.11691 19.1253C1.45524 19.3249 1.8375 19.4241 2.22396 19.4127C2.61041 19.4013 2.98695 19.2797 3.31441 19.0604L14.4859 11.5306C14.8333 11.2986 15.1184 10.9746 15.3135 10.5902C15.5086 10.2057 15.607 9.77389 15.5992 9.33678C15.5913 8.89967 15.4775 8.47219 15.2687 8.09598C15.0599 7.71978 14.7634 7.40769 14.408 7.19013Z" fill="#6e42d3"/></svg>
758 </div>
759 </div>
760 </div>
761 </div>
762
763 <!-- Video Popup -->
764 <div id="no-funnel-video-popup" class="video-popup-overlay" role="dialog" aria-modal="true" aria-labelledby="video-popup-title">
765 <div class="video-popup-content" >
766 <button class="video-popup-close" aria-label="Close video">
767 <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
768 <path d="M1 1L13 13M13 1L1 13" stroke="#1D2327" stroke-width="2" stroke-linecap="round"/>
769 </svg>
770 </button>
771
772 <h2 id="video-popup-title" class="visually-hidden">Video Tutorial</h2>
773 <div class="video-container">
774 <iframe
775 id="no-funnel-video-iframe"
776 width="550"
777 height="310"
778 src=""
779 data-src="https://www.youtube.com/embed/GrzIRl5jfBE?autoplay=1"
780 title="WPFunnels Tutorial Video"
781 frameborder="0"
782 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
783 allowfullscreen
784 ></iframe>
785 </div>
786 </div>
787 </div>
788 </div>
789
790 </div>
791 <?php }else{
792 ?>
793 <div class="no-trash-wrapper">
794 <?php require WPFNL_DIR . '/admin/partials/icons/no-data-icon.php'; ?>
795 <p class="no-funnel"><?php echo __('No data Found', 'wpfnl'); ?></p>
796 </div>
797 <?php
798 } ?>
799
800 <?php
801 }
802 } ?>
803
804 <!-- funnel pagination -->
805 <?php if ($this->pagination) { ?>
806 <div class="list-footer">
807 <div class="pagination-number">
808 <p>
809 <strong><?php
810 echo __('Showing', 'wpfnl');
811 ?></strong>
812 <select name="wpfnl_listing_page_offset" id="wpfnl_listing_page_offset">
813 <option value="10" <?php echo 10 === (int)$per_page ? 'selected' : ''?> >
814 <?php echo __('10', 'wpfnl'); ?>
815 </option>
816 <option value="20" <?php echo 20 === (int)$per_page ? 'selected' : ''?>>
817 <?php echo __('20', 'wpfnl'); ?>
818 </option>
819 <option value="30" <?php echo 30 === (int)$per_page ? 'selected' : ''?>>
820 <?php echo __('30', 'wpfnl'); ?>
821 </option>
822 </select>
823 <?php
824 $limit_starts = $this->offset+1;
825 $limit_ends = min( [ $this->offset+$per_page, $this->total_funnels ] );
826 echo "{$limit_starts}-{$limit_ends} of {$this->total_funnels} ". __('items', 'wpfnl')
827 ?>
828 </p>
829 </div>
830
831 <div class="pagination">
832 <?php
833 $s = '';
834 if (isset($_GET['s'])) {
835 $s = '&s='. sanitize_text_field($_GET['s']);
836 } ?>
837
838 <div class="wpfnl-pagination">
839 <a href="<?php if ($this->current_page <= 1) {
840 echo '#';
841 } else {
842 echo "?page=wp_funnels&pageno=".($this->current_page - 1).$s."&per_page={$per_page}";
843 } ?>" class="nav-link prev <?php if ($this->current_page <= 1) {
844 echo 'disabled';
845 } ?>">
846 <svg width="12" height="12" fill="none" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path fill="#7A8B9A" d="M6.002 12a.856.856 0 01-.609-.25L.25 6.586a.863.863 0 010-1.214L5.393.207a.855.855 0 011.415.62.863.863 0 01-.206.594L2.067 5.974l4.535 4.554a.862.862 0 01-.6 1.472z"/><path fill="#7A8B9A" d="M11.147 12a.856.856 0 01-.61-.25L5.395 6.586a.863.863 0 010-1.214L10.538.207a.855.855 0 011.414.62.862.862 0 01-.205.594L7.21 5.974l4.536 4.554a.862.862 0 01-.6 1.472z"/></svg>
847 </a>
848
849 <?php
850 for ($i = 1; $i <= $this->total_page; $i ++) {
851 if ($i < 1) {
852 continue;
853 }
854 if ($i > $this->total_funnels) {
855 break;
856 }
857 if ($i == $this->current_page) {
858 $class = "active";
859 } else {
860 $class = "";
861 } ?>
862 <a href="?page=wp_funnels&pageno=<?php echo $i.$s."&per_page={$per_page}"; ?>" class="nav-link <?php echo $class; ?>"><?php echo $i; ?></a>
863 <?php
864 } ?>
865
866 <a href="<?php if ($this->current_page == $this->total_page) {
867 echo '#';
868 } else {
869 echo "?page=wp_funnels&pageno=".($this->current_page + 1)."&per_page={$per_page}";
870 } ?>" class="nav-link next <?php if ($this->current_page >= $this->total_funnels) {
871 echo 'disabled';
872 } ?>">
873 <svg width="12" height="12" fill="none" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path fill="#7A8B9A" d="M5.998 12a.856.856 0 00.609-.25l5.144-5.164a.863.863 0 000-1.214L6.607.207a.855.855 0 00-1.415.62.863.863 0 00.206.594l4.535 4.553-4.535 4.554a.862.862 0 00.6 1.472z"/><path fill="#7A8B9A" d="M.853 12a.856.856 0 00.61-.25l5.143-5.164a.863.863 0 000-1.214L1.462.207a.855.855 0 00-1.414.62.863.863 0 00.205.594L4.79 5.974.253 10.528A.862.862 0 00.853 12z"/></svg>
874 </a>
875 </div>
876
877 </div>
878 </div>
879 <?php } ?>
880
881 </div>
882 <!-- /funnel-list__wrapper -->
883
884 </div>
885
886 <!-- Toaster Starts-->
887 <div id="wpfnl-toaster-wrapper">
888 <div class="quick-toastify-alert-toast">
889 <div class="quick-toastify-alert-container">
890 <div class="quick-toastify-successfull-icon" id="wpfnl-toaster-icon"></div>
891 <p id="wpfnl-toaster-message"></p>
892 <div class="quick-toastify-cross-icon" id="wpfnl-toaster-close-btn">
893 <svg width="10" height="10" fill="none" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
894 <path fill="#686f7f" d="M.948 9.995a.94.94 0 01-.673-.23.966.966 0 010-1.352L8.317.278a.94.94 0 011.339.045c.323.35.342.887.044 1.258L1.611 9.765a.94.94 0 01-.663.23z" />
895 <path fill="#686f7f" d="M8.98 9.995a.942.942 0 01-.664-.278L.275 1.582A.966.966 0 01.378.23a.939.939 0 011.232 0L9.7 8.366a.966.966 0 010 1.399.94.94 0 01-.72.23z" />
896 </svg>
897 </div>
898 </div>
899 </div>
900 </div>
901 <!-- Toaster End -->
902
903 <!-- Pro Modal -->
904 <div class="wpfnl-pro-modal-overlay" id="wpfnl-pro-modal">
905 <div class="wpfnl-pro-modal-wrapper">
906 <div class="wpfnl-pro-modal-close">
907 <span class="wpfnl-pro-modal-close-btn" id="wpfnl-pro-modal-close">
908 <?php require WPFNL_DIR . '/admin/partials/icons/cross-icon.php'; ?>
909 </span>
910 </div>
911
912 <div class="wpfnl-pro-modal-content">
913 <div class="wpfnl-pro-modal-header">
914 <span class="wpfnl-pro-modal-header-icon">
915 <?php require WPFNL_DIR . '/admin/partials/icons/unlock-icon.php'; ?>
916 </span>
917 <h3 class="wpfnl-pro-heading">Upgrade to Unlock This Feature</h3>
918 </div>
919
920 <div class="wpfnl-pro-modal-body">
921 <div class="wpfnl-pro-modal-body_container">
922 <h4 class="feature-title">Features</h4>
923
924 <ul class="wpfnl-pro-features first-col">
925 <li>
926 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M4.59954 0.0999756H2.34958C1.10887 0.0999756 0.0996094 1.10922 0.0996094 2.34991V4.59984C0.0996094 5.84053 1.10887 6.84977 2.34958 6.84977H4.59954C5.84025 6.84977 6.84951 5.84053 6.84951 4.59984V2.34991C6.84951 1.10922 5.84025 0.0999756 4.59954 0.0999756ZM5.34953 4.59984C5.34953 5.01328 5.01335 5.34982 4.59954 5.34982H2.34958C1.93577 5.34982 1.59959 5.01328 1.59959 4.59984V2.34991C1.59959 1.93647 1.93577 1.59993 2.34958 1.59993H4.59954C5.01335 1.59993 5.34953 1.93647 5.34953 2.34991V4.59984Z" fill="#7a8b9a" stroke="#fff" stroke-width=".2"/><path d="M12.8495 0.0999756H10.5996C9.35887 0.0999756 8.34961 1.10922 8.34961 2.34991V4.59984C8.34961 5.84053 9.35887 6.84977 10.5996 6.84977H12.8495C14.0902 6.84977 15.0995 5.84053 15.0995 4.59984V2.34991C15.0995 1.10922 14.0902 0.0999756 12.8495 0.0999756ZM13.5995 4.59984C13.5995 5.01328 13.2634 5.34982 12.8495 5.34982H10.5996C10.1858 5.34982 9.84959 5.01328 9.84959 4.59984V2.34991C9.84959 1.93647 10.1858 1.59993 10.5996 1.59993H12.8495C13.2634 1.59993 13.5995 1.93647 13.5995 2.34991V4.59984Z" fill="#7a8b9a" stroke="#fff" stroke-width=".2"/><path d="M4.59954 8.35016H2.34958C1.10887 8.35016 0.0996094 9.3594 0.0996094 10.6001V12.85C0.0996094 14.0907 1.10887 15.1 2.34958 15.1H4.59954C5.84025 15.1 6.84951 14.0907 6.84951 12.85V10.6001C6.84951 9.3594 5.84025 8.35016 4.59954 8.35016ZM5.34953 12.85C5.34953 13.2635 5.01335 13.6 4.59954 13.6H2.34958C1.93577 13.6 1.59959 13.2635 1.59959 12.85V10.6001C1.59959 10.1866 1.93577 9.85011 2.34958 9.85011H4.59954C5.01335 9.85011 5.34953 10.1866 5.34953 10.6001V12.85Z" fill="#7a8b9a" stroke="#fff" stroke-width=".2"/><path d="M12.8495 8.35016H10.5996C9.35887 8.35016 8.34961 9.3594 8.34961 10.6001V12.85C8.34961 14.0907 9.35887 15.1 10.5996 15.1H12.8495C14.0902 15.1 15.0995 14.0907 15.0995 12.85V10.6001C15.0995 9.3594 14.0902 8.35016 12.8495 8.35016ZM13.5995 12.85C13.5995 13.2635 13.2634 13.6 12.8495 13.6H10.5996C10.1858 13.6 9.84959 13.2635 9.84959 12.85V10.6001C9.84959 10.1866 10.1858 9.85011 10.5996 9.85011H12.8495C13.2634 9.85011 13.5995 10.1866 13.5995 10.6001V12.85Z" fill="#7a8b9a" stroke="#fff" stroke-width=".2"/></svg>
927 Unlimited Funnels
928 </li>
929
930 <li>
931 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M3.70086 11.7798L2.05474 13.4265C1.52539 13.956 1.52539 14.8145 2.05474 15.3441C2.5841 15.8736 3.44237 15.8736 3.97172 15.3441L5.61784 13.6974L6.56106 15.8822C6.62701 16.0349 6.72237 16.178 6.84717 16.3028C7.37653 16.8324 8.2348 16.8324 8.76415 16.3028C8.9442 16.1227 9.06301 15.9046 9.12058 15.6742L11.0376 8.00391C11.1493 7.55702 11.0304 7.06438 10.6811 6.71496C10.3318 6.36553 9.83933 6.24669 9.3926 6.35841L1.72468 8.27601C1.49441 8.3336 1.27631 8.45245 1.09624 8.63255C0.56688 9.16207 0.56688 10.0206 1.09624 10.5501C1.22101 10.675 1.36408 10.7703 1.51678 10.8363L3.70086 11.7798Z" stroke="#7a8b9a" stroke-width="1.4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M13.9883 7.1239H16.6993" stroke="#7a8b9a" stroke-width="1.4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.7969 10.0002L14.7139 11.9178" stroke="#7a8b9a" stroke-width="1.4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.43945 2.68567L7.35643 4.60326" stroke="#7a8b9a" stroke-width="1.4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.2324 0.700012V3.41187" stroke="#7a8b9a" stroke-width="1.4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0244 2.68567L13.1074 4.60326" stroke="#7a8b9a" stroke-width="1.4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
932 Advanced One-Click Upsells
933 </li>
934
935 <li>
936 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.99845 13.7986H2.79479C2.60888 13.7985 2.43063 13.7222 2.29922 13.5865C2.16781 13.4508 2.094 13.2668 2.094 13.0749V5.89545C2.094 5.74949 2.03781 5.6095 1.93779 5.50629C1.83777 5.40308 1.70212 5.34509 1.56067 5.34509C1.41922 5.34509 1.28357 5.40308 1.18355 5.50629C1.08353 5.6095 1.02734 5.74949 1.02734 5.89545V13.0749C1.0272 13.3145 1.07282 13.5518 1.16159 13.7731C1.25035 13.9945 1.38053 14.1957 1.54467 14.3651C1.70881 14.5346 1.90371 14.6689 2.11821 14.7606C2.33271 14.8523 2.56262 14.8994 2.79479 14.8994H7.99845C8.13989 14.8994 8.27555 14.8414 8.37557 14.7382C8.47558 14.6349 8.53177 14.495 8.53177 14.349C8.53177 14.203 8.47558 14.063 8.37557 13.9598C8.27555 13.8566 8.13989 13.7986 7.99845 13.7986Z" fill="#7a8b9a"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.371 7.42987C13.371 7.57584 13.4272 7.71582 13.5272 7.81903C13.6272 7.92225 13.7629 7.98023 13.9043 7.98023C14.0458 7.98023 14.1814 7.92225 14.2815 7.81903C14.3815 7.71582 14.4377 7.57584 14.4377 7.42987V4.28511H14.9331C15.0746 4.28511 15.2102 4.22712 15.3102 4.12391C15.4103 4.0207 15.4665 3.88071 15.4665 3.73475V1.61201C15.4665 1.18448 15.3019 0.774456 15.0089 0.472146C14.716 0.169836 14.3186 0 13.9043 0H1.56211C1.14781 0 0.750485 0.169836 0.457532 0.472146C0.164579 0.774456 0 1.18448 0 1.61201V3.73475C0 3.88071 0.0561895 4.0207 0.156208 4.12391C0.256226 4.22712 0.391879 4.28511 0.533326 4.28511H13.371V7.42987ZM1.06665 3.18439V1.61201C1.06665 1.47641 1.11885 1.34636 1.21177 1.25047C1.30469 1.15459 1.43071 1.10072 1.56211 1.10072H13.9043C14.0357 1.10072 14.1618 1.15459 14.2547 1.25047C14.3476 1.34636 14.3998 1.47641 14.3998 1.61201V3.18439H1.06665Z" fill="#7a8b9a"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3908 8.55042C11.6769 8.55042 10.979 8.76887 10.3854 9.17816C9.79186 9.58745 9.32921 10.1692 9.05601 10.8498C8.78281 11.5304 8.71133 12.2794 8.85061 13.0019C8.98988 13.7245 9.33366 14.3882 9.83846 14.9091C10.3433 15.43 10.9864 15.7848 11.6866 15.9285C12.3868 16.0722 13.1126 15.9985 13.7721 15.7166C14.4317 15.4346 14.9954 14.9572 15.392 14.3447C15.7887 13.7321 16.0004 13.012 16.0004 12.2753C15.9998 11.2875 15.6193 10.3405 14.9425 9.64204C14.2657 8.94362 13.3479 8.551 12.3908 8.55042ZM12.3908 14.8994C11.8879 14.8994 11.3962 14.7455 10.978 14.4571C10.5599 14.1688 10.2339 13.759 10.0415 13.2795C9.849 12.8 9.79865 12.2723 9.89676 11.7633C9.99488 11.2543 10.2371 10.7867 10.5927 10.4197C10.9483 10.0527 11.4014 9.80281 11.8947 9.70156C12.388 9.60031 12.8993 9.65227 13.3639 9.85089C13.8286 10.0495 14.2257 10.3858 14.5051 10.8174C14.7846 11.2489 14.9337 11.7563 14.9337 12.2753C14.9333 12.9711 14.6652 13.6383 14.1884 14.1303C13.7116 14.6223 13.0651 14.8989 12.3908 14.8994Z" fill="#7a8b9a"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.923 11.7249V10.7788C12.923 10.6329 12.8668 10.4929 12.7668 10.3897C12.6668 10.2864 12.5311 10.2285 12.3897 10.2285C12.2482 10.2285 12.1126 10.2864 12.0126 10.3897C11.9126 10.4929 11.8564 10.6329 11.8564 10.7788V11.7249H10.9396C10.7981 11.7249 10.6625 11.7829 10.5625 11.8861C10.4624 11.9893 10.4062 12.1293 10.4062 12.2752C10.4062 12.4212 10.4624 12.5612 10.5625 12.6644C10.6625 12.7676 10.7981 12.8256 10.9396 12.8256H11.8564V13.7717C11.8564 13.9176 11.9126 14.0576 12.0126 14.1608C12.1126 14.2641 12.2482 14.322 12.3897 14.322C12.5311 14.322 12.6668 14.2641 12.7668 14.1608C12.8668 14.0576 12.923 13.9176 12.923 13.7717V12.8256H13.8398C13.9812 12.8256 14.1169 12.7676 14.2169 12.6644C14.3169 12.5612 14.3731 12.4212 14.3731 12.2752C14.3731 12.1293 14.3169 11.9893 14.2169 11.8861C14.1169 11.7829 13.9812 11.7249 13.8398 11.7249H12.923Z" fill="#7a8b9a"/><path fill-rule="evenodd" clip-rule="evenodd" d="M4.13294 4.99286C3.99149 4.99286 3.85583 5.05084 3.75582 5.15406C3.6558 5.25727 3.59961 5.39725 3.59961 5.54322V8.51132C3.59959 8.61095 3.62579 8.70873 3.67541 8.79421C3.72502 8.87968 3.7962 8.94966 3.88133 8.99666C3.96647 9.04367 4.06237 9.06594 4.15881 9.06111C4.25525 9.05628 4.34861 9.02451 4.42893 8.96922L5.67585 8.1101L6.92276 8.96812C7.00308 9.02341 7.09644 9.05518 7.19288 9.06001C7.28932 9.06484 7.38523 9.04257 7.47036 8.99556C7.5555 8.94856 7.62667 8.87858 7.67629 8.79311C7.7259 8.70763 7.7521 8.60985 7.75208 8.51021V5.54322C7.75208 5.39725 7.69589 5.25727 7.59588 5.15406C7.49586 5.05084 7.36021 4.99286 7.21876 4.99286C7.07731 4.99286 6.94166 5.05084 6.84164 5.15406C6.74162 5.25727 6.68543 5.39725 6.68543 5.54322V7.48269L5.97291 6.99177C5.88527 6.93143 5.78227 6.89923 5.67691 6.89923C5.57156 6.89923 5.46856 6.93143 5.38092 6.99177L4.66626 7.48269V5.54322C4.66626 5.39725 4.61007 5.25727 4.51005 5.15406C4.41004 5.05084 4.27438 4.99286 4.13294 4.99286Z" fill="#7a8b9a"/></svg>
937 Smart Order Bump Rules
938 </li>
939
940 <li>
941 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x=".7" y=".7" width="8.45" height="5.98" rx="2.3" stroke="#7a8b9a" stroke-width="1.4"/><rect x="6.85" y="9.32" width="8.45" height="5.98" rx="2.3" stroke="#7a8b9a" stroke-width="1.4"/><rect x="11.78" y=".7" width="3.52" height="5.98" rx="1.3" stroke="#7a8b9a" stroke-width="1.4"/><rect x=".7" y="9.32" width="3.52" height="5.98" rx="1.3" stroke="#7a8b9a" stroke-width="1.4"/></svg>
942 Premium Checkout Templates
943 </li>
944
945 <li>
946 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M0.699219 4.70001L4.22722 1.17201C4.37606 1.02228 4.55307 0.903483 4.74804 0.822474C4.94301 0.741466 5.15209 0.699845 5.36322 0.700013H12.0352C12.2463 0.699845 12.4554 0.741466 12.6504 0.822474C12.8454 0.903483 13.0224 1.02228 13.1712 1.17201L16.6992 4.70001" stroke="#7a8b9a" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.29883 8.70001V15.1C2.29883 15.5244 2.4674 15.9313 2.76746 16.2314C3.06752 16.5314 3.47448 16.7 3.89883 16.7H13.4988C13.9232 16.7 14.3301 16.5314 14.6302 16.2314C14.9303 15.9313 15.0988 15.5244 15.0988 15.1V8.70001" stroke="#7a8b9a" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.0988 16.7V13.5C11.0988 13.0757 10.9303 12.6687 10.6302 12.3687C10.3301 12.0686 9.92317 11.9 9.49883 11.9H7.89883C7.47448 11.9 7.06752 12.0686 6.76746 12.3687C6.4674 12.6687 6.29883 13.0757 6.29883 13.5V16.7" stroke="#7a8b9a" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><path d="M0.699219 4.70001H16.6992" stroke="#7a8b9a" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.6992 4.70001V7.10001C16.6992 7.52436 16.5306 7.93132 16.2306 8.23138C15.9305 8.53144 15.5236 8.70001 15.0992 8.70001C14.6318 8.67429 14.1854 8.49741 13.8272 8.19601C13.7318 8.12703 13.617 8.0899 13.4992 8.0899C13.3814 8.0899 13.2667 8.12703 13.1712 8.19601C12.813 8.49741 12.3666 8.67429 11.8992 8.70001C11.4318 8.67429 10.9854 8.49741 10.6272 8.19601C10.5318 8.12703 10.417 8.0899 10.2992 8.0899C10.1814 8.0899 10.0667 8.12703 9.97122 8.19601C9.61303 8.49741 9.16663 8.67429 8.69922 8.70001C8.23181 8.67429 7.7854 8.49741 7.42722 8.19601C7.33176 8.12703 7.21699 8.0899 7.09922 8.0899C6.98145 8.0899 6.86667 8.12703 6.77122 8.19601C6.41303 8.49741 5.96663 8.67429 5.49922 8.70001C5.03181 8.67429 4.5854 8.49741 4.22722 8.19601C4.13176 8.12703 4.01699 8.0899 3.89922 8.0899C3.78145 8.0899 3.66667 8.12703 3.57122 8.19601C3.21303 8.49741 2.76663 8.67429 2.29922 8.70001C1.87487 8.70001 1.46791 8.53144 1.16785 8.23138C0.86779 7.93132 0.699219 7.52436 0.699219 7.10001V4.70001" stroke="#7a8b9a" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
947 Storewide Checkout
948 </li>
949 </ul>
950 </div>
951 </div>
952
953 <div class="wpfnl-pro-modal-footer">
954 <a href="https://getwpfunnels.com/pricing/" target="_blank" title="Upgrade to Pro" aria-label="Upgrade to Pro" class="btn-default">Upgrade to Pro</a>
955 </div>
956 </div>
957 </div>
958 </div>
959 </div>
960 </div>
961