WooCommerce Checkout Manager - Version 3.3

Version Description

fields positioning, fixed.

=

Download this release

Release Info

Developer Emark
Plugin Icon 128x128 WooCommerce Checkout Manager
Version 3.3
Comparing to
See all releases

Code changes from version 3.2 to 3.3

Files changed (2) hide show
  1. readme.txt +14 -2
  2. woocommerce-checkout-manager.php +35 -5
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.trottyzone.com/donation/
4
  Tags: woocommerce, wc, wc checkout settings, remove checkout fields, woothemes, woo commerce, links, shipping, order, fields, plugin, checkout page, manager, checkout field, checkout manager,plugin for plugin, paypal, payment,require, required remove, woocommerce checkout manager, checkout field, checkout, checkout woocommerce
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 3.2
8
  License: GPLv2 or later
9
 
10
  Manages WooCommerce Checkout
@@ -22,6 +22,8 @@ Manages WooCommerce Checkout
22
 
23
  5. The new fields that you created their data are added to the Order Summary & Receipt under "Additional information."
24
 
 
 
25
  = Notes* =
26
  1. You must include the abbreviation for the custom field WITHOUT spaces.
27
  2. <a href="http://www.trottyzone.com/donate/">Donation</a> for this great plugin you love and also to keep continued development.
@@ -74,6 +76,10 @@ The new fields that you created, the data that the customer entered are printed
74
 
75
  3. Rename Label for Billing and Shipping Field for Country Field.
76
 
 
 
 
 
77
  = Included Translations =
78
  * SPANISH
79
  * GERMAN
@@ -165,6 +171,9 @@ bug fix
165
  = 3.2 =
166
  code review
167
 
 
 
 
168
  == Changelog ==
169
 
170
  = 1.0 =
@@ -225,4 +234,7 @@ Javascript fix and rename fields inserted
225
  bug fix
226
 
227
  = 3.2 =
228
- code review
 
 
 
4
  Tags: woocommerce, wc, wc checkout settings, remove checkout fields, woothemes, woo commerce, links, shipping, order, fields, plugin, checkout page, manager, checkout field, checkout manager,plugin for plugin, paypal, payment,require, required remove, woocommerce checkout manager, checkout field, checkout, checkout woocommerce
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 3.3
8
  License: GPLv2 or later
9
 
10
  Manages WooCommerce Checkout
22
 
23
  5. The new fields that you created their data are added to the Order Summary & Receipt under "Additional information."
24
 
25
+ 6. Choose to disable the fields title name Additional information on the checkout page and/or checkout details (summary) & Receipt.
26
+
27
  = Notes* =
28
  1. You must include the abbreviation for the custom field WITHOUT spaces.
29
  2. <a href="http://www.trottyzone.com/donate/">Donation</a> for this great plugin you love and also to keep continued development.
76
 
77
  3. Rename Label for Billing and Shipping Field for Country Field.
78
 
79
+ = Disable Addtional information =
80
+
81
+ Two checkboxes are located above "Add New Field Section" one to remove the title for Checkout Page and other to remove it on the checkout details and receipt.
82
+
83
  = Included Translations =
84
  * SPANISH
85
  * GERMAN
171
  = 3.2 =
172
  code review
173
 
174
+ = 3.3 =
175
+ fields positioning, fixed.
176
+
177
  == Changelog ==
178
 
179
  = 1.0 =
234
  bug fix
235
 
236
  = 3.2 =
237
+ code review
238
+
239
+ = 3.3 =
240
+ fields positioning, fixed.
woocommerce-checkout-manager.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: WooCommerce Checkout Manager
5
  Plugin URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro
6
  Description: Manages WooCommerce Checkout fields
7
- Version: 3.2
8
  Author: Ephrain Marchan
9
  Author URI: http://www.trottyzone.com
10
  License: GPLv2 or later
@@ -47,7 +47,8 @@ function wccs_install() {
47
  )
48
  ),
49
  'checkness' => array(
50
- 'checkbox1' => true
 
51
  )
52
  );
53
 
@@ -529,10 +530,33 @@ PLEASE <a href="http://www.trottyzone.com/donate/">DONATE </a><3
529
 
