Changeset 3089538
- Timestamp:
- 05/20/2024 04:10:37 PM (23 months ago)
- Location:
- canada-post-shipping-for-woocommerce/trunk
- Files:
-
- 3 edited
-
canada-post-shipping-for-woocommerce-canada-post.php (modified) (1 diff)
-
canada-post-shipping-for-woocommerce.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
canada-post-shipping-for-woocommerce/trunk/canada-post-shipping-for-woocommerce-canada-post.php
r2457020 r3089538 150 150 if ($destination['country'] == 'CA') { 151 151 if ($weight_total <= 0.030) { 152 $postage_amount = 1. 07;152 $postage_amount = 1.15; 153 153 } 154 154 else if ($weight_total <= 0.050) { 155 $postage_amount = 1. 30;155 $postage_amount = 1.40; 156 156 } 157 157 else if ($weight_total <= 0.100) { 158 $postage_amount = 1.94;158 $postage_amount = 2.09; 159 159 } 160 160 else if ($weight_total <= 0.200) { 161 $postage_amount = 3. 19;161 $postage_amount = 3.43; 162 162 } 163 163 else if ($weight_total <= 0.300) { 164 $postage_amount = 4. 44;164 $postage_amount = 4.78; 165 165 } 166 166 else if ($weight_total <= 0.400) { 167 $postage_amount = 5. 09;167 $postage_amount = 5.48; 168 168 } 169 169 else if ($weight_total <= 0.500) { 170 $postage_amount = 5. 47;170 $postage_amount = 5.89; 171 171 } 172 172 } 173 173 else if ($destination['country'] == 'US') { 174 174 if ($weight_total <= 0.030) { 175 $postage_amount = 1. 30;175 $postage_amount = 1.40; 176 176 } 177 177 else if ($weight_total <= 0.050) { 178 $postage_amount = 1.94;178 $postage_amount = 2.09; 179 179 } 180 180 else if ($weight_total <= 0.100) { 181 $postage_amount = 3. 19;181 $postage_amount = 3.43; 182 182 } 183 183 else if ($weight_total <= 0.200) { 184 $postage_amount = 5.5 7;184 $postage_amount = 5.599; 185 185 } 186 186 else if ($weight_total <= 0.500) { 187 $postage_amount = 11. 14;187 $postage_amount = 11.99; 188 188 } 189 189 } 190 190 else { 191 191 if ($weight_total <= 0.030) { 192 $postage_amount = 2. 71;192 $postage_amount = 2.92; 193 193 } 194 194 else if ($weight_total <= 0.050) { 195 $postage_amount = 3.88;195 $postage_amount = 4.17; 196 196 } 197 197 else if ($weight_total <= 0.100) { 198 $postage_amount = 6. 39;198 $postage_amount = 6.88; 199 199 } 200 200 else if ($weight_total <= 0.200) { 201 $postage_amount = 11. 14;201 $postage_amount = 11.99; 202 202 } 203 203 else if ($weight_total <= 0.500) { 204 $postage_amount = 2 2.28;204 $postage_amount = 23.97; 205 205 } 206 206 } -
canada-post-shipping-for-woocommerce/trunk/canada-post-shipping-for-woocommerce.php
r3021667 r3089538 3 3 * Plugin Name: Canada Post Shipping For WooCommerce 4 4 * Description: Integrates with Canada Post allowing you to provide accurate shipping quotes for your customers. 5 * Version: 2.9.1 45 * Version: 2.9.15 6 6 * Author: Small Fish Analytics Inc. 7 7 * Author URI: http://www.smallfishanalytics.com/support?source=plugin_summary 8 8 * WC requires at least: 3.0.0 9 * WC tested up to: 8. 49 * WC tested up to: 8.8 10 10 */ 11 11 -
canada-post-shipping-for-woocommerce/trunk/readme.txt
r3021667 r3089538 3 3 Tags: shipping, canada post, canada post shipping, shipping rates, woocommerce 4 4 Requires at least: 3.0.1 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 35 35 36 36 == Changelog == 37 = 2.9.15 = 38 Declare support for WooComerce 8.8 and WordPress 6.5 39 Update costs on letter shipping to match Canada Post rates 40 37 41 = 2.9.14 = 38 42 Declare support for WooComerce 8.4 and WordPress 6.4
Note: See TracChangeset
for help on using the changeset viewer.