Commit Graph

192 Commits

Author SHA1 Message Date
Mike Jolley f03be47e86 Handle non standard decimals in flat rate costs. 2015-08-24 15:26:08 +01:00
Mike Jolley d677be46ce update example to show decimal 2015-08-21 17:01:25 +01:00
Caleb Burks 4bff967e40 Flat Rate Calculation - min_fee
The correct shortcode term to use is `min_fee`: https://github.com/woothemes/woocommerce/blob/master/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php#L94
2015-08-20 16:55:00 -05:00
Claudio Sanches 13c34f6ba2 Fixed Allowed Zip description for Local Delivery, closes #8831 2015-08-14 15:28:34 -03:00
Mike Jolley 92043a19f2 Free shipping should not be on by default
Closes #8819
2015-08-13 22:02:44 +01:00
Mike Jolley 1cae64f448 eval maths - output errors only if WP_DEBUG is on 2015-08-11 11:23:53 +01:00
Mike Jolley c1cd3f097c Fix notices when calling get_shipping_classes(). 2015-08-10 21:52:21 +01:00
Mike Jolley 318f399081 Small tidy for scruitinizer 2015-08-10 14:56:02 +01:00
Mike Jolley 41e8cf74fb Unused vars 2015-08-10 14:40:14 +01:00
Manos Psychogyiopoulos 79516ad2b4 typo 2015-07-20 12:13:29 +03:00
Manos Psychogyiopoulos 504f646310 enable deprecated addon rates 2015-07-20 12:08:39 +03:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Claudio Sanches 8d2a98eab1 Improved some docblocks 2015-07-16 16:29:01 -03:00
Mike Jolley 38d0d0dcad trim invalid chars from sum 2015-07-08 11:02:20 +01:00
Mike Jolley 85dcee63ae Flat rate shipping costs should ignore virtual items.
Closes #8506
2015-07-07 10:41:56 +01:00
Mike Jolley 583e1fc284 Typo closes #8381 2015-06-16 14:08:46 +01:00
Mike Jolley 71fc6c207e Free should only be used if costs set. If left blank, offer no rate
Closes #8380
2015-06-16 14:07:28 +01:00
Mike Jolley 2347418c5b International shipping + legacy updater 2015-06-16 11:37:58 +01:00
Mike Jolley b3a161a744 Fix upgrade logic for per item type 2015-06-15 15:32:51 +01:00
Mike Jolley de1d818d4c remove functions and eval 2015-06-15 15:24:59 +01:00
Mike Jolley 6f90640ba3 Upgrade logic and option fallbacks 2015-06-15 15:24:51 +01:00
Mike Jolley 803714d088 BW compat for additional rates 2015-06-15 12:01:24 +01:00
Mike Jolley d24461a9a5 Simplify flat rate shipping UI #8243 2015-06-12 16:19:43 +01:00
Mike Jolley af41e4bcd4 Eval Math Class 2015-06-12 14:27:50 +01:00
Mike Jolley 0e72c5e699 Class tidy 2015-05-15 14:16:44 +01:00
roykho 96ca19d170 fixed flatrate per item and per class if no additional costs added, it doesn't correctly fallback to base cost closes #7851 2015-04-07 07:23:00 -07:00
Mike Jolley 568a0fe4fa Tweak international delivery
Fixes #7651
2015-03-06 14:45:04 +00:00
Mike Jolley 8aa0e5ea24 Potential notice with preg_match wildcard search, if used incorrectly. 2015-02-12 10:53:53 +00:00
Mike Jolley bce209c21d Flat rate extra costs when costs are an array. 2015-02-11 22:24:13 +00:00
Mike Jolley f57b26cbe6 is_available() check in local pickup. 2015-02-11 18:02:44 +00:00
Mike Jolley 037242a9a2 More docblock tweaks 2015-02-03 16:03:28 +00:00
Mike Jolley f3cc45cfa9 Grammar corrections
Closes #7216
2015-01-28 17:15:48 +00:00
Claudio Sanches 9a6dc0bf41 Added select2 for all settings fields 2015-01-12 15:45:47 -02:00
Mike Jolley 50c6e1e4a0 select2 settings 2015-01-12 16:29:01 +00:00
Bryce a5d51d040e remove var keyword in WC_Shipping_International_Delivery 2014-12-16 18:43:05 +07:00
claudiosmweb 8eeb6fc204 Removed more some unused code 2014-11-19 22:43:09 -02:00
Mike Jolley 2b645ed293 Moved if statement in flat rate shipping 2014-11-19 23:28:23 +00:00
Mike Jolley e630e64cb7 Flat rate shipping tweaks + inline instructions 2014-11-19 22:22:35 +00:00
Mike Jolley d58400399a Fix wildcard search and optimise local delivery + pickup Closes #6676 2014-11-11 15:46:57 +00:00
Mike Jolley 80cba5ee05 Adjust ZIP code UI in local pickup
Closes #6647
2014-10-30 16:11:02 +00:00
shivapoudel 11a1be6b12 Absolute path and Indentation fix for includes/shipping/*.php :) 2014-09-21 01:29:32 +05:45
75nineteen Media 8b48fc4267 Fix duplication in Ship to Multiple Locations ext
This should solve the issues related to multiple locations getting
duplicated costs.
2014-09-12 11:11:40 -04:00
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley ffa1db6ae6 Add $package to is_available shipping method hooks 2014-05-06 09:34:25 +01:00
Mike Jolley 13caa07cc2 Sanitize, but decode. UTF-8 Friendly. Fixes #5401
Originally changed 34db5d68b6
2014-05-01 14:40:31 +01:00
Mike Jolley 34db5d68b6 Don't sanitise rate ID - breaks utf8 chars
Fixes #5376
2014-04-25 12:31:58 +01:00
Mike Jolley 324e17d85f [2.2] Allow spaces and use formatted postcodes for wildcard in local pickup
Fixes #5250. Should go in 2.2 since it could affect existing setup
codes.
2014-04-07 15:46:40 +01:00
Mike Jolley 02a1735674 Clean up labels and default cost to 0 for int shipping
Closes #5219
2014-04-07 10:07:13 +01:00
Patrick Rauland ceef4bc528 adding spaces after text for title in local delivery 2014-04-01 16:58:45 -05:00
Patrick Rauland fd28f81147 using spaces after text 2014-04-01 16:55:36 -05:00
James Koster c5656ee991 flat rate additional costs table 2014-03-25 13:59:30 +00:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Patrick Rauland 61a175173e merging upstream changes 2014-02-25 08:07:39 -06:00
Mike Jolley b16f83804f Merge pull request #4932 from BFTrick/flat-rate-costs-regex
Comment RegEx in Flat Rate Shipping
2014-02-25 10:47:29 +00:00
Patrick Rauland cf81e63b3c adding new method to calculate percentage rate adjustment for flat rate shipping 2014-02-24 12:54:56 -06:00
Patrick Rauland 0fd11ad509 commenting regex in flat rate shipping 2014-02-24 11:40:26 -06:00
Patrick Rauland 3888af3559 using wordpress brace code style in flat rate shipping 2014-02-24 11:17:33 -06:00
Renkas 03c0a3f7d0 Removed debug output 2014-01-14 14:30:42 +02:00
Patrick Rauland 01c1afae59 Adding default shipping price to tooltips 2013-12-04 16:20:30 -06:00
Gregory K cac9d12bf9 PhpDocs 2013-11-28 07:54:19 -05:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Scott Basgaard eb91907db6 Make sure $matched is defined when calculating shipping totals and classes to avoid PHP variable undefined notices. 2013-11-13 20:53:31 -05:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +00:00
Patrick Rauland cc79155f0d making the local pickup tooltip more descriptive 2013-11-08 07:10:43 -06:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 5d2e1ac031 Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902 2013-10-18 18:10:58 +01:00
Mike Jolley 3ccaae0962 Revert to previous logic, but fix tax total #3924 2013-10-16 18:06:14 +01:00
Mike Jolley c68e93457d #3924 2013-10-16 15:37:24 +01:00
Mike Jolley 0f1a8001cf Use subtotal for free shipping, remove unused min_amount from abstract #3924 2013-10-15 17:19:30 +01:00
Mike Jolley 85e73c5e53 Typos #3908 2013-10-11 15:30:10 +01:00
Mike Jolley d67c142070 Add data-placeholder Closes #3908. 2013-10-11 15:27:04 +01:00
Mike Jolley 718093650f Save fees 2013-10-02 12:58:26 +01:00
Mike Jolley 66c04b0f72 Check values are set before casting as floats 2013-10-02 12:50:03 +01:00
Mike Jolley 24a3e3e17b Format decimals with single function, convert locale to standard form. #3862 2013-10-01 17:54:32 +01:00
Mike Jolley b892815336 Remove html5 number inputs (unreliable at present, locale issues), add JS validation for price inputs. New price input type in settings API to make future changes easier to implement. Closes #3587
@coenjacobs hows this look?
2013-09-27 20:28:42 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Karen Naylor 5c40d863e1 add pattern matching to local delivery postcodes 2013-09-14 16:08:17 +01:00
Mike Jolley 7e01086ad3 Merge pull request #3679 from dimitrov-adrian/patch-6
Adding support for percentage factor of additional costs.
2013-09-13 03:20:17 -07:00
Mike Jolley 14e27bb073 Fixes from .14 2013-09-04 14:32:16 +01:00
Mike Jolley b797cdb672 Handle local pickup taxes when getting taxable address 2013-09-03 16:26:06 +01:00
Adrian Dimitrov a44ec58746 Adding support for percentage factor of additional costs. 2013-08-25 14:59:58 +03:00
Mike Jolley fe8a81110b Merge pull request #3634 from BFTrick/set-default-shipping-rates
Setting Default Shipping Rates for Flat Rate Shipping
2013-08-16 17:39:25 -07:00
Mike Jolley e01df544ec Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
@todo store shipping methods in the order
@todo test with PP shipping real world

cc @coe
2013-08-14 21:00:34 +01:00
Patrick Rauland 69f45fb39b setting default shipping rates 2013-08-14 10:42:43 -05:00
Patrick Rauland 4d4645eee4 remove spaces in favor of tabs in shipping classes 2013-08-12 16:09:04 -05:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 7b2c232b9c Prevent flat rate rows with no class set from saving. Closes #3312. 2013-07-19 07:08:13 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00