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.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 2.8.17 2.8.18 All 259 releases
wpfunnels / admin / modules / steps / checkout / views / view.php

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

91 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Checkout view
4 *
5 * @package
6 */
7
8 $settings_link = add_query_arg(
9 [
10 'page' => WPFNL_EDIT_FUNNEL_SLUG,
11 'id' => $this->step->get_funnel_id(),
12 'step_id' => $this->step->get_id(),
13 'show_settings' => 1,
14 ],
15 admin_url('admin.php')
16 );
17
18 $id = $this->get_id();
19 $title = get_the_title($id);
20 $link = get_the_permalink($id);
21 ?>
22
23 <div id="step-checkout" class="wpfnl-single-step__content">
24 <?php require WPFNL_DIR . '/admin/modules/steps/general/step-title.php'; ?>
25 <!-- /steps-page__content-title-wrapper -->
26
27 <div class="steps-content_boxs-wrapper">
28 <div class="steps-box">
29 <?php
30 $products = $this->step->get_internal_metas_by_key('_wpfnl_checkout_products');
31
32 if (!$products) { ?>
33 <span class="no-product-tag"><?php echo __('Product not added', 'wpfnl'); ?></span>
34 <?php }
35 else {
36 ?>
37 <span style="color: #1aab1a;" class="no-product-tag"><?php echo __('Product added', 'wpfnl'); ?></span>
38 <?php
39 }
40 ?>
41 <?php require WPFNL_DIR . '/admin/partials/icons/cart-icon.php'; ?>
42 <span class="step-page-title"><?php echo __('Checkout page', 'wpfnl'); ?></span>
43 <?php
44 $post_edit_link = get_edit_post_link($id);
45 $builder = get_option('_wpfunnels_general_settings');
46 if (isset($builder['builder']) && $builder['builder'] == 'elementor') {
47 $post_edit_link = home_url() . '/wp-admin/post.php?post=' . $id . '&action=elementor';
48 }
49 ?>
50 <div class="actions-area">
51 <a href="<?php echo $post_edit_link; ?>" title="Edit" target="_blank" class="btn-default step-edit">
52 <?php require WPFNL_DIR . '/admin/partials/icons/edit-icon.php'; ?>
53 <?php echo __('Edit', 'wpfnl'); ?>
54 </a>
55 <a href="<?php echo $link; ?>" target="_blank" title="Preview" class="single-action step-preview">
56 <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
57 </a>
58 <!-- <a href="#" title="Duplicate" class="single-action step-duplicate">
59 <?php //require WPFNL_DIR . '/admin/partials/icons/duplicate-icon.php';?>
60 </a>
61 <a href="#" title="AB Testing" class="single-action step-ab-testing">
62 <?php //require WPFNL_DIR . '/admin/partials/icons/ab-testing-icon.php';?>
63 </a> -->
64 <a href="#" title="Delete" class="single-action step-delete" id="wpfnl-delete-step" data-id="<?php echo $id; ?>">
65 <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
66 </a>
67 <a href="<?php echo $settings_link; ?>" title="Settings" class="single-action step-settings">
68 <?php require WPFNL_DIR . '/admin/partials/icons/settings-icon.php'; ?>
69 </a>
70 </div>
71 </div>
72
73 <div class="steps-box create-vairation">
74 <?php require WPFNL_DIR . '/admin/partials/icons/funnel-icon-xl.php'; ?>
75 <span class="no-product-tag coming-soon-tag"><?php echo __('Coming Soon', 'wpfnl'); ?></span>
76 <span class="step-page-title"><?php echo __('Start Split Test', 'wpfnl'); ?></span>
77
78 <div class="actions-area">
79 <a href="" title="Create Variations" class="btn-default add-variation">
80 <?php require WPFNL_DIR . '/admin/partials/icons/plus-icon.php'; ?>
81 <?php echo __('Create Variations', 'wpfnl'); ?>
82 </a>
83 <span class="helper-text"><?php echo __('Optimize your lead and sales with split tests', 'wpfnl'); ?></span>
84 </div>
85 </div>
86 <!-- /steps box -->
87
88 </div>
89 </div>
90 <!-- /#step-checkout -->
91