Changeset 2746219
- Timestamp:
- 06/22/2022 06:59:29 AM (4 years ago)
- Location:
- wcf-smart-coupon-email
- Files:
-
- 11 edited
-
assets/banner-772x250.jpg (modified) (previous)
-
tags/1.0/asset/css/wcf_smart_coupon.css (modified) (2 diffs)
-
tags/1.0/asset/js/wcf_smart_coupon_main.js (modified) (1 diff)
-
tags/1.0/order_amount_form.php (modified) (5 diffs)
-
tags/1.0/wcf_smart_coupon_email.php (modified) (1 diff)
-
tags/1.0/welcome_wcf_sync.php (modified) (1 diff)
-
trunk/asset/css/wcf_smart_coupon.css (modified) (2 diffs)
-
trunk/asset/js/wcf_smart_coupon_main.js (modified) (1 diff)
-
trunk/order_amount_form.php (modified) (5 diffs)
-
trunk/wcf_smart_coupon_email.php (modified) (1 diff)
-
trunk/welcome_wcf_sync.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wcf-smart-coupon-email/tags/1.0/asset/css/wcf_smart_coupon.css
r2742216 r2746219 2 2 max-width:70%!important; 3 3 } 4 input[type=checkbox]{5 margin-left:100px ;6 margin-top:0px ;7 height:20px ;8 width:20px ;4 #enblbutton{ 5 margin-left:100px!important; 6 margin-top:0px!important; 7 height:20px!important; 8 width:20px!important; 9 9 } 10 input[type=checkbox]:checked::before{11 width: 2.0rem;10 #enblbutton:checked::before{ 11 width: 1.5rem!important; 12 12 } 13 13 input[type=text]{ 14 14 max-width:65%!important; 15 15 } 16 #sel 1{16 #sel{ 17 17 max-width:65%!important; 18 18 } … … 20 20 max-width:65%!important; 21 21 } 22 .nav-tabs .nav-link{ 23 color:#0d0d93!important; 24 } 25 .dataTables_wrapper .dataTables_length select{ 26 padding-right:15px!important; 27 28 } -
wcf-smart-coupon-email/tags/1.0/asset/js/wcf_smart_coupon_main.js
r2742216 r2746219 2 2 $('#wcf_smart_cooa_logs').DataTable(); 3 3 } ); 4 5 document.getElementById('sel1').value = "<?php echo esc_html(get_option('wcf_cooa_coupon_type')); ?>";6 document.getElementById('temp').value = "<?php echo esc_html(get_option('wcf_cooa_email_temp')); ?>"; -
wcf-smart-coupon-email/tags/1.0/order_amount_form.php
r2742216 r2746219 1 1 <?php 2 2 if(isset($_POST['submitoam'])) { 3 3 4 $is_enable_oa = sanitize_key($_POST['odamntactive']); 4 5 $min = sanitize_text_field($_POST['minamnt']); … … 8 9 $coupon_value = sanitize_text_field($_POST['coupon_value']); 9 10 $email_temp = sanitize_text_field($_POST['email_temp']); 11 10 12 if(!empty($is_enable_oa)) { 11 13 $enable = 1; … … 32 34 <input type="checkbox" class="checkbox" id="enblbutton" name="odamntactive"> 33 35 <?php } ?> 36 <p style="margin-left:200px; margin-top:-26px;">Enable to send coupons to those customers who have spend a specific amount on order.</p> 34 37 </div> 35 38 <div class="form-group" style="margin-top:50px;"> 36 39 <label for="coupon_type">Coupon Type:</label> 37 <select class="form-control" id="sel 1" name="coupon_type">38 <option name="coupon_type" value="percent"<?php echo esc_html(get_option('wcf_cooa_coupon_type')); ?>>Percentage</option>39 <option name="coupon_type" value="fixed_cart"<?php echo esc_html(get_option('wcf_cooa_coupon_type'));?>>Fixed</option>40 <select class="form-control" id="sel" name="coupon_type"> 41 <option name="coupon_type" value="percent"<?php echo get_option('wcf_cooa_coupon_type'); ?>>Percentage</option> 42 <option name="coupon_type" value="fixed_cart"<?php echo get_option('wcf_cooa_coupon_type');?>>Fixed</option> 40 43 </select> 41 44 </div> … … 55 58 <div class="mb-3" style="margin-top:25px;"> 56 59 <label for="expday">Coupon Expiry (days):</label> 57 <input type="text" class="form-control" id="expierydays" placeholder="Enter Expi ery Days." name="expryday" value="<?php echo esc_html(get_option('wcf_cooa_coupon_exp')); ?>" required>60 <input type="text" class="form-control" id="expierydays" placeholder="Enter Expiry Days." name="expryday" value="<?php echo esc_html(get_option('wcf_cooa_coupon_exp')); ?>" required> 58 61 <p>The Coupon will expire after the certain days if not used. Set to -1 for unlimited coupon validity.</p> 59 62 </div> … … 61 64 <label for="email_temp">Select Email Template :</label> 62 65 <select class="form-control" id="temp" name="email_temp"> 63 <option name="email_temp" value="temp1"<?php echo esc_html(get_option('wcf_cooa_email_temp')); ?>>Default</option>64 <option name="email_temp" value="temp2"<?php echo esc_html(get_option('wcf_cooa_email_temp'));?>>Template2</option>65 <option name="email_temp" value="temp3"<?php echo esc_html(get_option('wcf_cooa_email_temp'));?>>Template3</option>66 <option name="email_temp" value="temp1"<?php echo get_option('wcf_cooa_email_temp'); ?>>Default</option> 67 <option name="email_temp" value="temp2"<?php echo get_option('wcf_cooa_email_temp');?>>Template2</option> 68 <option name="email_temp" value="temp3"<?php echo get_option('wcf_cooa_email_temp');?>>Template3</option> 66 69 </select> 67 70 </div> 68 <button type="submit" class="btn btn-primary" name="submitoam" onsubmit="return false;" style="margin-top:25px;">Save</button>71 <button type="submit" class="btn btn-primary" name="submitoam" style="margin-top:25px;">Save</button> 69 72 </form> 70 73 </div> 74 <script type="text/javascript"> 75 document.getElementById('sel').value = "<?php echo get_option('wcf_cooa_coupon_type'); ?>"; 76 document.getElementById('temp').value = "<?php echo get_option('wcf_cooa_email_temp'); ?>"; 77 </script> -
wcf-smart-coupon-email/tags/1.0/wcf_smart_coupon_email.php
r2742216 r2746219 152 152 153 153 function wcf_smart_coupon_email_style() { 154 wp_enqueue_style( 'wcf_bootstrap_min', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/bootstrap.min.5.2.css', false, '5. 2' );154 wp_enqueue_style( 'wcf_bootstrap_min', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/bootstrap.min.5.2.css', false, '5.3.1' ); 155 155 wp_enqueue_style( 'wcf_datatables_min', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/jquery.dataTables.1.11.5.css', false, '1.11.5' ); 156 wp_enqueue_style( 'wcf_smart_coupon_cs', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/wcf_smart_coupon.css', false, '1.0' );156 wp_enqueue_style( 'wcf_smart_coupon_cs', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/wcf_smart_coupon.css', false, '1.0' ); 157 157 } 158 158 add_action( 'admin_enqueue_scripts', 'wcf_smart_coupon_email_style' ); 159 function wcf_smart_coupon_email_js() {160 wp_ enqueue_script( 'wcf_datatables_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/jquery.dataTables.1.11.5.js', true, '1.11.5' );161 wp_enqueue_script( 'wcf_bootstrap_min_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/bootstrap.min.5.2.js', true, '5.2' );162 wp_enqueue_script( 'wcf_smart_coupon_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/wcf_smart_coupon_main.js', true, '1.0' ); 163 }159 function wcf_smart_coupon_email_js() { 160 wp_add_inline_script( 'jquery-core', 'window.$ = jQuery;' ); 161 wp_enqueue_script( 'wcf_bootstrap_min_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/bootstrap.min.5.2.js', true, '5.3.1' ); 162 163 } 164 164 add_action( 'admin_enqueue_scripts', 'wcf_smart_coupon_email_js' ); 165 165 function wcfmy_scripts_method() { 166 wp_register_script('custom_script', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/wcf_smart_coupon_main.js', array('jquery'), true, '1.0' ); 167 wp_enqueue_script('custom_script'); 166 wp_add_inline_script( 'jquery-core', 'window.$ = jQuery;' ); 167 wp_register_script('wcf_datatables_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/jquery.dataTables.1.11.5.js', array('jquery'), '1.11.5', false); 168 wp_enqueue_script('wcf_datatables_js'); 169 wp_register_script('wcf_smart_coupon_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/wcf_smart_coupon_main.js', array('jquery'), '1.0', true ); 170 wp_enqueue_script('wcf_smart_coupon_js'); 168 171 } 169 172 add_action('admin_enqueue_scripts', 'wcfmy_scripts_method'); -
wcf-smart-coupon-email/tags/1.0/welcome_wcf_sync.php
r2742216 r2746219 1 <?php2 echo"<h3>Welcome to WCF Smart Coupon Email</h3>";3 ?>4 1 <div class="container" style="margin-top:30px; max-width:100%;"> 5 <ul class="nav nav-tabs"> 6 <li class="active"><a class="nav-link" data-toggle="tab" href="#home">Coupon On Order Amount</a></li> 7 <li><a class="nav-link" data-toggle="tab" href="#menu1">Multi Order Coupon (Pro)</a></li> 8 <li><a class="nav-link" data-toggle="tab" href="#menu2">Coupon after certain days (Pro)</a></li> 9 <li><a class="nav-link" data-toggle="tab" href="#menu3">Birthady Coupon (Pro)</a></li> 10 </ul> 11 <div class="tab-content"> 12 <div id="home" class="tab-pane fade show active"> 13 <h2>Coupon On Order Amount</h2> 14 <?php include('order_amount_form.php'); ?> 15 </div> 16 <div id="menu1" class="tab-pane fade"> 17 <h3>Multi Order Coupon (Pro)</h3> 18 <p>This Feature is available in Pro Version</p> 19 </div> 20 <div id="menu2" class="tab-pane fade"> 21 <h3>Coupon after certain days (Pro)</h3> 22 <p>This Feature is available in Pro Version</p> 23 </div> 24 <div id="menu3" class="tab-pane fade"> 25 <h3>Birthady Coupon (Pro)</h3> 26 <p>This Feature is available in Pro Version</p> 27 </div> 2 <h3>Welcome to WCF Smart Coupon Email</h3><br> 3 <ul class="nav nav-tabs" id="myTab" role="tablist"> 4 <li class="nav-item" role="presentation"> 5 <button class="nav-link active" id="cooa-tab" data-bs-toggle="tab" data-bs-target="#cooa-tab-pane" type="button" role="tab" aria-controls="cooa-tab-pane" aria-selected="true">Coupon On Order Amount</button> 6 </li> 7 <li class="nav-item" role="presentation"> 8 <button class="nav-link" id="moc-tab" data-bs-toggle="tab" data-bs-target="#moc-tab-pane" type="button" role="tab" aria-controls="moc-tab-pane" aria-selected="false">Multi Order Coupon (Pro)</button> 9 </li> 10 <li class="nav-item" role="presentation"> 11 <button class="nav-link" id="cac-tab" data-bs-toggle="tab" data-bs-target="#cac-tab-pane" type="button" role="tab" aria-controls="cac-tab-pane" aria-selected="false">Coupon after certain days (Pro)</button> 12 </li> 13 <li class="nav-item" role="presentation"> 14 <button class="nav-link" id="bce-tab" data-bs-toggle="tab" data-bs-target="#bce-tab-pane" type="button" role="tab" aria-controls="bce-tab-pane" aria-selected="false">Birthady Coupon (Pro)</button> 15 </li> 16 </ul> 17 <div class="tab-content" id="myTabContent"> 18 <div class="tab-pane fade show active" id="cooa-tab-pane" role="tabpanel" aria-labelledby="cooa-tab" tabindex="0"> 19 <br> 20 <h3>Coupon On Order Amount</h3> 21 <?php include('order_amount_form.php'); ?> 22 </div> 23 <div class="tab-pane fade" id="moc-tab-pane" role="tabpanel" aria-labelledby="moc-tab" tabindex="0"> 24 <br><h3>Multi Order Coupon (Pro)</h3> 25 <p>This Feature is available in Pro Version</p> 26 27 </div> 28 <div class="tab-pane fade" id="cac-tab-pane" role="tabpanel" aria-labelledby="cac-tab" tabindex="0"> 29 <br><h3>Coupon after certain days (Pro)</h3> 30 <p>This Feature is available in Pro Version</p> 31 </div> 32 <div class="tab-pane fade" id="bce-tab-pane" role="tabpanel" aria-labelledby="bce-tab" tabindex="0"> 33 <br><h3>Birthady Coupon (Pro)</h3> 34 <p>This Feature is available in Pro Version</p> 28 35 </div> 29 36 </div> 37 </div> -
wcf-smart-coupon-email/trunk/asset/css/wcf_smart_coupon.css
r2742216 r2746219 2 2 max-width:70%!important; 3 3 } 4 input[type=checkbox]{5 margin-left:100px ;6 margin-top:0px ;7 height:20px ;8 width:20px ;4 #enblbutton{ 5 margin-left:100px!important; 6 margin-top:0px!important; 7 height:20px!important; 8 width:20px!important; 9 9 } 10 input[type=checkbox]:checked::before{11 width: 2.0rem;10 #enblbutton:checked::before{ 11 width: 1.5rem!important; 12 12 } 13 13 input[type=text]{ 14 14 max-width:65%!important; 15 15 } 16 #sel 1{16 #sel{ 17 17 max-width:65%!important; 18 18 } … … 20 20 max-width:65%!important; 21 21 } 22 .nav-tabs .nav-link{ 23 color:#0d0d93!important; 24 } 25 .dataTables_wrapper .dataTables_length select{ 26 padding-right:15px!important; 27 28 } -
wcf-smart-coupon-email/trunk/asset/js/wcf_smart_coupon_main.js
r2742216 r2746219 2 2 $('#wcf_smart_cooa_logs').DataTable(); 3 3 } ); 4 5 document.getElementById('sel1').value = "<?php echo esc_html(get_option('wcf_cooa_coupon_type')); ?>";6 document.getElementById('temp').value = "<?php echo esc_html(get_option('wcf_cooa_email_temp')); ?>"; -
wcf-smart-coupon-email/trunk/order_amount_form.php
r2742216 r2746219 1 1 <?php 2 2 if(isset($_POST['submitoam'])) { 3 3 4 $is_enable_oa = sanitize_key($_POST['odamntactive']); 4 5 $min = sanitize_text_field($_POST['minamnt']); … … 8 9 $coupon_value = sanitize_text_field($_POST['coupon_value']); 9 10 $email_temp = sanitize_text_field($_POST['email_temp']); 11 10 12 if(!empty($is_enable_oa)) { 11 13 $enable = 1; … … 32 34 <input type="checkbox" class="checkbox" id="enblbutton" name="odamntactive"> 33 35 <?php } ?> 36 <p style="margin-left:200px; margin-top:-26px;">Enable to send coupons to those customers who have spend a specific amount on order.</p> 34 37 </div> 35 38 <div class="form-group" style="margin-top:50px;"> 36 39 <label for="coupon_type">Coupon Type:</label> 37 <select class="form-control" id="sel 1" name="coupon_type">38 <option name="coupon_type" value="percent"<?php echo esc_html(get_option('wcf_cooa_coupon_type')); ?>>Percentage</option>39 <option name="coupon_type" value="fixed_cart"<?php echo esc_html(get_option('wcf_cooa_coupon_type'));?>>Fixed</option>40 <select class="form-control" id="sel" name="coupon_type"> 41 <option name="coupon_type" value="percent"<?php echo get_option('wcf_cooa_coupon_type'); ?>>Percentage</option> 42 <option name="coupon_type" value="fixed_cart"<?php echo get_option('wcf_cooa_coupon_type');?>>Fixed</option> 40 43 </select> 41 44 </div> … … 55 58 <div class="mb-3" style="margin-top:25px;"> 56 59 <label for="expday">Coupon Expiry (days):</label> 57 <input type="text" class="form-control" id="expierydays" placeholder="Enter Expi ery Days." name="expryday" value="<?php echo esc_html(get_option('wcf_cooa_coupon_exp')); ?>" required>60 <input type="text" class="form-control" id="expierydays" placeholder="Enter Expiry Days." name="expryday" value="<?php echo esc_html(get_option('wcf_cooa_coupon_exp')); ?>" required> 58 61 <p>The Coupon will expire after the certain days if not used. Set to -1 for unlimited coupon validity.</p> 59 62 </div> … … 61 64 <label for="email_temp">Select Email Template :</label> 62 65 <select class="form-control" id="temp" name="email_temp"> 63 <option name="email_temp" value="temp1"<?php echo esc_html(get_option('wcf_cooa_email_temp')); ?>>Default</option>64 <option name="email_temp" value="temp2"<?php echo esc_html(get_option('wcf_cooa_email_temp'));?>>Template2</option>65 <option name="email_temp" value="temp3"<?php echo esc_html(get_option('wcf_cooa_email_temp'));?>>Template3</option>66 <option name="email_temp" value="temp1"<?php echo get_option('wcf_cooa_email_temp'); ?>>Default</option> 67 <option name="email_temp" value="temp2"<?php echo get_option('wcf_cooa_email_temp');?>>Template2</option> 68 <option name="email_temp" value="temp3"<?php echo get_option('wcf_cooa_email_temp');?>>Template3</option> 66 69 </select> 67 70 </div> 68 <button type="submit" class="btn btn-primary" name="submitoam" onsubmit="return false;" style="margin-top:25px;">Save</button>71 <button type="submit" class="btn btn-primary" name="submitoam" style="margin-top:25px;">Save</button> 69 72 </form> 70 73 </div> 74 <script type="text/javascript"> 75 document.getElementById('sel').value = "<?php echo get_option('wcf_cooa_coupon_type'); ?>"; 76 document.getElementById('temp').value = "<?php echo get_option('wcf_cooa_email_temp'); ?>"; 77 </script> -
wcf-smart-coupon-email/trunk/wcf_smart_coupon_email.php
r2742216 r2746219 152 152 153 153 function wcf_smart_coupon_email_style() { 154 wp_enqueue_style( 'wcf_bootstrap_min', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/bootstrap.min.5.2.css', false, '5. 2' );154 wp_enqueue_style( 'wcf_bootstrap_min', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/bootstrap.min.5.2.css', false, '5.3.1' ); 155 155 wp_enqueue_style( 'wcf_datatables_min', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/jquery.dataTables.1.11.5.css', false, '1.11.5' ); 156 wp_enqueue_style( 'wcf_smart_coupon_cs', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/wcf_smart_coupon.css', false, '1.0' );156 wp_enqueue_style( 'wcf_smart_coupon_cs', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/css/wcf_smart_coupon.css', false, '1.0' ); 157 157 } 158 158 add_action( 'admin_enqueue_scripts', 'wcf_smart_coupon_email_style' ); 159 function wcf_smart_coupon_email_js() {160 wp_ enqueue_script( 'wcf_datatables_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/jquery.dataTables.1.11.5.js', true, '1.11.5' );161 wp_enqueue_script( 'wcf_bootstrap_min_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/bootstrap.min.5.2.js', true, '5.2' );162 wp_enqueue_script( 'wcf_smart_coupon_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/wcf_smart_coupon_main.js', true, '1.0' ); 163 }159 function wcf_smart_coupon_email_js() { 160 wp_add_inline_script( 'jquery-core', 'window.$ = jQuery;' ); 161 wp_enqueue_script( 'wcf_bootstrap_min_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/bootstrap.min.5.2.js', true, '5.3.1' ); 162 163 } 164 164 add_action( 'admin_enqueue_scripts', 'wcf_smart_coupon_email_js' ); 165 165 function wcfmy_scripts_method() { 166 wp_register_script('custom_script', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/wcf_smart_coupon_main.js', array('jquery'), true, '1.0' ); 167 wp_enqueue_script('custom_script'); 166 wp_add_inline_script( 'jquery-core', 'window.$ = jQuery;' ); 167 wp_register_script('wcf_datatables_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/jquery.dataTables.1.11.5.js', array('jquery'), '1.11.5', false); 168 wp_enqueue_script('wcf_datatables_js'); 169 wp_register_script('wcf_smart_coupon_js', plugin_dir_url( '_FILE_' ) . 'wcf-smart-coupon-email/asset/js/wcf_smart_coupon_main.js', array('jquery'), '1.0', true ); 170 wp_enqueue_script('wcf_smart_coupon_js'); 168 171 } 169 172 add_action('admin_enqueue_scripts', 'wcfmy_scripts_method'); -
wcf-smart-coupon-email/trunk/welcome_wcf_sync.php
r2742216 r2746219 1 <?php2 echo"<h3>Welcome to WCF Smart Coupon Email</h3>";3 ?>4 1 <div class="container" style="margin-top:30px; max-width:100%;"> 5 <ul class="nav nav-tabs"> 6 <li class="active"><a class="nav-link" data-toggle="tab" href="#home">Coupon On Order Amount</a></li> 7 <li><a class="nav-link" data-toggle="tab" href="#menu1">Multi Order Coupon (Pro)</a></li> 8 <li><a class="nav-link" data-toggle="tab" href="#menu2">Coupon after certain days (Pro)</a></li> 9 <li><a class="nav-link" data-toggle="tab" href="#menu3">Birthady Coupon (Pro)</a></li> 10 </ul> 11 <div class="tab-content"> 12 <div id="home" class="tab-pane fade show active"> 13 <h2>Coupon On Order Amount</h2> 14 <?php include('order_amount_form.php'); ?> 15 </div> 16 <div id="menu1" class="tab-pane fade"> 17 <h3>Multi Order Coupon (Pro)</h3> 18 <p>This Feature is available in Pro Version</p> 19 </div> 20 <div id="menu2" class="tab-pane fade"> 21 <h3>Coupon after certain days (Pro)</h3> 22 <p>This Feature is available in Pro Version</p> 23 </div> 24 <div id="menu3" class="tab-pane fade"> 25 <h3>Birthady Coupon (Pro)</h3> 26 <p>This Feature is available in Pro Version</p> 27 </div> 2 <h3>Welcome to WCF Smart Coupon Email</h3><br> 3 <ul class="nav nav-tabs" id="myTab" role="tablist"> 4 <li class="nav-item" role="presentation"> 5 <button class="nav-link active" id="cooa-tab" data-bs-toggle="tab" data-bs-target="#cooa-tab-pane" type="button" role="tab" aria-controls="cooa-tab-pane" aria-selected="true">Coupon On Order Amount</button> 6 </li> 7 <li class="nav-item" role="presentation"> 8 <button class="nav-link" id="moc-tab" data-bs-toggle="tab" data-bs-target="#moc-tab-pane" type="button" role="tab" aria-controls="moc-tab-pane" aria-selected="false">Multi Order Coupon (Pro)</button> 9 </li> 10 <li class="nav-item" role="presentation"> 11 <button class="nav-link" id="cac-tab" data-bs-toggle="tab" data-bs-target="#cac-tab-pane" type="button" role="tab" aria-controls="cac-tab-pane" aria-selected="false">Coupon after certain days (Pro)</button> 12 </li> 13 <li class="nav-item" role="presentation"> 14 <button class="nav-link" id="bce-tab" data-bs-toggle="tab" data-bs-target="#bce-tab-pane" type="button" role="tab" aria-controls="bce-tab-pane" aria-selected="false">Birthady Coupon (Pro)</button> 15 </li> 16 </ul> 17 <div class="tab-content" id="myTabContent"> 18 <div class="tab-pane fade show active" id="cooa-tab-pane" role="tabpanel" aria-labelledby="cooa-tab" tabindex="0"> 19 <br> 20 <h3>Coupon On Order Amount</h3> 21 <?php include('order_amount_form.php'); ?> 22 </div> 23 <div class="tab-pane fade" id="moc-tab-pane" role="tabpanel" aria-labelledby="moc-tab" tabindex="0"> 24 <br><h3>Multi Order Coupon (Pro)</h3> 25 <p>This Feature is available in Pro Version</p> 26 27 </div> 28 <div class="tab-pane fade" id="cac-tab-pane" role="tabpanel" aria-labelledby="cac-tab" tabindex="0"> 29 <br><h3>Coupon after certain days (Pro)</h3> 30 <p>This Feature is available in Pro Version</p> 31 </div> 32 <div class="tab-pane fade" id="bce-tab-pane" role="tabpanel" aria-labelledby="bce-tab" tabindex="0"> 33 <br><h3>Birthady Coupon (Pro)</h3> 34 <p>This Feature is available in Pro Version</p> 28 35 </div> 29 36 </div> 37 </div>
Note: See TracChangeset
for help on using the changeset viewer.