PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.12.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.12.3
3.13.3 3.13.2 3.13.1 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 All 261 releases
wpfunnels / admin / modules / funnels / views / view.php

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

955 lines 72.5 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 $global_funnel_type = \WPFunnels\Wpfnl_functions::get_global_funnel_type();
23
24 $is_wc_installed = 'no';
25 $is_lms_installed = 'no';
26 $puglins = get_plugins();
27
28 if ( isset( $puglins['woocommerce/woocommerce.php']) ) {
29 $is_wc_installed = 'yes';
30 }
31
32 if ( isset( $puglins['wpfunnels-pro-lms/wpfunnels-pro-lms.php']) ) {
33 $is_lms_installed = 'yes';
34 }
35 $trash_redirect_link = add_query_arg(
36 [
37 'page' => WPFNL_TRASH_FUNNEL_SLUG,
38 ],
39 admin_url('admin.php')
40 );
41
42 $live_redirect_link = add_query_arg(
43 [
44 'page' => WPFNL_FUNNEL_PAGE_SLUG,
45 ],
46 admin_url('admin.php')
47 );
48 ?>
49
50
51 <div class="wpfnl">
52 <div class="wpfnl-dashboard">
53 <nav class="wpfnl-dashboard__nav">
54 <?php use WPFunnels\Wpfnl_functions;
55 require_once WPFNL_DIR . '/admin/partials/dashboard-nav.php'; ?>
56
57 <?php
58 if ( !$is_pro_active ) {
59 ?>
60 <div class="wpfnl-dashboard__nav-right">
61 <a href="https://getwpfunnels.com/pricing/" class="btn-default" target="_blank" title="Upgrade to Pro" aria-label="Upgrade to Pro">Upgrade to Pro</a>
62 </div>
63 <?php
64 }
65 ?>
66 </nav>
67
68 <div class="dashboard-nav__content">
69
70 <div id="templates-library"></div>
71
72 <div class="import-funnel-modal">
73 <div class="import-funnel-modal-inner">
74 <div class="import-funnel-modal-wrapper">
75 <h4 class="import-funnel-modal-title"><?php echo __('Import Funnel','wpfnl') ?></h4>
76
77 <button class="close-modal" type="button">
78 <?php require_once WPFNL_DIR . '/admin/partials/icons/cross-icon.php'; ?>
79 </button>
80
81 <form id="wpfnl-import-funnels" name="form-import" method="post" enctype="multipart/form-data" action >
82
83 <input id="wpfnl-file-import" name="import-data" type="file" title=" " accept="application/JSON"/>
84
85 <label for="wpfnl-file-import" class="import-label">
86 <span class="upload-icon">
87 <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>
88 </span>
89 <span class="upload-success-icon">
90 <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>
91 </span>
92
93 <h4><?php echo __('Drag & Drop or ', 'wpfnl'); ?><span class="primary-color"><?php echo __('Choose file ', 'wpfnl'); ?></span> <?php echo __('to upload.', 'wpfnl'); ?></h4>
94 <p><?php echo __('Supported formats: JSON file.', 'wpfnl'); ?></p>
95 </label>
96
97 <span class="hints" id="wpfnl-export-import-warning" style="display:none; color: #d63638 !important" ><?php echo __('Please select a valid file.', 'wpfnl'); ?></span>
98
99 <div class="button-area">
100 <button class="btn-default close-modal cancel" type="button">
101 <?php echo __('Cancel', 'wpfnl'); ?>
102 </button>
103
104 <button id="wpfnl-import-funnel" class="btn-default" type="submit">
105 <?php echo __('Import', 'wpfnl'); ?>
106 <span class="wpfnl-loader"></span>
107 </button>
108 </div>
109 </form>
110 </div>
111 </div>
112 </div>
113
114
115 <div class="wpfnl-dashboard__header overview-header">
116 <div class="wpfnl-dashboard-header-left <?php echo 'trash_funnels' == $_GET['page'] ? 'trash-funnels-header' : ''; ?>">
117 <?php //if( isset($_GET['page']) && 'wp_funnels' === $_GET['page'] ) : ?>
118 <div class="wpfnl-dashboard-links-wrapper">
119 <a href="<?php echo $live_redirect_link ?>" class="wpfnl-all-funnels <?php echo 'wp_funnels' == $_GET['page'] ? 'active' : ''; ?> ">
120 <span> <?php
121 echo __('Live', 'wpfnl');
122 ?> </span>
123 <span class="wpfnl-count"><?php
124 echo $this->total_live_funnel;
125 ?></span>
126 </a>
127 <a href="<?php echo $trash_redirect_link ?>" class="wpfnl-trash-all-funnels <?php echo 'wp_funnels' !== $_GET['page'] ? 'active' : ''; ?>">
128 <span> <?php
129 echo __('Trash', 'wpfnl');
130 ?></span>
131 <span class="wpfnl-count"><?php
132 echo $this->total_trash_funnel;
133 ?></span>
134 </a>
135 </div>
136 <?php if (count($this->funnels) || !empty($_GET['s'])) { ?>
137 <form class="funnel-search" method="get">
138 <?php
139 $s = '';
140 if (isset($_GET['s'])) {
141 $s = sanitize_text_field( $_GET['s'] );
142 }
143 ?>
144
145 <div class="search-group">
146 <input name="page" type="hidden" value="<?php echo 'trash_funnels' != sanitize_text_field( $_GET['page']) ? WPFNL_FUNNEL_PAGE_SLUG : WPFNL_TRASH_FUNNEL_SLUG; ?>">
147 <?php require_once WPFNL_DIR . '/admin/partials/icons/search-icon.php'; ?>
148 <input name="s" type="text" value="<?php echo esc_attr($s); ?>" placeholder="<?php echo __('Search for a funnel...', 'wpfnl'); ?>">
149 </div>
150 </form>
151 <?php } ?>
152 </div>
153
154
155 <!-- Export import -->
156 <?php if ( (count($this->funnels) || !empty($_GET['s'])) && isset($_GET['page']) && 'trash_funnels' != sanitize_text_field( $_GET['page'] ) ) : ?>
157 <a href="#" class="import-export wpfnl-export-all-funnels">
158 <?php
159 require WPFNL_DIR . '/admin/partials/icons/export-icon.php';
160 echo __('Export All', 'wpfnl');
161 ?>
162 </a>
163
164 <a href="#" class="import-export <?php echo ( $is_limit_reached && !$is_pro_active ) ? 'wpfnl-import-funnels-limit-reached' : 'wpfnl-import-funnels'; ?>">
165 <?php
166 if ( $is_limit_reached && !$is_pro_active ) {
167 require WPFNL_DIR . '/admin/partials/icons/lock-icon.php';
168 } else {
169 require WPFNL_DIR . '/admin/partials/icons/import-icon.php';
170 }
171 echo __('Import', 'wpfnl');
172 ?>
173 </a>
174 <?php endif; ?>
175
176
177 <?php
178 if( (count($this->funnels) || !empty($_GET['s'] )) && isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){
179 ?>
180 <?php
181 $classes = 'btn-default add-new-funnel-btn';
182 if ( $is_limit_reached && !$is_pro_active ) {
183 $classes .= ' disabled';
184 }
185 ?>
186
187 <a href="#" class="<?php echo esc_attr($classes); ?>">
188 <?php
189 if ( $is_limit_reached && !$is_pro_active ) {
190 require WPFNL_DIR . '/admin/partials/icons/lock-icon.php';
191 } else {
192 require WPFNL_DIR . '/admin/partials/icons/plus-icon.php';
193 }
194
195 echo esc_html__('Add new Funnel', 'wpfnl');
196 ?>
197 </a>
198
199 <?php
200 }
201
202 ?>
203 </div>
204 <?php if ( $is_limit_reached && !$is_pro_active ) : ?>
205 <!-- upgrader to pro -->
206 <div class="upgrade-to-pro">
207 <div class="upgrade-to-pro-wrapper">
208 <div class="warning-icon-wrapper">
209 <span class="warning-icon">
210 <?php
211 require WPFNL_DIR . '/admin/partials/icons/warning-icon.php';
212 ?>
213 </span>
214 </div>
215 <div class="upgrade-to-pro-content">
216 <div class="upgrade-to-pro-message">
217 <h3>You have hit the limit! Upgrade to Pro for unlimited funnels!</h3>
218
219 <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>
220 </div>
221 </div>
222 <div class="upgrade-to-pro-action">
223 <a href="https://getwpfunnels.com/pricing/" target="_blank" class="btn-upgrade-to-pro">Upgrade to Pro</a>
224 </div>
225 </div>
226 </div>
227 <?php endif; ?>
228
229 <div class="wpfnl-dashboard__inner-content <?php echo count($this->funnels) ? '' : 'no-funnel' ?>">
230 <div class="funnel-list__wrapper">
231 <?php if (count($this->funnels)) { ?>
232 <div class="funnel__single-list list-header">
233 <div class="bulk-action-wrapper">
234 <p>
235 <span class="selected-funnel-count"><?php echo __('2 Funnel', 'wpfnl')?></span>
236 <?php echo __('Seleted', 'wpfnl')?>
237 </p>
238
239 <button class="btn-default bulk-delete-toggler">
240 <?php echo __('Bulk Actions', 'wpfnl'); ?>
241 <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>
242
243 <?php if ( isset($_GET['page']) && 'trash_funnels' === sanitize_text_field( $_GET['page'] ) ) { ?>
244 <ul class="wpfnl-dropdown">
245
246 <li>
247 <a href="#" class="delete wpfnl-bulk-restore" id="funnel__bulk-restore" title="Restore Funnel">
248 <?php require WPFNL_DIR . '/admin/partials/icons/restore-icon.php'; ?>
249 <?php echo __('Restore', 'wpfnl'); ?>
250 </a>
251 </li>
252 <li>
253 <a href="#" class="delete wpfnl-bulk-delete" id="funnel__bulk-delete" title="Delete Funnel">
254 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
255 <?php echo __('Delete', 'wpfnl'); ?>
256 </a>
257 </li>
258 </ul>
259 <?php
260 }else{
261 ?>
262 <ul class="wpfnl-dropdown">
263 <?php if ($is_pro_active && defined('WPFNL_PRO_VERSION') && version_compare( WPFNL_PRO_VERSION, "1.9.3", ">=" ) ) { ?>
264 <li>
265 <a href="#" class="wpfnl-bulk-export">
266 <?php require WPFNL_DIR . '/admin/partials/icons/export-icon.php'; ?>
267 <?php echo __('Bulk Export', 'wpfnl'); ?>
268 </a>
269 </li>
270 <?php
271 }
272 ?>
273 <li>
274 <a href="#" class="delete wpfnl-bulk-trash" id="funnel__bulk-trash" title="Trash Funnel">
275 <?php require WPFNL_DIR . '/admin/partials/icons/trash-icon.php'; ?>
276 <?php echo __('Trash', 'wpfnl'); ?>
277 </a>
278 </li>
279 </ul>
280 <?php
281 }
282 ?>
283 </button>
284 </div>
285
286 <div class="funnel-list__bulk-action">
287 <?php
288 if (count($this->funnels) > 0) {
289 ?>
290 <div class="funnel-list__bulk-select select-all-funnels" >
291 <span class="wpfnl-checkbox no-title">
292 <input type="checkbox" name="funnel-list__bulk-select" id="funnel-list__bulk-select">
293 <label for="funnel-list__bulk-select"></label>
294 </span>
295 </div>
296 <?php
297 }
298 ?>
299 </div>
300 <div class="list-cell wpfnl-name"><?php echo __('Name', 'wpfnl'); ?></div>
301 <?php if($is_pro_active){ ?>
302 <div class="list-cell wpfnl-intigrations"><?php echo __('Integration', 'wpfnl'); ?></div>
303 <?php } ?>
304 <div class="list-cell wpfnl-creation-date"><?php echo __('Creation Date', 'wpfnl'); ?></div>
305 <div class="list-cell wpfnl-status"><?php echo __('Status', 'wpfnl'); ?></div>
306 <div class="list-cell list-action"><?php echo __('Action', 'wpfnl'); ?></div>
307 </div>
308
309 <?php
310 foreach ($this->funnels as $funnel) {
311 $funnel_id = $funnel->get_id();
312 $edit_link = add_query_arg(
313 [
314 'page' => WPFNL_EDIT_FUNNEL_SLUG,
315 'id' => $funnel_id,
316 'step_id' => $funnel->get_first_step_id(),
317 ],
318 admin_url('admin.php')
319 );
320 $isAutomationEnable = get_post_meta( $funnel_id, 'is_automation_enabled', true );
321 $isAutomationData = get_post_meta( $funnel_id,'funnel_automation_data',true);
322 $isGbfInstalled = Wpfnl_functions::is_global_funnel_activated();
323 $start_condition = get_post_meta( $funnel_id, 'global_funnel_start_condition', true );
324 $builder = Wpfnl_functions::get_page_builder_by_step_id($funnel_id);
325 $utm_settings = Wpfnl_functions::get_funnel_utm_settings( $funnel_id );
326 $is_mint_automation = Wpfnl_functions::maybe_automation_exist_for_a_funnel( $funnel_id );
327 $funnel_status = 'publish' === get_post_status( $funnel_id ) ? 'Draft': 'Publish';
328 $isGbf = get_post_meta( $funnel_id, 'is_global_funnel', true );
329 $_type = get_post_meta( $funnel_id, '_wpfnl_funnel_type', true );
330
331 if( 'lead' == $_type ){
332 $funnel_type = __('Lead', 'wpfnl');
333 }elseif( 'lms' == $_type ){
334 $funnel_type = __('LMS', 'wpfnl');
335 }else{
336 if( defined('WC_PLUGIN_FILE') ){
337 $funnel_type = __('Woo', 'wpfnl');
338 $_type = 'wc';
339 }else{
340 $funnel_type = __('Lead', 'wpfnl');
341 $_type = 'lead';
342 }
343 }
344 Wpfnl_functions::generate_first_step( $funnel_id );
345 $first_step_id = Wpfnl_functions::get_first_step( $funnel_id );
346
347 // Fallback for existing users' existing funnel
348 // For new funnel, this condition should not trigger
349 if( !$first_step_id ) {
350 Wpfnl_functions::generate_first_step( $funnel_id );
351 $first_step_id = Wpfnl_functions::get_first_step( $funnel_id );
352 }
353
354 if ($first_step_id) {
355 $view_link = apply_filters( 'wpfunnels/modify_funnel_view_link', get_the_permalink( $first_step_id ), $first_step_id, $funnel_id );
356
357 } else {
358 $view_link = '#';
359 }
360
361 if($utm_settings['utm_enable'] == 'on') {
362 unset($utm_settings['utm_enable']);
363 $view_link = add_query_arg($utm_settings,$view_link);
364 $view_link = strtolower($view_link);
365 }
366 if( 'lead' == $global_funnel_type && ( 'lms' == $_type || 'wc' == $_type ) ){
367 echo '<div class="funnel__single-list list-body funnel-disabled" title="'.__('To run/edit this funnel, please change the funnel type to sales from WPFunnels - Settings', 'wpfnl').'">';
368 }elseif( 'sales' == $global_funnel_type && 'wc' == $_type && !$is_wc ){
369 echo '<div class="funnel__single-list list-body funnel-disabled" title="'.__('To run/edit this funnel, please Activate WooCommerce.', 'wpfnl').'">';
370 }elseif( 'sales' == $global_funnel_type && 'lms' == $_type && !$is_lms ){
371 echo '<div class="funnel__single-list list-body funnel-disabled" title="'.__('To run/edit this funnel, please Activate LearnDash & WPFunnels Pro - LMS Funnel', 'wpfnl').'">';
372 }else{
373 echo '<div class="funnel__single-list list-body">';
374 }
375 ?>
376 <div class="funnel-list__bulk-action">
377 <span class="wpfnl-checkbox no-title">
378 <input type="checkbox" name="funnel-list-select" id="funnel-list<?php echo $funnel->get_id(); ?>-select" data-id="<?php echo $funnel->get_id(); ?>">
379 <label for="funnel-list<?php echo $funnel->get_id(); ?>-select"></label>
380 </span>
381 </div>
382
383 <div class="list-cell wpfnl-name">
384 <?php if( $builder ){ ?>
385 <span class="builder-logo" title="<?php echo str_replace('-',' ',ucfirst($builder));?>">
386 <?php include WPFNL_DIR . '/admin/partials/icons/'.$builder.'.php'; ?>
387 </span>
388
389 <?php } else{ ?>
390 <span class="builder-logo" title="<?php echo __('No Builder Found', 'wpfnl') ?>">
391 </span>
392 <?php } ?>
393 <?php if( ('lead' == $global_funnel_type && 'lead' !== $_type) || ( 'sales' == $global_funnel_type && ( ('wc' == $_type && !$is_wc) || ('lms' == $_type && !$is_lms) ) ) ){ ?>
394 <a href="#" class="name disabled"> <?php echo $funnel->get_funnel_name() ?></a>
395 <?php }else{
396 $edit_funnel_url = isset($_GET['page']) && 'trash_funnels' === sanitize_text_field( $_GET['page'] ) ? '#' : esc_url_raw($edit_link);
397 ?>
398 <a href="<?php echo $edit_funnel_url; ?>" class="name"> <?php echo $funnel->get_funnel_name() ?></a>
399 <?php } ?>
400
401 <span class="steps">
402 <?php echo $funnel->get_total_steps(). ' '. Wpfnl_functions::get_formatted_data_with_phrase($funnel->get_total_steps(), 'step', 'steps'); ?> <?php echo ' - '.$funnel_type ?>
403 </span>
404
405 </div>
406
407 <?php if($is_pro_active){ ?>
408 <div class="list-cell wpfnl-intigrations">
409 <?php if ( $is_pro_active && $is_mint_pro_active ) { ?>
410 <?php if( !empty($is_mint_automation) ) { ?>
411 <span class="automation-tag automation-active">
412 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-green.php'; ?>
413 <?php echo __('Mail Mint','wpfnl') ?>
414 <span class="tooltip"><?php echo __('Mail mint automation is created for this funnel.','wpfnl') ?></span>
415 </span>
416 <?php }else{ ?>
417 <span class="automation-tag automation-inactive">
418 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-gray.php'; ?>
419 <?php echo __('Mail Mint','wpfnl') ?>
420 <span class="tooltip"><?php echo __('Mail mint automation is not created for this funnel.','wpfnl') ?></span>
421 </span>
422 <?php } ?>
423 <?php } ?>
424
425 <?php if ($is_pro_active ) { ?>
426 <?php if( !empty($isAutomationData) ) { ?>
427 <span class="automation-tag automation-active">
428 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-green.php'; ?>
429 <?php echo __('Integration','wpfnl') ?>
430 <span class="tooltip"><?php echo __('Integration is set for this funnel.','wpfnl') ?></span>
431 </span>
432 <?php }else{ ?>
433 <span class="automation-tag automation-inactive">
434 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-gray.php'; ?>
435 <?php echo __('Integration','wpfnl') ?>
436 <span class="tooltip"><?php echo __('Integration is not set for this funnel.','wpfnl') ?></span>
437 </span>
438 <?php } ?>
439
440 <?php } ?>
441
442 <?php if ($isGbfInstalled) { ?>
443 <?php if( $isGbf == 'yes' && !empty($start_condition) ) { ?>
444 <span class="automation-tag automation-active">
445 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-green.php'; ?>
446 <?php echo __('Global funnel','wpfnl') ?>
447 <span class="tooltip"><?php echo __('Global funnel is set for this funnel.','wpfnl') ?></span>
448 </span>
449 <?php } elseif( $isGbf == 'yes' && !$start_condition ){ ?>
450 <span class="automation-tag automation-inactive">
451 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-warning.php'; ?>
452 <?php echo __('Global funnel','wpfnl') ?>
453 <span class="tooltip"><?php echo __('Opps.. It looks like you did not set any condition for global funnel.','wpfnl') ?></span>
454 </span>
455 <?php } else{ ?>
456 <span class="automation-tag automation-inactive">
457 <?php include WPFNL_DIR . '/admin/partials/icons/success-icon-gray.php'; ?>
458 <?php echo __('Global funnel','wpfnl') ?>
459 <span class="tooltip"><?php echo __('Global funnel is not set for this funnel.','wpfnl') ?></span>
460 </span>
461 <?php } ?>
462 <?php } ?>
463
464 <?php if(WPFNL_IS_REMOTE) {?>
465 <div class="builder-type">
466 <?php
467 $builders = wp_get_post_terms( $funnel->get_id(), 'template_builder', array( 'fields' => 'all' ) );
468 if($builders) {
469 foreach ($builders as $builder) {
470 echo "<span>{$builder->name}</span>";
471 }
472 }
473 ?>
474 </div>
475 <?php } ?>
476 </div>
477 <?php } ?>
478
479 <div class="list-cell wpfnl-creation-date">
480 <span class="post-date"><?php echo $funnel->get_published_date() ?></span>
481 </div>
482
483 <div class="list-cell wpfnl-status <?php echo strtolower($funnel->get_status()) ?>">
484 <span class="post-status"><?php echo $funnel->get_status() ?></span>
485 </div>
486
487 <div class="list-cell list-action">
488 <?php
489 if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){
490 ?>
491 <?php if( ('lead' == $global_funnel_type && 'lead' !== $_type) || ( 'sales' == $global_funnel_type && ( ('wc' == $_type && !$is_wc) || ('lms' == $_type && !$is_lms) ) ) ){ ?>
492 <a href="#" class="edit disabled" title="<?php esc_attr_e( 'Lead funnel type is activated in global settings', 'wpfnl' ) ?>">
493 <?php require WPFNL_DIR . '/admin/partials/icons/edit-icon.php'; ?>
494 </a>
495 <?php }else{ ?>
496 <a href="<?php echo esc_url_raw($edit_link); ?>" class="edit" title="<?php esc_attr_e('Edit', 'wpfnl'); ?>">
497 <?php require WPFNL_DIR . '/admin/partials/icons/edit-icon.php'; ?>
498
499 </a>
500 <?php } ?>
501
502 <?php
503 $disable_view_button = apply_filters( 'wpfunnels/disable_funnel_view_button', false, $funnel_id );
504
505 if( ('lead' == $global_funnel_type && 'lead' !== $_type) || ( 'sales' == $global_funnel_type && ( ('wc' == $_type && !$is_wc) || ('lms' == $_type && !$is_lms) ) ) ){ ?>
506 <a class="view <?php echo 'disabled'; ?>" title="<?php esc_attr_e( 'Lead funnel type is activated in global settings', 'wpfnl' ) ?>">
507 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
508 </a>
509 <?php
510 }elseif( $disable_view_button ){
511 ?>
512 <a class="view <?php echo $disable_view_button ? 'disabled' : ''; ?>" title="<?php esc_attr_e( 'This is a Global Funnel', 'wpfnl' ) ?>">
513 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
514 </a>
515 <?php
516 }else{
517 ?>
518 <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' ) ?>">
519 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
520 </a>
521 <?php
522 }
523 }else{
524 ?>
525 <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; ?>">
526 <?php require WPFNL_DIR . '/admin/partials/icons/restore-icon.php'; ?>
527 </a>
528 <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; ?>">
529 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
530 </a>
531 <?php
532 }
533 ?>
534 <?php
535 if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){
536 ?>
537 <span class="more-action funnel-list__more-action" >
538 <?php require WPFNL_DIR . '/admin/partials/icons/dot-icon.php'; ?>
539
540 <ul class="more-actions wpfnl-dropdown">
541 <?php if(( $is_pro_active || $count_funnels < 3 ) && isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ): ?>
542 <li>
543 <a href="#" class="duplicate wpfnl-duplicate-funnel" id="wpfnl-duplicate-funnel" data-id="<?php echo $funnel_id; ?>">
544 <?php require WPFNL_DIR . '/admin/partials/icons/duplicate-icon.php'; ?>
545 <?php echo __('Duplicate', 'wpfnl'); ?>
546 <span class="wpfnl-loader"></span>
547 </a>
548 </li>
549 <?php endif; ?>
550
551 <?php if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] )): ?>
552 <li>
553 <a href="#" class="duplicate wpfnl-export-funnel" id="wpfnl-export-funnel" data-id="
554 <?php
555 echo $funnel_id;
556 ?>
557 ">
558 <?php
559 require WPFNL_DIR . '/admin/partials/icons/export-icon.php';
560 echo __('Export', 'wpfnl');
561 ?>
562 <span class="wpfnl-loader"></span>
563 </a>
564 </li>
565 <?php endif; ?>
566
567 <?php if( isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] )): ?>
568 <li>
569 <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); ?>">
570 <?php
571 if( 'draft' === strtolower($funnel_status) ){
572 require WPFNL_DIR . '/admin/partials/icons/draft-icon.php';
573 }else{
574 require WPFNL_DIR . '/admin/partials/icons/publish-icon.php';
575 }
576 ?>
577 <?php echo $funnel_status; ?>
578 </a>
579 </li>
580 <?php endif; ?>
581 <li>
582 <?php
583 if( isset($_GET['page']) && 'trash_funnels' == sanitize_text_field( $_GET['page'] ) ){
584 ?>
585 <a href="" class="delete wpfnl-restore-funnel" id="wpfnl-restore-funnel" data-id="<?php echo $funnel_id; ?>">
586 <?php require WPFNL_DIR . '/admin/partials/icons/restore-icon.php'; ?>
587 <?php echo __('Restore', 'wpfnl'); ?>
588 </a>
589 <?php
590 }else{
591 ?>
592 <a href="" class="delete wpfnl-delete-funnel" id="wpfnl-delete-funnel" data-id="<?php echo $funnel_id; ?>">
593 <?php require WPFNL_DIR . '/admin/partials/icons/trash-icon.php'; ?>
594 <?php echo __('Trash', 'wpfnl'); ?>
595 </a>
596 <?php
597 }
598 ?>
599 </li>
600
601 <?php if( isset($_GET['page']) && 'trash_funnels' == sanitize_text_field( $_GET['page'] ) ): ?>
602 <li>
603 <a href="" class="delete wpfnl-delete-funnel" id="wpfnl-delete-funnel" data-id="<?php echo $funnel_id; ?>">
604 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
605 <?php echo __('Delete Parmanently', 'wpfnl'); ?>
606 </a>
607 </li>
608 <?php endif; ?>
609
610 </ul>
611 </span>
612 <?php
613 }
614 ?>
615 </div>
616 <!-- /list-action -->
617
618
619 <?php
620 // Show activation hint only if:
621 // 1. There's exactly one funnel
622 // 2. The funnel status is Draft
623 // 3. More than 24 hours have passed since creation
624 $should_show_hint = false;
625 if ( count($this->funnels) === 1 && 'draft' === get_post_status( $funnel_id ) ) {
626 // Get the funnel creation time
627 $funnel_post = get_post( $funnel_id );
628 $funnel_creation_time = strtotime( $funnel_post->post_date );
629 $current_time = current_time( 'timestamp' );
630 $time_difference = $current_time - $funnel_creation_time;
631 $hours_passed = $time_difference / 3600;
632
633 if ( $hours_passed >= 24 ) {
634 $should_show_hint = true;
635 }
636 }
637
638 if ( $should_show_hint ) {
639 ?>
640 <div class="funnel-alert">
641 <div class="funnel-alert-inner">
642
643 <div class="funnel-alert-left">
644 <div class="funnel-icon">
645 <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>
646 </div>
647
648 <div class="funnel-alert-content">
649 <p class="funnel-alert-title">
650 <?php echo __('This funnel is not published yet.', 'wpfnl'); ?>
651 </p>
652 <p class="funnel-alert-description">
653 <?php echo __('Publish to go live — start boosting revenue with upsells, bumps & higher AOV today.', 'wpfnl'); ?>
654 </p>
655 </div>
656 </div>
657
658 <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'); ?>">
659 <?php echo __('Click to Publish', 'wpfnl'); ?>
660 </button>
661
662 </div>
663 </div>
664
665 <?php } ?>
666
667 </div>
668 <?php
669 } //--end foreach--
670 } else {
671 if (isset($_GET['s'])) {
672 echo __('Sorry No Funnels Found', 'wpfnl');
673 } else {
674 $create_funnel_link = add_query_arg(
675 [
676 'page' => WPFNL_CREATE_FUNNEL_SLUG,
677 ],
678 admin_url('admin.php')
679 ); ?>
680
681 <?php if( isset($_GET['page']) && 'wp_funnels' === $_GET['page'] ) {?>
682 <div class="no-funnel-wrapper">
683 <div class="no-funnel-info">
684 <div class="info-content">
685 <h2 class="info-title">Create your first funnel</h2>
686 <p class="info-description">
687 Build a sales funnel with everything you need to generate leads and grow sales.
688 </p>
689
690 <ul class="info-features">
691 <li class="feature-item">
692 <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>
693 One Click Upsells
694 </li>
695 <li class="feature-item">
696 <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>
697 Order Bumps
698 </li>
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 A/B Split Testing
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 Conversion Templates
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 Email Automation
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 Analytics
714 </li>
715 </ul>
716
717 <div class="create-new-funnel">
718 <a href="#" class="btn-default add-new-funnel-btn">
719 <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>
720
721 <?php echo __('Create Funnel', 'wpfnl'); ?>
722 </a>
723
724 <a href="#" class="btn-default import-export <?php echo ( $is_limit_reached && !$is_pro_active ) ? 'wpfnl-import-funnels-limit-reached' : 'wpfnl-import-funnels'; ?>">
725 <?php
726 if ( $is_limit_reached && !$is_pro_active ) {
727 require WPFNL_DIR . '/admin/partials/icons/lock-icon.php';
728 } else {
729 require WPFNL_DIR . '/admin/partials/icons/import-icon.php';
730 }
731 echo __('Import Funnels', 'wpfnl');
732 ?>
733 </a>
734 </div>
735 </div>
736
737 <div class="video-wrapper">
738 <div class="video-preview" tabindex="0" role="button" aria-label="Play video">
739 <img
740 src="<?php echo WPFNL_URL . 'admin/assets/images/no-funnel-video-poster.webp'; ?>"
741 alt="no-funnel-video-poster"
742 class="video-poster"
743 width="569"
744 height="373"
745 />
746
747 <div class="play-overlay">
748 <div class="play-button no-funnel-play-button" >
749 <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>
750 </div>
751 </div>
752 </div>
753 </div>
754
755 <!-- Video Popup -->
756 <div id="no-funnel-video-popup" class="video-popup-overlay" role="dialog" aria-modal="true" aria-labelledby="video-popup-title">
757 <div class="video-popup-content" >
758 <button class="video-popup-close" aria-label="Close video">
759 <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
760 <path d="M1 1L13 13M13 1L1 13" stroke="#1D2327" stroke-width="2" stroke-linecap="round"/>
761 </svg>
762 </button>
763
764 <h2 id="video-popup-title" class="visually-hidden">Video Tutorial</h2>
765 <div class="video-container">
766 <iframe
767 id="no-funnel-video-iframe"
768 width="550"
769 height="310"
770 src=""
771 data-src="https://www.youtube.com/embed/GrzIRl5jfBE?autoplay=1"
772 title="WPFunnels Tutorial Video"
773 frameborder="0"
774 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
775 allowfullscreen
776 ></iframe>
777 </div>
778 </div>
779 </div>
780 </div>
781
782 </div>
783 <?php }else{
784 ?>
785 <div class="no-trash-wrapper">
786 <?php require WPFNL_DIR . '/admin/partials/icons/no-data-icon.php'; ?>
787 <p class="no-funnel"><?php echo __('No data Found', 'wpfnl'); ?></p>
788 </div>
789 <?php
790 } ?>
791
792 <?php
793 }
794 } ?>
795
796 <!-- funnel pagination -->
797 <?php if ($this->pagination) { ?>
798 <div class="list-footer">
799 <div class="pagination-number">
800 <p>
801 <strong><?php
802 echo __('Showing', 'wpfnl');
803 ?></strong>
804 <select name="wpfnl_listing_page_offset" id="wpfnl_listing_page_offset">
805 <option value="10" <?php echo 10 === (int)$per_page ? 'selected' : ''?> >
806 <?php echo __('10', 'wpfnl'); ?>
807 </option>
808 <option value="20" <?php echo 20 === (int)$per_page ? 'selected' : ''?>>
809 <?php echo __('20', 'wpfnl'); ?>
810 </option>
811 <option value="30" <?php echo 30 === (int)$per_page ? 'selected' : ''?>>
812 <?php echo __('30', 'wpfnl'); ?>
813 </option>
814 </select>
815 <?php
816 $limit_starts = $this->offset+1;
817 $limit_ends = min( [ $this->offset+$per_page, $this->total_funnels ] );
818 echo "{$limit_starts}-{$limit_ends} of {$this->total_funnels} ". __('items', 'wpfnl')
819 ?>
820 </p>
821 </div>
822
823 <div class="pagination">
824 <?php
825 $s = '';
826 if (isset($_GET['s'])) {
827 $s = '&s='. sanitize_text_field($_GET['s']);
828 } ?>
829
830 <div class="wpfnl-pagination">
831 <a href="<?php if ($this->current_page <= 1) {
832 echo '#';
833 } else {
834 echo "?page=wp_funnels&pageno=".($this->current_page - 1).$s."&per_page={$per_page}";
835 } ?>" class="nav-link prev <?php if ($this->current_page <= 1) {
836 echo 'disabled';
837 } ?>">
838 <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>
839 </a>
840
841 <?php
842 for ($i = 1; $i <= $this->total_page; $i ++) {
843 if ($i < 1) {
844 continue;
845 }
846 if ($i > $this->total_funnels) {
847 break;
848 }
849 if ($i == $this->current_page) {
850 $class = "active";
851 } else {
852 $class = "";
853 } ?>
854 <a href="?page=wp_funnels&pageno=<?php echo $i.$s."&per_page={$per_page}"; ?>" class="nav-link <?php echo $class; ?>"><?php echo $i; ?></a>
855 <?php
856 } ?>
857
858 <a href="<?php if ($this->current_page == $this->total_page) {
859 echo '#';
860 } else {
861 echo "?page=wp_funnels&pageno=".($this->current_page + 1)."&per_page={$per_page}";
862 } ?>" class="nav-link next <?php if ($this->current_page >= $this->total_funnels) {
863 echo 'disabled';
864 } ?>">
865 <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>
866 </a>
867 </div>
868
869 </div>
870 </div>
871 <?php } ?>
872
873 </div>
874 <!-- /funnel-list__wrapper -->
875
876 </div>
877
878 <!-- Toaster Starts-->
879 <div id="wpfnl-toaster-wrapper">
880 <div class="quick-toastify-alert-toast">
881 <div class="quick-toastify-alert-container">
882 <div class="quick-toastify-successfull-icon" id="wpfnl-toaster-icon"></div>
883 <p id="wpfnl-toaster-message"></p>
884 <div class="quick-toastify-cross-icon" id="wpfnl-toaster-close-btn">
885 <svg width="10" height="10" fill="none" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
886 <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" />
887 <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" />
888 </svg>
889 </div>
890 </div>
891 </div>
892 </div>
893 <!-- Toaster End -->
894
895 <!-- Pro Modal -->
896 <div class="wpfnl-pro-modal-overlay" id="wpfnl-pro-modal">
897 <div class="wpfnl-pro-modal-wrapper">
898 <div class="wpfnl-pro-modal-close">
899 <span class="wpfnl-pro-modal-close-btn" id="wpfnl-pro-modal-close">
900 <?php require WPFNL_DIR . '/admin/partials/icons/cross-icon.php'; ?>
901 </span>
902 </div>
903
904 <div class="wpfnl-pro-modal-content">
905 <div class="wpfnl-pro-modal-header">
906 <span class="wpfnl-pro-modal-header-icon">
907 <?php require WPFNL_DIR . '/admin/partials/icons/unlock-icon.php'; ?>
908 </span>
909 <h3 class="wpfnl-pro-heading">Upgrade to Unlock This Feature</h3>
910 </div>
911
912 <div class="wpfnl-pro-modal-body">
913 <div class="wpfnl-pro-modal-body_container">
914 <h4 class="feature-title">Features</h4>
915
916 <ul class="wpfnl-pro-features first-col">
917 <li>
918 <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>
919 Unlimited Funnels
920 </li>
921
922 <li>
923 <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>
924 Advanced One-Click Upsells
925 </li>
926
927 <li>
928 <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>
929 Smart Order Bump Rules
930 </li>
931
932 <li>
933 <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>
934 Premium Checkout Templates
935 </li>
936
937 <li>
938 <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>
939 Storewide Checkout
940 </li>
941 </ul>
942 </div>
943 </div>
944
945 <div class="wpfnl-pro-modal-footer">
946 <a href="https://getwpfunnels.com/pricing/" target="_blank" title="Upgrade to Pro" aria-label="Upgrade to Pro" class="btn-default">Upgrade to Pro</a>
947 </div>
948 </div>
949 </div>
950 </div>
951 </div>
952
953 <?php require_once WPFNL_DIR . '/admin/partials/helper-resource.php'; ?>
954 </div>
955