Changeset 2403850
- Timestamp:
- 10/21/2020 09:10:42 AM (5 years ago)
- Location:
- deliveryplus-by-invisible-dragon
- Files:
-
- 8 edited
- 1 copied
-
tags/1.2.1 (copied) (copied from deliveryplus-by-invisible-dragon/trunk)
-
tags/1.2.1/class.DeliveryPlus_Filter_Count.php (modified) (1 diff)
-
tags/1.2.1/id-delivery.php (modified) (1 diff)
-
tags/1.2.1/includes/single-options.php (modified) (1 diff)
-
tags/1.2.1/readme.txt (modified) (1 diff)
-
trunk/class.DeliveryPlus_Filter_Count.php (modified) (1 diff)
-
trunk/id-delivery.php (modified) (1 diff)
-
trunk/includes/single-options.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
deliveryplus-by-invisible-dragon/tags/1.2.1/class.DeliveryPlus_Filter_Count.php
r2402544 r2403850 7 7 8 8 public static function get_value($val, $package, $rule) { 9 return count($package['contents']); 9 $qty = 0; 10 11 foreach ( $package['contents'] as $item_id => $values ) { 12 $qty += $values['quantity']; 13 } 14 15 return $qty; 10 16 } 11 17 -
deliveryplus-by-invisible-dragon/tags/1.2.1/id-delivery.php
r2402544 r2403850 7 7 Author URI: https://invisibledragonltd.com/ 8 8 License: Private 9 Version: 1.2. 09 Version: 1.2.1 10 10 Requires PHP: 5.6 11 11 -
deliveryplus-by-invisible-dragon/tags/1.2.1/includes/single-options.php
r2402544 r2403850 20 20 <span class="idpo_option"> 21 21 <label> 22 <input id="_idd_enable_options" name="_idd_enable_options" type="checkbox" <?php if( $value) echo 'checked'; ?> />22 <input id="_idd_enable_options" name="_idd_enable_options" type="checkbox" <?php if(is_array($value)) echo 'checked'; ?> /> 23 23 <?= __('Enable'); ?> 24 24 <?= wc_help_tip( __( -
deliveryplus-by-invisible-dragon/tags/1.2.1/readme.txt
r2402544 r2403850 62 62 * Total number of items filter 63 63 * Each product can choose which delivery options apply to itself (optional) 64 65 = 1.2.1 = 66 * Bugfix 64 67 65 68 == Upgrade Notice == -
deliveryplus-by-invisible-dragon/trunk/class.DeliveryPlus_Filter_Count.php
r2402544 r2403850 7 7 8 8 public static function get_value($val, $package, $rule) { 9 return count($package['contents']); 9 $qty = 0; 10 11 foreach ( $package['contents'] as $item_id => $values ) { 12 $qty += $values['quantity']; 13 } 14 15 return $qty; 10 16 } 11 17 -
deliveryplus-by-invisible-dragon/trunk/id-delivery.php
r2402544 r2403850 7 7 Author URI: https://invisibledragonltd.com/ 8 8 License: Private 9 Version: 1.2. 09 Version: 1.2.1 10 10 Requires PHP: 5.6 11 11 -
deliveryplus-by-invisible-dragon/trunk/includes/single-options.php
r2402544 r2403850 20 20 <span class="idpo_option"> 21 21 <label> 22 <input id="_idd_enable_options" name="_idd_enable_options" type="checkbox" <?php if( $value) echo 'checked'; ?> />22 <input id="_idd_enable_options" name="_idd_enable_options" type="checkbox" <?php if(is_array($value)) echo 'checked'; ?> /> 23 23 <?= __('Enable'); ?> 24 24 <?= wc_help_tip( __( -
deliveryplus-by-invisible-dragon/trunk/readme.txt
r2402544 r2403850 62 62 * Total number of items filter 63 63 * Each product can choose which delivery options apply to itself (optional) 64 65 = 1.2.1 = 66 * Bugfix 64 67 65 68 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.