530
  <div style="margin:20px 0 15px 10px;color:green;font-size:18px;float:left;">:: <?php _e('Add New Field Section', 'woocommerce-checkout-manager'); ?> ::</div>
531
 
532
- <div style="margin:20px 0 15px 10px;float:right;">
533
- <input name="wccs_settings[checkness][checkbox1]" type="checkbox" value="true" <?php if ( true == ($options['checkness']['checkbox1'])) echo "checked='checked'"; ?> />
 
 
 
 
 
 
 
 
 
 
 
534
 
535
- <?php _e('Not adding new fields? Uncheck this box to disable "Addition information" title from checkout details', 'woocommerce-checkout-manager'); ?></div>
 
 
 
 
 
 
 
 
 
 
 
 
536
 
537
  <style type="text/css">
538
  .wccs-clone {
@@ -985,6 +1009,8 @@ remove_filter( 'woocommerce_email_footer_text', 'strip_tags' );
985
 
986
 
987
  function wccs_add_title() {
 
 
988
  echo '<div class="add_info_wccs"><br><h3>' . __( 'Additional information', 'woocommerce-checkout-manager' ) . '</h3></div>';
989
  }
990
  add_action('woocommerce_after_checkout_billing_form', 'wccs_add_title');
@@ -1340,6 +1366,10 @@ if ( is_page('checkout') )
1340
  echo '<style type="text/css">
1341
  .wccs-field-class {
1342
  float:left;
 
 
 
 
1343
  }
1344
  .add_info_wccs {
1345
  clear: both;
4
  Plugin Name: WooCommerce Checkout Manager
5
  Plugin URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro
6
  Description: Manages WooCommerce Checkout fields
7
+ Version: 3.3
8
  Author: Ephrain Marchan
9
  Author URI: http://www.trottyzone.com
10
  License: GPLv2 or later
47
  )
48
  ),
49
  'checkness' => array(
50
+ 'checkbox1' => true,
51
+ 'checkbox12' => true
52
  )
53
  );
54
 
530
 
531
  <div style="margin:20px 0 15px 10px;color:green;font-size:18px;float:left;">:: <?php _e('Add New Field Section', 'woocommerce-checkout-manager'); ?> ::</div>
532
 
533
+ <table class="widefat" border="1" >
534
+ <thead>
535
+ <th width="100%" style="text-align:center;">Disable Additional information title on</th>
536
+ </thead>
537
+ </table>
538
+ <table class="widefat" border="1" >
539
+ <thead>
540
+ <tr>
541
+ <th width="50%" style="text-align:center;"><?php _e('Checkout Page', 'atc-menu'); ?></th>
542
+ <th width="50%" style="text-align:center;"><?php _e('Checkout Details and Email Receipt', 'atc-menu'); ?></th>
543
+
544
+ </tr>
545
+ </thead>
546
 
547
+
548
+ <tbody>
549
+ <tr>
550
+
551
+ <td style="text-align:center;"><input name="wccs_settings[checkness][checkbox12]" type="checkbox" value="true" <?php if ( true == ($options['checkness']['checkbox12'])) echo "checked='checked'"; ?> /></td>
552
+
553
+ <td style="text-align:center;"><input name="wccs_settings[checkness][checkbox1]" type="checkbox" value="true" <?php if ( true == ($options['checkness']['checkbox1'])) echo "checked='checked'"; ?> /></td>
554
+
555
+ </tr>
556
+
557
+ </tbody>
558
+
559
+ </table>
560
 
561
  <style type="text/css">
562
  .wccs-clone {
1009
 
1010
 
1011
  function wccs_add_title() {
1012
+ $options = get_option( 'wccs_settings' );
1013
+ if (true == ($options['checkness']['checkbox12']) )
1014
  echo '<div class="add_info_wccs"><br><h3>' . __( 'Additional information', 'woocommerce-checkout-manager' ) . '</h3></div>';
1015
  }
1016
  add_action('woocommerce_after_checkout_billing_form', 'wccs_add_title');
1366
  echo '<style type="text/css">
1367
  .wccs-field-class {
1368
  float:left;
1369
+ width: 47%;
1370
+ }
1371
+ .wccs-field-class:nth-child(2n+2) {
1372
+ float: right;
1373
  }
1374
  .add_info_wccs {
1375
  clear: both;