PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.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 / steps / thankyou / views / settings.php

settings.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.13.3, at admin/modules/steps/thankyou/views/settings.php

124 lines 5.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Thank you step
4 *
5 * @package
6 */
7 ?>
8 <div class="steps-settings thank-you">
9 <?php require WPFNL_DIR . '/admin/modules/steps/general/step-title.php'; ?>
10 <ul class="steps-settings__tab-nav">
11 <li class="active">
12 <a href="#thanku-edit-field">
13 <?php
14 require WPFNL_DIR . '/admin/partials/icons/edit-icon.php';
15 echo __('Edit Fields', 'wpfnl');
16 ?>
17 </a>
18 </li>
19 <li>
20 <a href="#thank-u-settings">
21 <?php
22 require WPFNL_DIR . '/admin/partials/icons/settings-icon.php';
23 echo __('Settings', 'wpfnl');
24 ?>
25 </a>
26 </li>
27 </ul>
28
29 <div class="step-settings__tab-content-wrapper">
30
31 <div class="step-settings__single-tab-content thanku-edit-field" id="thanku-edit-field">
32 <div class="wpfnl-box single__settings-box">
33 <div class="wpfnl-field-wrapper">
34 <label><?php echo __('Enable Order Overview', 'wpfnl'); ?></label>
35 <div class="wpfnl-fields">
36 <div class="wpfnl-checkbox no-title">
37 <input type="checkbox" name="enable-order-overview" id="enable-order-overview" <?php checked($this->get_internal_metas_by_key('_wpfnl_thankyou_order_overview'), 'on'); ?>/>
38 <label for="enable-order-overview"></label>
39 </div>
40 </div>
41 </div>
42 <!-- /field-wrapper -->
43
44 <div class="wpfnl-field-wrapper">
45 <label><?php echo __('Enable Order Details', 'wpfnl'); ?></label>
46 <div class="wpfnl-fields">
47 <div class="wpfnl-checkbox no-title">
48 <input type="checkbox" name="enable-order-details" id="enable-order-details" <?php checked($this->get_internal_metas_by_key('_wpfnl_thankyou_order_details'), 'on'); ?>/>
49 <label for="enable-order-details"></label>
50 </div>
51 </div>
52 </div>
53 <!-- /field-wrapper -->
54
55 <div class="wpfnl-field-wrapper">
56 <label><?php echo __('Enable Billing Details', 'wpfnl'); ?></label>
57 <div class="wpfnl-fields">
58 <div class="wpfnl-checkbox no-title">
59 <input type="checkbox" name="enable-billing-details" id="enable-billing-details" <?php checked($this->get_internal_metas_by_key('_wpfnl_thankyou_billing_details'), 'on'); ?>/>
60 <label for="enable-billing-details"></label>
61 </div>
62 </div>
63 </div>
64 <!-- /field-wrapper -->
65
66 <div class="wpfnl-field-wrapper">
67 <label><?php echo __('Enable Shipping Details', 'wpfnl'); ?></label>
68 <div class="wpfnl-fields">
69 <div class="wpfnl-checkbox no-title">
70 <input type="checkbox" name="enable-shipping-details" id="enable-shipping-details" <?php checked($this->get_internal_metas_by_key('_wpfnl_thankyou_shipping_details'), 'on'); ?>/>
71 <label for="enable-shipping-details"></label>
72 </div>
73 </div>
74 </div>
75 <!-- /field-wrapper -->
76 </div>
77 <!-- /settings-box -->
78 </div>
79 <!-- /step-settings__single-tab-content-edit-field -->
80
81 <div class="step-settings__single-tab-content thank-u-settings" id="thank-u-settings">
82 <div class="wpfnl-box single__settings-box">
83 <div class="wpfnl-field-wrapper">
84 <label><?php echo __('Thank You Page Text', 'wpfnl'); ?></label>
85 <div class="wpfnl-fields">
86 <input type="text" name="thankyou-page-text" class="thankyou-page-text" value="<?php echo $this->get_internal_metas_by_key('_wpfnl_thankyou_text'); ?>"/>
87 </div>
88 </div>
89 <!-- /wpfnl-field-wrapper -->
90
91 <div class="wpfnl-field-wrapper">
92 <label><?php echo __('Redirect Link After Purchase', 'wpfnl'); ?></label>
93 <div class="wpfnl-fields">
94 <input type="text" name="rerirect-link" class="thankyou-redirect-link" placeholder="https://" value="<?php echo $this->get_internal_metas_by_key('_wpfnl_thankyou_redirect_link'); ?>"/>
95 </div>
96 </div>
97 <!-- /wpfnl-field-wrapper -->
98
99 </div>
100 <!-- /wpfnl-settings-box -->
101 </div>
102 <!-- /step-settings__single-tab-content-settings -->
103 </div>
104
105 <?php
106 $back2_edit = add_query_arg(
107 [
108 'page' => WPFNL_EDIT_FUNNEL_SLUG,
109 'id' => $this->step->get_funnel_id(),
110 'step_id' => $this->get_id(),
111 ],
112 admin_url('admin.php')
113 );
114 ?>
115
116 <div class="settings-content__footer">
117 <a href="<?php echo $back2_edit; ?>" class="btn-default back2-edit"><?php echo __(' Back to Step', 'wpfnl'); ?></a>
118 <button class="btn-default update" id="wpfnl-update-thank-you-settings" data-id="<?php echo $this->get_id(); ?>">
119 <?php echo __('Update', 'wpfnl'); ?>
120 <span class="wpfnl-loader"></span>
121 </button>
122 <span class="wpfnl-alert box"></span>
123 </div>
124 </div>