Commit Graph

39 Commits

Author SHA1 Message Date
Mike Jolley e509e92f7b BW compat for nonce check 2018-03-19 17:59:30 +00:00
Mike Jolley 5d6b43dbc8 Update nonce handling 2018-03-13 14:16:56 +00:00
Claudio Sanches 64d93eafc0 Fixed class-wc-shortcode-cart.php PHPCS violations 2018-03-09 12:59:01 -03:00
Mike Jolley 912c3e2ef8 Process form fields if set 2017-12-08 14:11:41 +00:00
Mike Jolley 668fb1486c Unslash shipping form 2017-11-06 15:50:52 +00:00
Will Gorham fc8b3266c9 Fix deprecated functions in cart shortcode 2017-10-13 14:22:09 -04:00
Claudio Sanches a13158a75a Apply wc_maybe_define_constant() in all places 2017-09-05 16:52:39 -03:00
Mike Jolley d31a58b117 More abspath 2017-05-23 15:40:19 +01:00
Justin Sternberg d07d704187 Add the shortcode_atts call to WC_Shortcode_Cart::output 2017-01-03 13:17:04 -05:00
Mike Jolley 00ed627b29 Data stores 2016-11-14 18:18:08 +00:00
Rami Yushuvaev 83e938af1e i18n: Merge similar translation strings to reduce the total strings count #11905 2016-10-11 04:39:13 +03:00
Mike Jolley 1bc9da3e91 Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Mike Jolley 9f5dfe782d Calc totals before checking cart items so coupon messages are output
Fixes #11177 @claudiosmweb
2016-06-18 20:16:12 +01:00
Justin Shreve 25430afd33 Make session loading work correctly, add an alias for address_1 and shipping_address_1, fix total spent and order count 2016-03-17 09:41:12 -07:00
Justin Shreve ffc80ccd15 Start updating some usage, and start implementing the actual CRUD functions, and some new get/setters for username, email, etc. 2016-03-17 09:41:12 -07:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Nikki DelRosso 940c2369b0 Added method to check if cart is empty 2015-05-14 14:18:53 -07:00
Mike Jolley 1c9331737e Minor tweaks to cart shortcode 2014-09-24 15:26:53 +01:00
shivapoudel e53539f447 Indentation and new lines fix for includes/shortcodes :) 2014-09-21 01:18:32 +05:45
Mike Jolley 215011aa1f Prevent short codes running with no cart class loaded. Closes #4962 2014-02-26 15:27:26 +00:00
Mike Jolley 36de82e428 Workaround relevanssi Closes #4873 2014-02-24 15:19:12 +00:00
Art Project Group 4031c8b5d7 Update class-wc-shortcode-cart.php 2014-02-16 19:53:55 +01:00
Art Project Group 7d9a1e77a6 Prevent an error notice
It only shows when country has states and state was leave in blanc on
the form.
2014-02-16 15:44:24 +01:00
Mike Jolley dc99669eec Get exception message in cart Closes #4543 2014-01-21 11:14:23 +00:00
Mike Jolley 18ffbdb82b Tweak form handlers since they are the same form - removed empty coupon message as a result. Closes #4362 2013-12-31 14:02:50 +00: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
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
thenbrent 9e80672143 Use new notice template for Shipping Updated
For #4034
2013-11-13 16:20:27 -08:00
thenbrent fe44f020e3 Update calls to wc_add_message() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 0d45e19fcf Update calls to wc_add_error() function
Part of #4034
2013-11-12 20:59:39 -08:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01: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
Mike Jolley 7ccac3a260 Clean inputs posted on the shipping form 2013-07-19 07:58:50 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00