Mike Jolley
3140a0fb62
More customistion options for terms and conditions.
2018-04-06 11:43:30 +01:00
Mike Jolley
5d6b43dbc8
Update nonce handling
2018-03-13 14:16:56 +00:00
Alex MacArthur
870338ee5d
Make compliant w/ coding standards, sanitize ID.
2018-02-22 07:01:49 -06:00
Alex MacArthur
08982af65c
Set to empty string in case invalid ID is passed.
2018-02-22 06:58:18 -06:00
Alex MacArthur
c87c5627bb
Add fallback support for passing user_login in password reset link.
2018-02-22 06:58:18 -06:00
Alex MacArthur
e01385d2b4
Remove user login from reset password link.
2018-02-22 06:58:18 -06:00
Claudio Sanches
0f797714f1
Tweaks on account display name
2018-02-21 21:52:45 -03:00
Claudio Sanches
c0e29d0cbe
Merge branch 'fix/17606' into add/17606
2018-02-21 21:34:38 -03:00
Gerhard Potgieter
94640ef5af
Add back wc_get_product
2018-02-02 12:58:05 +02:00
Gerhard Potgieter
fa7fd2228c
Add check that product is not false before calling methods in if.
2018-02-02 12:56:24 +02:00
Mike Jolley
e56b007af1
Correctly sanitize posted attributes when JS is off.
2018-01-26 16:11:53 +00:00
Mike Jolley
2ca2cc0f6c
Update billing if account form changes.
2018-01-09 17:50:43 +00:00
Caleb Burks
82c5975b37
Prevent duplicate IDs on checkout page
2017-12-17 22:43:51 -06:00
Arif Widianto
53dafc9bde
Removing unnecessary extra spaces
2017-12-13 15:51:54 +07:00
Boro Sitnikovski
b6801d3761
Fix wrong call
2017-12-07 20:16:54 +01:00
Boro Sitnikovski
145d47c580
Decouple cart templating methods from WC_Cart class
2017-12-05 13:00:21 +01:00
Claudio Sanches
41335ae9b5
Remove "wc_error" query string after login process
...
Closes #17957
2017-11-29 19:57:59 -02:00
Arif Widianto
51948b7ae5
Fix account page for providing display_name edit
2017-11-28 07:56:36 +07:00
Arif Widianto
0b42515c93
Provides edit display name in my-account page ( #17606 )
2017-11-22 15:20:49 +07:00
Mike Jolley
698db6c131
When custom attributes are created, they are decoded. Make the values match.
...
When we create/link variations, the entities are decoded.
When the variation form is posted, the entities are encoded (esc_attr).
This decodes them so they match correctly. Fixes #17820
2017-11-20 20:51:32 +00:00
Mike Jolley
c92f61d6d4
Variation add to cart logic
2017-11-15 16:29:04 +00:00
Mike Jolley
9f059e17a9
Add helper function instead of calling method, and restore old method for bw compat
2017-11-08 15:07:00 +00:00
Gerhard Potgieter
7b9fb6c0cb
Change nocache_headers hook firing ( #17540 )
...
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.
* Create do_not_cache_page helper function and call that instead of nocache_headers
* Must add checks to prevent caching on certain pages as well
* Nothing to return
2017-11-08 14:27:30 +00:00
Mike Jolley
72c10bdd33
Remove email to login handling code
2017-10-20 09:21:07 -07:00
Gary Ritchie
cc44e72e61
sanitize _POST
2017-09-22 20:52:38 -07:00
Gary Ritchie
a25d3c8af4
Allow registration to redirect to same page
...
Fixes #16889
2017-09-21 20:50:45 -07:00
Claudiu Lodromanean
abc43c473e
Merge pull request #16877 from nicoladj77/patch-1
...
Check for nonce when Cancelling Order.
2017-09-21 10:27:12 -07:00
Nicola Peluchetti
74bea6ec7d
Check for nonce when Cancelling Order.
2017-09-21 03:08:06 +03:00
Mike Jolley
c91cd01379
remove spam field
...
Closes #16862
2017-09-20 11:51:33 +01:00
Mike Jolley
a8a33c8f0d
Merge pull request #16717 from woocommerce/refactore/wc_maybe_define_constant
...
Use wc_maybe_define_constant() in all places
2017-09-07 12:16:13 +01:00
Claudio Sanches
f8f9c7b04c
Merge branch 'master' into add_to_cart_variation
2017-09-06 14:33:57 -03:00
Mike Jolley
7fefc5f5b5
Revise logic to deal with variation IDs
2017-09-06 17:05:21 +01:00
Mike Jolley
6fee915fdb
phpcs
2017-09-06 16:47:48 +01:00
Mike Jolley
6ff78e29fe
Fix conditonal on cart redirect
...
Closes #16724
2017-09-06 13:44:30 +01:00
Claudio Sanches
a13158a75a
Apply wc_maybe_define_constant() in all places
2017-09-05 16:52:39 -03:00
James Golovich
562912a27a
Allow variable products to be added via simple HTTP Request
...
Matches existing behavior of simple products that allow adding via a URL link.
2017-09-05 09:12:53 -07:00
claudiulodro
b37f7c8c23
Prevent reordering variable products if no variation set.
2017-08-31 09:54:14 -07:00
Umangvaghela
5794a9cb34
Update condition
2017-08-22 15:23:34 +05:30
Claudio Sanches
53ea3c8b96
Merge branch 'master' into fix/16347
2017-08-07 16:36:36 -03:00
Mike Jolley
d46988b6a6
Improve add payment method logic
2017-08-07 12:39:16 +01:00
Mike Jolley
e2839d3c09
Add nocache_headers to early update actions
2017-08-07 11:02:02 +01:00
Mike Jolley
4a0ea16eda
Defer re-calc when adding grouped products to cart
...
Closes #16235
2017-08-01 13:36:46 +02:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Mike Jolley
ba2063efa4
Merge pull request #15961 from electrokit/order_again_merge_option
...
Feature: Add option for merging when using 'Order Again'
2017-07-11 11:23:33 +01:00
Gustaf Folin
ead5f208fa
Add hook around empty_cart()
2017-07-10 12:13:38 +02:00
Claudio Sanches
7e7194ce47
Merge pull request #15974 from woocommerce/fix/15965
...
Update customer with CRUD and set session data at the same time.
2017-07-05 15:58:21 -03:00
Mike Jolley
57ee9f58cf
Update customer with CRUD and set session data at the same time.
...
Fixes #15965
2017-07-05 12:21:46 +01:00
Claudio Sanches
ee87024d82
Merge pull request #15956 from woocommerce/add-cart-readdition-notice
...
Use ajax when restoring an item in the cart
2017-07-04 16:35:23 -03:00
Mike Jolley
6f6f410ce1
Use wc_get_raw_referer
2017-07-04 12:05:21 +01:00
Caleb Burks
2d52e6e398
Use ajax when restoring an item in the cart
2017-07-04 04:01:59 -05:00