claudiulodro
8a8daabf26
Update with master and recompile assets
2017-07-06 09:06:30 -07:00
claudiulodro
a2867fae6a
Set up select2 and selectWoo
2017-07-06 08:43:10 -07:00
Claudiu Lodromanean
d2fffea591
Merge pull request #15988 from rellect/activation_rtl
...
Add rtl support for activation.css
2017-07-06 08:22:48 -07:00
Farook Ibrahim
d0489206a7
minor typo fix
2017-07-06 17:24:28 +05:30
Mike Jolley
ec9a380143
Correct embed code
2017-07-06 12:32:28 +01:00
Refael Iliaguyev
40ef76c12b
Add rtl support for activation.css
2017-07-06 09:03:15 +03: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
Claudio Sanches
10f039ad79
Merge pull request #15827 from woocommerce/fix/15818
...
If stock changes between page load and editing, reject stock changes
2017-07-05 15:49:58 -03:00
Mike Jolley
beba2757ee
feedback
2017-07-05 17:11:34 +01: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
Mike Jolley
d03982bea1
Merge pull request #15966 from woocommerce/fix/15960
...
[REST API] Allow unset product shipping_class
2017-07-05 11:24:12 +01:00
Mike Jolley
f1a19b1424
Merge pull request #15971 from woocommerce/hotfix-fatal-error
...
Prevent fatal error on order page
2017-07-05 11:10:42 +01:00
Mike Jolley
4c6a6516c0
Merge pull request #15970 from woocommerce/fix/extra-refund-classes
...
Removed non-existing classes from refunds form on admin
2017-07-05 11:05:32 +01:00
Nicola Mustone
cd5c24d7c3
Prevent fatal error on order page
...
Prevents a fatal error on order pages when variable products are purchased.
2017-07-05 08:20:08 +03:00
Claudio Sanches
6ad9987e0d
Merge pull request #15658 from woocommerce/update/15643
...
get_filtered_term_product_counts performance
2017-07-04 17:30:09 -03:00
Claudio Sanches
0a8a64f10c
Merge pull request #15679 from woocommerce/update/coupon-cart-logic
...
Use the product object rather than function wc_get_product_ids_on_sale
2017-07-04 17:29:30 -03:00
Claudio Sanches
d2f9211ffb
Removed non-existing classes from refunds form on admin
2017-07-04 17:27:25 -03:00
Claudio Sanches
2d8902c91f
Hide Cross-sells if external, removed in #15692
2017-07-04 16:44:08 -03:00
Claudio Sanches
74cba6f863
Merge branch 'master' into grouped-products-settings-improvement
2017-07-04 16:41:33 -03: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
Claudio Sanches
bf91127682
Merge pull request #15788 from woocommerce/fix/13353
...
Clean up user is_paying_customer after deleting an order
2017-07-04 16:26:45 -03:00
Claudio Sanches
78a6585f19
[REST API] Allow unset product shipping_class
...
Closes #15960
2017-07-04 14:01:17 -03:00
Claudio Sanches
cb58142c02
Merge pull request #15963 from woocommerce/fix/slashes-on-objects
...
leave objects alone rather than slashing in the meta api
2017-07-04 12:45:29 -03:00
Claudio Sanches
00237a6de9
Merge pull request #15959 from woocommerce/update/15949
...
Extra error checking in terms page content
2017-07-04 12:25:44 -03:00
Claudio Sanches
cf12271398
Merge pull request #15934 from woocommerce/fix/15917
...
Convert data to UTF-8 on import
2017-07-04 12:20:17 -03:00
Mike Jolley
b9757cca00
leave objects alone rather than slashing in the meta api
...
Has tests. Prevents notices when you pass an object to add_meta_data.
2017-07-04 16:09:21 +01:00
Claudio Sanches
888498deb0
Merge pull request #15939 from woocommerce/fix/15911
...
Use wp_get_raw_referer in my account redirect, and validate all falling back to my account
2017-07-04 12:04:41 -03:00
Mike Jolley
93a98ea91c
Merge pull request #15954 from woocommerce/fix-15946
...
Add `cart_subtotal` to the shipping package
2017-07-04 12:59:24 +01:00
Job
f67bf6892e
Coupon help ( #15958 )
...
* Solves #15945
Change description of help tip to be accurate for current coupon system
* update caps use on PR
2017-07-04 12:07:26 +01:00
Mike Jolley
6f6f410ce1
Use wc_get_raw_referer
2017-07-04 12:05:21 +01:00
Mike Jolley
b0a9c5a9c2
Merge pull request #15952 from woocommerce/add-filter-parameter-15923
...
Pass $column_id into export filter
2017-07-04 11:28:33 +01:00
Mike Jolley
05a328cd33
Merge pull request #15948 from woocommerce/fix/15947
...
Remove side-effects
2017-07-04 11:27:20 +01:00
Mike Jolley
6bc1c16d77
Merge pull request #15900 from JustinSainton/patch-4
...
Add search_customers() filter
2017-07-04 10:54:50 +01:00
Caleb Burks
2d52e6e398
Use ajax when restoring an item in the cart
2017-07-04 04:01:59 -05:00
Caleb Burks
5af560e32a
Add `cart_subtotal` to the shipping package
2017-07-04 03:05:39 -05:00
Caleb Burks
02ffdaf8f5
Remove unnecessary variable
...
Don’t this change any longer. Got rid of a foreach loop that was using it.
2017-07-04 01:44:10 -05:00
Caleb Burks
c7693b201d
Require T&Cs be a different page than checkout
2017-07-04 01:36:34 -05:00
Caleb Burks
817efb551c
Pass $column_id into export filter
2017-07-03 23:32:44 -05:00
claudiulodro
fe09b4cf54
Remove side-effects
2017-07-03 13:57:32 -07:00
Justin Sainton
31d8a4a6d7
Add additional parenthesis.
...
Maybe don't throw fatal errors.
2017-07-03 10:19:57 -07:00
Claudiu Lodromanean
7046b480a0
Merge pull request #15907 from tractus/fix-order-date-query
...
Fixes major issue with wc_get_orders with both date_before and date_after specified
2017-07-03 09:32:24 -07:00
Claudiu Lodromanean
204c13fe8c
Merge pull request #15936 from woocommerce/fix/15930
...
WP_Query expects paged, not page
2017-07-03 09:01:55 -07:00
Claudio Sanches
87e4e7241d
Merge pull request #15933 from woocommerce/remove/sandbox-fix
...
Remove sandbox status forcing in PayPal gateway
2017-07-03 12:52:45 -03:00
Claudio Sanches
4b716ce269
Merge pull request #15943 from woocommerce/update/15926
...
Added method to escape commas in CSV values
2017-07-03 11:33:43 -03:00
Claudio Sanches
8f4dc81596
Merge pull request #15944 from woocommerce/update/12477
...
Remove use of protocol relative URls. Filter can be used if needed.
2017-07-03 11:30:07 -03:00
Mike Jolley
432a665a2b
Remove use of protocol relative URls. Filter can be used if needed.
2017-07-03 14:58:53 +01:00
Mike Jolley
eb5c6d688b
Added method to escape commas in CSV values
2017-07-03 14:47:48 +01:00
Mike Jolley
f9d1bbba73
Use wp_get_raw_referer in my account redirect, and validate all falling back to my account
...
Fixes #15911
Closes #15912
2017-07-03 13:30:32 +01:00
Mike Jolley
8ab1ef459c
WP_Query expects paged, not page
...
Fixes #15930
2017-07-03 12:24:30 +01:00
Mike Jolley
655fc002ed
Convert data to UTF-8 on import
...
Fixes #15917
2017-07-03 12:07:07 +01:00
Mike Jolley
59a4f3b0d9
Remove sandbox status forcing in PayPal gateway
...
Closes #15899
@californiakat Should we add
https://stackoverflow.com/questions/4298117/paypal-ipn-always-return-pay
ment-status-pending-on-sandbox to the docs when 3.2 launches?
2017-07-03 10:46:32 +01:00
Mike Jolley
280a9a625c
Merge pull request #15931 from woocommerce/update/skip-meta-filter
...
Update/skip meta filter
2017-07-03 10:41:40 +01:00
Mike Jolley
ccba0a665e
Rename function and include less args
2017-07-03 10:38:29 +01:00
Mike Jolley
748c39d966
Add note about #15904
2017-07-03 10:26:26 +01:00
Mike Jolley
ffc468af06
Merge pull request #15921 from woocommerce/fix-15920
...
Export metadata along with custom columns
2017-07-03 10:24:13 +01:00
Caleb Burks
b127a67ed8
Add filter to skip metas from being exported
2017-07-02 03:14:24 -05:00
Caleb Burks
b7ad5e18fc
Export metadata along with custom columns
2017-07-02 02:21:58 -05:00
Trey Richards
fb0924b652
Use filtered args in get_orders function.
2017-06-30 17:42:04 -07:00
Trey Richards
f019070307
Fixed major issue with getting orders when both before_date and after_date args are set.
...
Modified unit tests to prevent from happening again.
2017-06-30 17:30:16 -07:00
Justin Sainton
29c9fa55d8
Add search_customers() filter
...
Includes each of the parameters passed to the method, as well as a context parameter for each query.
Our specific use case for this is for a custom wholesale ordering system, where we're wanting to limit the search to a specific role - so customizing the arguments here would be really helpful.
Ironically, proposed the same thing three years ago and the committed filter no longer exists: e91ca49b6d
2017-06-30 13:52:24 -07:00
Dale Phurrough
25ec8e4985
fixes woocommerce/woocommerce#15896
2017-06-30 21:20:23 +02:00
Claudiu Lodromanean
3fc26b7e24
Merge pull request #15890 from woocommerce/fix/15870
...
7day should start from midnight, not current time
2017-06-30 09:19:45 -07:00
Claudiu Lodromanean
2aaa0003d4
Merge pull request #15891 from woocommerce/fix/15874
...
Admin status update should be marked as a manual status transition
2017-06-30 09:13:16 -07:00
Claudiu Lodromanean
318be9db8d
Merge pull request #15888 from woocommerce/update/12477
...
Added woocommerce_get_asset_url filter
2017-06-30 08:49:39 -07:00
Claudiu Lodromanean
5206535b62
Merge pull request #15887 from woocommerce/fix/15872
...
Use wc_float_to_string on item prices sent to paypal
2017-06-30 08:48:14 -07:00
Claudiu Lodromanean
4c818d584d
Merge pull request #15879 from woocommerce/fix/15868
...
Prevent extra slashes on meta values
2017-06-30 08:36:56 -07:00
Mike Jolley
c7e4be8f34
Update flexslider
2017-06-30 15:19:47 +01:00
Mike Jolley
77c938202f
Merge branch 'add/15602-store-street-level-address'
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
2017-06-30 15:00:51 +01:00
Mike Jolley
d6131f3a74
Field styling
2017-06-30 14:59:45 +01:00
Mike Jolley
58593a154d
Admin status update should be marked as a manual status transition
...
Closes #15874
2017-06-30 11:40:52 +01:00
Mike Jolley
472b983498
7day should start from midnight, not current time
...
Fixes #15870
2017-06-30 11:34:07 +01:00
Mike Jolley
dde62ef475
Added woocommerce_get_asset_url filter
...
Closes #12477
2017-06-30 11:05:18 +01:00
Mike Jolley
5d20b2f646
Merge pull request #15854 from woocommerce/fix/15853
...
Add tool for populating order address indexes.
2017-06-30 10:43:36 +01:00
Mike Jolley
bf6c39fbf2
Use wc_float_to_string on item prices sent to paypal
...
Fixes #15872
2017-06-30 10:28:21 +01:00
Mike Jolley
277ccf0ad7
Merge pull request #15677 from ughimire/no-std
...
Tweak - Added remove icon on my account page dropdown of account page
2017-06-29 22:55:10 +01:00
Mike Jolley
3aa406fdf6
Merge pull request #15875 from woocommerce/fix/15873
...
Add important line of code back into structured data generation.
2017-06-29 22:53:55 +01:00
Mike Jolley
4f66d214fa
Merge pull request #15829 from woocommerce/fix/15725
...
Use type check in coupon constructor
2017-06-29 22:42:43 +01:00
Mike Jolley
3bfd2bab48
Prevent extra slashes on meta values
...
by_mid functions do not expect slashes
Fixes #15868
2017-06-29 22:41:11 +01:00
claudiulodro
6706da6d45
Move to prevent undefined errors
2017-06-29 11:46:30 -07:00
claudiulodro
0db60b56c9
Re-add removed line.
2017-06-29 11:43:30 -07:00
Claudiu Lodromanean
62800a68f9
Merge pull request #15862 from woocommerce/fix/exclude-comment-where
...
Comment feed where clauses should be appended
2017-06-29 11:23:08 -07:00
claudiulodro
587dc56d9a
Formatting
2017-06-29 11:16:26 -07:00
claudiulodro
2948e46cb4
Add tool for adding address indexes.
2017-06-29 11:14:09 -07:00
Mike Jolley
ac32384a74
Merge pull request #15835 from woocommerce/display-wc-page-post-states
...
Add post states for WC pages
2017-06-29 12:42:10 +01:00
Mike Jolley
ad48fd8069
Comment feed where clauses should be appended
...
Applies to both exclude_order_comments_from_feed_where and
exclude_webhook_comments_from_feed_where
They need to append the additonal where clause to avoid SQL errors on
the feed URL.
2017-06-29 11:29:54 +01:00
claudiulodro
d19de0364c
Revert "Add billing+shipping indices to old orders"
...
This reverts commit 2d48099f20
.
2017-06-28 13:40:55 -07:00
claudiulodro
2d48099f20
Add billing+shipping indices to old orders
2017-06-28 12:03:18 -07:00
Claudio Sanches
6228e356b1
Merge pull request #15842 from woocommerce/fix/15840
...
Skip non existing rows on merge
2017-06-28 11:19:21 -03:00
Claudio Sanches
41cd12c123
Merge pull request #15844 from woocommerce/update/15839
...
Update MX states and MX state data
2017-06-28 11:14:48 -03:00
Claudio Sanches
70ae880f29
Merge pull request #15843 from woocommerce/fix/15834
...
Force date created on update if not set.
2017-06-28 11:11:40 -03:00
Mike Jolley
429e4bfed1
Merge pull request #15837 from thenbrent/revert_pr_14706
...
Revert pull request #14706 with changes to Abstract_WC_Order::get_item() to avoid critical fatal errors
2017-06-28 13:31:57 +01:00
Mike Jolley
b83f3cb9af
handle MX state updates
2017-06-28 12:57:37 +01:00
Mike Jolley
49f2dae450
Merge pull request #15823 from ChaseWiseman/fix-checkout-shipping-calculator
...
Don't output the shipping calculator markup on the Checkout page
2017-06-28 12:30:47 +01:00
Mike Jolley
8dcbf9aa8d
Force date created on update if not set.
...
Closes #15834
2017-06-28 12:25:23 +01:00
Mike Jolley
e937047d04
Skip non existing rows on merge
2017-06-28 12:06:33 +01:00
Brent Shepherd
1992d90d37
Revert "Merge pull request #14706 from crodas/make_get_item_consistent"
...
This reverts commit 56ffa3d2aa
, reversing
changes made to 64a60de24f
.
2017-06-27 22:28:23 -07:00
Caleb Burks
029c28a462
Fix copy/paste fail
2017-06-27 23:55:14 -05:00
Caleb Burks
290a90c8f8
Add post states for WC pages
2017-06-27 23:38:09 -05:00
claudiulodro
506c01f56a
Fix codesniffer violations
2017-06-27 14:19:59 -07:00
claudiulodro
4e7d3333cf
Use type check in coupon constructor
2017-06-27 13:53:56 -07:00
Mike Jolley
1265633286
If stock changes between page load and editing, reject stock changes
...
Fixes #15818
2017-06-27 21:22:46 +01:00
Claudio Sanches
b9c76c568b
Prefer "live rates form"
2017-06-27 17:00:48 -03:00
Claudio Sanches
a0425ad1b9
Remove Canada Post duplicated description
...
Duplicated with description from
includes/admin/class-wc-admin-setup-wizard.php:506
2017-06-27 16:57:46 -03:00
Chase Wiseman
f8a040ad04
Only output the shipping calculator markup on the cart page
2017-06-27 11:37:55 -07:00
Claudio Sanches
5bc03b41cf
Redirect ?customer-logout=true to the correct endpoint
...
Checking also for `'true' === $wp->query_vars['customer-logout']` to avoid infite loops when permalinks are deactivated and "My account" is the front page.
Closes #15789
2017-06-27 14:10:20 -03:00
Claudio Sanches
be0fc10bfe
Merge pull request #15817 from woocommerce/fix/15795
...
Only set default if no value is set in API settings
2017-06-27 13:05:58 -03:00
Claudio Sanches
fe542d4d4e
Merge pull request #15816 from woocommerce/fix/15808
...
Add slashes to meta value in data store before passing to WP functions
2017-06-27 13:03:13 -03:00
Claudio Sanches
fbd92c8105
Merge pull request #15815 from woocommerce/fix/15794
...
Prevent duplicate sections in tax and api endpoints
2017-06-27 13:01:05 -03:00
Claudiu Lodromanean
5bbe82571f
Merge pull request #15814 from woocommerce/fix/15804
...
Fix notice and missing terms in importer
2017-06-27 08:45:52 -07:00
Mike Jolley
afcfb4eb35
Only set default if no value is set in API settings
2017-06-27 15:29:31 +01:00
Mike Jolley
d568069c37
Add slashes to meta value in data store before passing to WP functions
...
Fixes #15808
2017-06-27 15:11:32 +01:00
Mike Jolley
33a4e74697
Prevent duplicate sections in tax and api endpoints
2017-06-27 14:58:33 +01:00
Mike Jolley
26b98bc3df
Fix notice and return correct attribute ID
2017-06-27 14:39:30 +01:00
Mike Jolley
591cac37d1
Increased batch size
2017-06-27 14:39:18 +01:00
Daniel Hüsken
d6377c9609
will improve #15806
2017-06-27 14:43:51 +02:00
Daniel Hüsken
84881c3e36
Importer fix file type detection on local path
2017-06-27 14:21:05 +02:00
Manos Psychogyiopoulos
c8e166f706
Add woocommerce_product_importer_formatting_callbacks filter
2017-06-27 01:49:18 +03:00
Manos Psychogyiopoulos
7778bf894e
Allow DRY product importer integration
2017-06-26 23:49:48 +03:00
Claudiu Lodromanean
a05252753f
Merge pull request #15790 from woocommerce/fix/15781-2
...
Remove BOM signature from imported results
2017-06-26 12:49:59 -07:00
Claudio Sanches
ec1500d1b7
Remove BOM signature from imported results
...
Fix missing mapping for ID column
2017-06-26 16:08:05 -03:00
Claudio Sanches
ab9c331a8d
Merge pull request #15785 from woocommerce/fix/15781
...
Importer tweaks and fixes
2017-06-26 16:07:19 -03:00
claudiulodro
ee9c762bdc
Enqueue selectWoo
2017-06-26 11:50:08 -07:00
Mike Jolley
afd43b3b78
Look for mapped ID when parsing ID field
2017-06-26 18:41:51 +01:00
Mike Jolley
dd25736d64
Clean up user is_paying_customer after deleting an order
2017-06-26 18:32:36 +01:00
Claudio Sanches
1fb11d0be7
Merge pull request #15783 from woocommerce/fix/15770
...
After duplicating variations, ensure the duplicated object is current
2017-06-26 13:41:17 -03:00
Mike Jolley
496b741d1c
Create placeholder when mapping relative ids
2017-06-26 17:40:20 +01:00
Mike Jolley
04a27389ef
Clean up failed imports
2017-06-26 14:11:27 +01:00
Mike Jolley
a907fd8627
get_catalog_ordering_args should cast orderby to string
...
Fixes #15769
2017-06-26 13:38:57 +01:00
Mike Jolley
372d7f6077
After duplicating variations, ensure the duplicated object is current
...
Fixes #15770
2017-06-26 12:54:46 +01:00
Mike Jolley
4972e83e51
Merge pull request #15775 from dixitadusara/issue/15772
...
issue solved Pass more params to woocommerce_duplicate_product_exclude_children filter
2017-06-26 12:24:37 +01:00
dixitadusara
f77d2184ca
issue solved Pass more params to woocommerce_duplicate_product_exclude_children filter
2017-06-26 12:34:20 +05:30
Claudio Sanches
783f2318c4
Fixed undefined variable for importer default mapping
2017-06-23 15:33:37 -03:00
Mike Jolley
5c2a69c668
Add BOM for excel
2017-06-23 17:19:50 +01:00
Mike Jolley
13d7be2422
Merge pull request #15755 from woocommerce/fix/15754
...
Fix method title escaping in zones
2017-06-23 16:17:54 +01:00
Mike Jolley
1d9148241c
Merge pull request #15751 from woocommerce/feature/helper
...
Helper copy update
2017-06-23 16:17:24 +01:00
Mike Jolley
43dc9ec823
Fix method title escaping in zones
...
Closes #15754
2017-06-23 12:50:32 +01:00
José Marques
22da32bd9c
Helper: removes unnecessary caps in copy
2017-06-23 12:49:05 +01:00
José Marques
f0f6495dc5
Helper: updates conpy and button class on connection screen
2017-06-23 09:29:20 +01:00
Claudio Sanches
25a2ee0ca8
Use default English mapping when English is not the current language
2017-06-22 18:07:12 -03:00
Claudio Sanches
1806590e71
Invert special importer mapping options to allow multiple keys
2017-06-22 18:06:10 -03:00
claudiulodro
7bb5dffc2f
Flip param count and priority
2017-06-22 09:10:52 -07:00
Claudiu Lodromanean
5ebc4a4010
Merge pull request #15740 from woocommerce/update/prime-term-caches
...
Update/prime term caches for product queries
2017-06-22 08:18:55 -07:00
Mike Jolley
d1ad5a92d2
Merge pull request #15721 from woocommerce/feature/helper
...
Helper Bug Fixes
2017-06-22 16:17:56 +01:00
Claudiu Lodromanean
a77a7c02c0
Merge pull request #15739 from woocommerce/fix/importer-15735
...
Minor importer fixes
2017-06-22 08:11:15 -07:00
Konstantin Kovshenin
29c000207a
Helper: Escape sites_active and sites_max on subscription output.
2017-06-22 17:17:49 +03:00
Konstantin Kovshenin
45a6c45b8f
Helper: Better code readability for primary/secondary classes.
2017-06-22 16:59:39 +03:00
Konstantin Kovshenin
0786c31d15
Helper: Escape `master_user_email` on output.
2017-06-22 16:49:10 +03:00
Konstantin Kovshenin
0cd10a12ef
Helper: Move subscription sorting into methods for PHP 5.2 compat.
2017-06-22 16:47:07 +03:00
Mike Jolley
67bc729ea5
update_post_caches for all posts at once
2017-06-22 13:39:17 +01:00
Mike Jolley
ccc3da9c17
Merge branch 'pr/15728'
2017-06-22 12:19:49 +01:00
Mike Jolley
8f70ebc1b5
woocommerce_product_importer_before_set_parsed_data
2017-06-22 12:19:19 +01:00
Mike Jolley
74cb2965b3
Ensure we have a parent
...
Fixes #15737
2017-06-22 12:06:10 +01:00
Gerhard Potgieter
b15e576f5b
Use !empty instead of isset for checking master_user_email
2017-06-22 11:10:33 +02:00
Konstantin Kovshenin
4cb1c8f7ce
Helper: Add missing period at the end of a sentence.
2017-06-22 11:28:28 +03:00
Konstantin Kovshenin
74da37890f
Helper: Fix undefined notices on button label and URL.
2017-06-22 11:26:26 +03:00
Claudio Sanches
8deca3b368
Merge pull request #15718 from woocommerce/update/noindex-cart
...
Disable search engines indexing core, dynamic, cart/checkout pages.
2017-06-21 16:35:26 -03:00
claudiulodro
fcd5460ec0
Check filetype in CSV upload
2017-06-21 11:50:03 -07:00
Claudiu Lodromanean
69d3234907
Merge pull request #15717 from woocommerce/fix/15715
...
Exclude sale products from category checks in coupon class
2017-06-21 11:00:01 -07:00
Mike Jolley
e06aa6f60a
Prime term cache before read
2017-06-21 17:09:39 +01:00
Konstantin Kovshenin
5b7070d2ea
Helper: Sort subscriptions by name.
2017-06-21 18:43:19 +03:00
Konstantin Kovshenin
e67babf77a
Helper: Fix download button class for expiring subscriptions.
2017-06-21 18:15:45 +03:00
Gerhard Potgieter
6d3e3fd5e5
Merge branch 'feature/helper' of github.com:woocommerce/woocommerce into feature/helper
2017-06-21 16:58:26 +02:00
Gerhard Potgieter
e08df8d2aa
Adjust messaging and display information for collaborator accounts on woocommerce.com subscription page.
2017-06-21 16:57:16 +02:00
Konstantin Kovshenin
346b446283
Helper: Fix label for maxed out subscriptions.
2017-06-21 17:50:34 +03:00
Frédéric Demarle
d563842126
CSV Importer: Add action before a row is parsed
2017-06-21 16:49:21 +02:00
Konstantin Kovshenin
41ea3f3f43
Helper: Pass a migrate flag if migrating during token exchange
2017-06-21 16:23:57 +03:00
Konstantin Kovshenin
16f2541e9b
Helper: Set helper compat screen slug to woothemes-helper.
...
Previously the helper compat screen used a different slug, but
since updates can be done without refreshing the screen via AJAX
the old menu item doesn't disappear until a full refresh. This fix
allows users to navigate to that same menu item and not get an
error.
2017-06-21 15:28:30 +03:00
Mike Jolley
dbe9705e4b
Disable search engines indexing core, dynamic, cart/checkout pages.
2017-06-21 12:52:52 +01:00
Mike Jolley
5ffff712e7
Merge pull request #15705 from woocommerce/update/cache-helper
...
Compare page IDs rather than URIs in the cache helper
2017-06-21 12:11:16 +01:00
Mike Jolley
31fccea25c
Exclude sale products from category checks in coupon class
...
Fixes #15715
2017-06-21 11:55:12 +01:00
Caleb Burks
cfbd56c04a
Remove some settings for grouped products
...
Purchase notes and Cross-sells aren’t needing as you can never add a grouped product to your cart or purchase it.
2017-06-20 21:04:56 -05:00
Caleb Burks
f13c4c3b30
Hide Cross-sells for external products
2017-06-20 20:56:54 -05:00
Claudiu Lodromanean
aab401c8f8
Merge pull request #15703 from woocommerce/fix/15689
...
Filter out non-visible products when outputting grouped products + prices
2017-06-20 14:50:50 -07:00
Claudiu Lodromanean
9399a8dca2
Merge pull request #15702 from woocommerce/fix/15697
...
Correctly map attribute labels to names
2017-06-20 14:46:45 -07:00
Mike Jolley
91511bd92a
Merge pull request #15631 from woocommerce/update/13738
...
Create a way to 'resend order details'
2017-06-20 15:09:10 +01:00
Mike Jolley
e4be09f6e2
Filter visible children when outputting grouped product prices
2017-06-20 15:01:23 +01:00
Mike Jolley
98684233dc
Filter visible children when outputting grouped products
2017-06-20 15:01:14 +01:00
Mike Jolley
ae0e03ef53
wc_products_array_filter_visible_grouped method
2017-06-20 15:00:58 +01:00
Mike Jolley
6a6aca4132
Correctly map attribute labels to names
...
Fixes #15697
2017-06-20 14:15:35 +01:00
Frédéric Demarle
4960af34aa
Add an action before importing a row
2017-06-20 14:25:23 +02:00
Mike Jolley
6cea4e87cc
Compare page IDs rather than URIs in the cache helper
2017-06-20 12:09:46 +01:00
Mike Jolley
22c79b2ba2
Merge pull request #15682 from 1do/master
...
Changed misspelled filter name
2017-06-20 08:49:05 +01:00
Caleb Burks
ae6a5e34f2
Move “Grouped products” setting to the top
2017-06-19 21:59:42 -05:00
Allen Snook
0f311f0cba
Add address, address 2, city and postcode to setup wizard
2017-06-19 12:22:05 -07:00
Allen Snook
61a8d858b5
Update address labels in settings to better match customer address labelling
2017-06-19 11:28:42 -07:00
1do
ff98b72463
Replaced deprecated wocommerce_credit_card_type_labels in favor of woocommerce_credit_card_type_labels filter.
2017-06-19 21:24:53 +03:00
Claudiu Lodromanean
f879317f44
Merge pull request #15678 from woocommerce/fix/15676
...
Normalise emails on set
2017-06-19 10:26:31 -07:00
Claudiu Lodromanean
139ed8e994
Merge pull request #15680 from woocommerce/fix/15669
...
Update description for exclude_sale_items
2017-06-19 10:22:42 -07:00
claudiulodro
d0266938bf
Recompile css
2017-06-19 10:13:27 -07:00
Mike Jolley
712c281fb7
Add tax class and status to export
...
Fixes #15663
2017-06-19 14:01:52 +01:00
Mike Jolley
a1940f2da3
Grunt dev
2017-06-19 12:49:34 +01:00
1do
344807bd15
changed misspelled filter name
2017-06-19 14:22:31 +03:00
Mike Jolley
acf0026834
Update description for exclude_sale_items
2017-06-19 11:56:04 +01:00
Mike Jolley
b47e1ee728
Use the product object rather than function wc_get_product_ids_on_sale
2017-06-19 11:53:26 +01:00
Mike Jolley
d9e34d4e86
Normalise emails on set
2017-06-19 10:48:00 +01:00
Mike Jolley
55ca1899ad
Merge pull request #15660 from woocommerce/fix/cli-ids
...
Fix issues with CLI IDs
2017-06-19 10:24:46 +01:00
Mike Jolley
1f7b0265c1
Merge pull request #15628 from woocommerce/update/15623
...
woocommerce_format_localized_decimal + woocommerce_format_localized_price filters
2017-06-19 10:13:02 +01:00
Umesh Ghimire
3f2742fd6f
Tweak - Add remove icon on Account page my account page dropdown
2017-06-19 12:59:12 +05:45
Claudiu Lodromanean
1b04963f27
Merge pull request #15659 from woocommerce/fix/15642
...
Fix webhook saving and ping only once
2017-06-16 11:01:08 -07:00
Claudiu Lodromanean
4d25ec6296
Merge pull request #15652 from woocommerce/fix/15632
...
Allow state field to have the correct country set by passing it through
2017-06-16 10:58:40 -07:00
Claudiu Lodromanean
fac4114bae
Merge pull request #15654 from woocommerce/fix/15640
...
Add missing nonce to product sales report
2017-06-16 10:43:10 -07:00
Claudiu Lodromanean
5c8b32a6fb
Merge pull request #15627 from woocommerce/fix/15624
...
Rating fixes
2017-06-16 10:30:39 -07:00
Claudiu Lodromanean
487d1b8461
Merge pull request #15626 from jobthomas/login-update
...
Login update
2017-06-16 09:56:36 -07:00
Justin Shreve
dd80f25f90
Fix issues with CLI IDs
2017-06-16 06:29:57 -07:00
Mike Jolley
42ebde73cd
Fix is_webhook_settings_page
2017-06-16 13:58:28 +01:00
Mike Jolley
1e7b83b813
Cleanup meta after ping
2017-06-16 13:56:50 +01:00
Mike Jolley
b4ea8bb94f
clean up comparison operators
2017-06-16 13:53:57 +01:00
Mike Jolley
67d13874ab
Add transient caching to get_filtered_term_product_counts to reduce large queries
2017-06-16 13:35:31 +01:00
Mike Jolley
f8ca27f32e
Add missing nonce to product sales report
...
Fixes #15640
2017-06-16 11:51:00 +01:00
Mike Jolley
ccad987bac
Allow state field to have the correct country set by passing it through
...
Fixes #15632
2017-06-16 11:45:53 +01:00
Allen Snook
0d1a1d1dbd
Update WC_Countries to include new store address helpers
2017-06-15 10:54:24 -07:00
Allen Snook
21d2bee658
Add store street, city and postcode fields to settings > general
2017-06-15 09:56:52 -07:00
Mike Jolley
b8eafe985e
Set defaults to avoid error if too few args passed
2017-06-15 15:43:32 +01:00
Mike Jolley
3c6635a0f6
Remove all emails except for the invoice email
2017-06-15 15:14:10 +01:00
Mike Jolley
b3fcbc56ba
Tweak sent message
2017-06-15 15:13:59 +01:00
Job
8b48accc01
Upsell/up-sell
...
We had a few different usages of up-sells and upsells in the copy -
“Upsells” were used more and also seems to be more correct English so
I’ve updated the “up-sells”
2017-06-15 15:56:01 +02:00
Mike Jolley
75041b6dca
Remove email based actions from order screen
2017-06-15 14:19:05 +01:00
Mike Jolley
de825ad5b6
woocommerce_format_localized_decimal + woocommerce_format_localized_price filters
2017-06-15 12:07:52 +01:00
Mike Jolley
db3b230ff6
Add filter to control rating HTML in widget
...
Closes #15624
2017-06-15 11:33:09 +01:00
Mike Jolley
0ce2ff2249
Fix update of terms after new rating
2017-06-15 11:29:18 +01:00
Mike Jolley
fba428efed
Fix visibility of rating widgets
2017-06-15 11:29:10 +01:00
Job
9ca5556067
Login > Log in spelling
...
“Log in” is the verb, not “login”
2017-06-15 11:53:59 +02:00
claudiulodro
1d3c4ebb4d
Add flag for timeout checking
2017-06-14 11:35:22 -07:00
Claudiu Lodromanean
b9842b6f21
Merge pull request #15615 from woocommerce/update/15576
...
Prevent memory and time limits in importer
2017-06-14 10:20:29 -07:00
Mike Jolley
4dea3ece8a
Fix memory limit detection on some systems
2017-06-14 18:16:39 +01:00
Claudio Sanches
e9b64aec7b
Merge branch 'master' into fix/15574
2017-06-14 14:05:01 -03:00
Claudio Sanches
7a4b68f551
It's clear that is a subject for an email
2017-06-14 14:01:12 -03:00
Claudiu Lodromanean
7dd1cdca0a
Merge pull request #15618 from woocommerce/fix/15614
...
Importer; create placeholders when importing products with IDs
2017-06-14 09:59:13 -07:00
claudiulodro
57c5bab731
Space
2017-06-14 09:58:15 -07:00
Mike Jolley
c3ee9a77f5
Tweak tips and placeholders for all emails
2017-06-14 17:50:17 +01:00
Claudio Sanches
e3b7e4e566
Use placeholders and description to inform the default values
2017-06-14 13:13:43 -03:00
Mike Jolley
0de65b3a8d
Start time
2017-06-14 17:04:47 +01:00
Claudiu Lodromanean
4f5f04ec79
Merge pull request #15611 from woocommerce/fix/15606
...
More strict COD method matching
2017-06-14 09:04:46 -07:00
Claudiu Lodromanean
bdb7194b2e
Merge pull request #15612 from woocommerce/fix/15592
...
Recalculate totals after local pickup selection
2017-06-14 08:55:50 -07:00
Mike Jolley
8bd7f89f73
Clear placeholder data after import
2017-06-14 16:38:07 +01:00
Mike Jolley
907b986d4f
Tweak wording
2017-06-14 16:37:53 +01:00
Mike Jolley
cb34cb8d81
Made variations more lenient so that they can be created whilst a parent does not yet exist
2017-06-14 16:37:46 +01:00
Mike Jolley
fdc6c46e80
Clear slug for placeholder products
2017-06-14 16:37:21 +01:00
Mike Jolley
8603e75b5e
Create placeholders when importing products with an ID column and not updating
2017-06-14 16:37:07 +01:00
Konstantin Kovshenin
247e13e2ca
Helper: Various Improvements ( #15519 )
...
* Helper: Improve messaging and CTAs
* Helper: Update copy on connect flow
* Helper: Improve messaging around plugins without a subscription
* removes toggle from extensions that cannot be activated
* Helper: Add new `WC_Helper_Compat` class for legacy helper compat
This new class removes some of the actions from the legacy helper
(updater) plugin, attempts to migrate an existing legacy connection
to a new one, attempts to deactivate the old helper plugin.
* Helper: Improve messaging around maxed out subscriptions
* Helper: Enable `WC_Tracker` when connected to WooCommerce.com
* Helper: adds styles for manual licence form row and other visual improvements
* Helper: removes disabled toggles
* Helper: adds styles for connection component
* Helper: redesigned connection module
* Helper: rotates the connection module chevron on mouse hover
* Helper: adds some fixes to the key form on mobile and other updates to meet coding standards
* Helper: Only mark action as primary if there's a CTA button.
* Helper: Better handling for woothemes_updater_notice
Remove the updater notice built into extensions and themes, even
if the legacy Helper plugin is deactivated.
* Helper: Navigate existing Helper users to the new place.
Adds a Dashboard menu item and direct users of the old helper
plugin to the new Extensions screen.
* Helper: Do not show the back-compat menu item for new users
* Helper: Avoid notice in API authentication if credentials are missing
* Helper: Hide the back-compat menu item when users see the new screen
Also sets the user_id for the connection if one was not previously set.
2017-06-14 14:12:53 +01:00
Mike Jolley
77cee56ae8
Prevent memory and time limits
2017-06-14 14:02:47 +01:00
Mike Jolley
9fb8fa4761
Merge pull request #15610 from woocommerce/update/15604
...
Copy tweaks for catalog visibility
2017-06-14 13:08:36 +01:00
Mike Jolley
3132d641e3
Merge pull request #15600 from woocommerce/improvement/15596
...
Add checks in get_orders_generate_customer_meta_query
2017-06-14 13:04:03 +01:00
Mike Jolley
66c7c20844
Should work in reverse
2017-06-14 12:57:26 +01:00
Mike Jolley
985f7e043f
Update totals if local pickup is selected
2017-06-14 12:46:59 +01:00
Mike Jolley
55e9add8e5
More strict COD method matching
...
Fixes #15606
2017-06-14 12:17:28 +01:00
Mike Jolley
4a4e201888
Copy tweaks for catalog visibility
...
Ref #15604
2017-06-14 12:07:20 +01:00
Valerie K
66259ebff1
Update WooCommerce Services copy ( #15598 )
...
* Remove excess explanation from wizard shipping step
* Remove distracting link from shipping wizard page
* Update copy on extensions WCS banner
* Update copy on WCS extensions banner for Canada
* Fix extensions WCS banner when read from json
* Add Canada copy on wizard shipping step
* Use strict array comparison in WCS shipping tout
* Add service logos to WCS extension banner
* Use strict array comparison in WCS banner
* Remove related extensions when showing WCS banner
- when store is based in Canada remove Canada Post
extension from shipping page
- when store is based in US remove USPS
extension from shipping page
* Add image alt for logos on WCS banners
* Update WCS banner and wizard content
2017-06-14 11:24:45 +01:00
Claudio Sanches
62c65e778b
Restored emails settings default values
...
Closes #15574
2017-06-13 20:00:50 -03:00
claudiulodro
62064d56f8
Add edge case test
2017-06-13 14:00:12 -07:00
claudiulodro
489e67dbe1
Remove unnecessary checks
2017-06-13 13:37:40 -07:00
claudiulodro
f1a9dbc69e
Extra checks and tests
2017-06-13 13:32:21 -07:00
Claudio Sanches
6d1c133a3e
Merge pull request #15594 from woocommerce/fix/15561
...
Remove escape to fix saving of Special characters in attributes
2017-06-13 14:28:39 -03:00
Mike Jolley
ba2bf67bb9
Use hash_equals where needed
2017-06-13 13:54:02 +01:00
Mike Jolley
e24ca9d3bc
Merge remote-tracking branch 'origin/master'
2017-06-13 13:35:17 +01:00
Mike Jolley
598982ef70
Standards
2017-06-13 13:34:46 +01:00
Mike Jolley
c4c3d37101
Remove escape
2017-06-13 13:30:00 +01:00
Mike Jolley
393f1be092
Merge pull request #15580 from woocommerce/refactore/improve-importer-mapping-options
...
Better importer mapping options
2017-06-13 12:15:33 +01:00
Mike Jolley
1a6e477c83
Merge pull request #15579 from woocommerce/fix/importer-delimiter
...
Start handle importer delimiter
2017-06-13 11:57:10 +01:00
Mike Jolley
3d50d1468c
Merge pull request #15590 from woocommerce/fix/15584
...
Prevent error in wc_get_product_term_ids
2017-06-13 11:43:00 +01:00
Mike Jolley
282bf0fd68
Cleanup
2017-06-13 11:41:44 +01:00
nishitlangaliya
efea26d8fa
Fixed Login Issue when the username is an email ref #15577
2017-06-13 16:09:54 +05:30
Mike Jolley
5b1af1b75f
Merge pull request #15550 from ughimire/product-import
...
Fixed - Directory separator issue on windows for product import file …
2017-06-13 11:35:40 +01:00
Mike Jolley
0b14e91a60
Merge pull request #15533 from woocommerce/fix/order-item-meta-formatting
...
Removes the use of strip_tags() when outputting order item meta
2017-06-13 11:35:03 +01:00
yachmenov_c_
ab7a3b625c
#15584 - is_wp_error() checking added to prevent fatal
2017-06-13 11:19:56 +03:00
Umesh Ghimire
b5cd0a8680
Space after parentheses
2017-06-13 09:52:27 +05:45
Claudio Sanches
e6b5ac83c4
Better importer mapping options
...
- Rearranged fields to make easy to find
- Grouped price fields
- Include context to "Stock" since could means different things depending on the language
2017-06-12 18:08:23 -03:00
Claudio Sanches
2702647f88
Start handle importer delimiter
...
This make able handle the delimiter input passing to mapping screen and to the AJAX importation process.
2017-06-12 17:47:20 -03:00
claudiulodro
f020d54e67
Add support for paginate and return ids in wc_order_query
2017-06-12 13:26:29 -07:00
Claudiu Lodromanean
da35bad7bc
Merge pull request #15575 from woocommerce/fix/15559
...
[REST API] Allow set grouped_products
2017-06-12 10:14:05 -07:00
Claudio Sanches
4dcb61e098
Fixed a typo
2017-06-12 13:59:47 -03:00
Claudio Sanches
b2ce6212d4
Merge pull request #15569 from woocommerce/fix/15566
...
Update variation outofstock term on save.
2017-06-12 13:51:38 -03:00
Claudio Sanches
1254013f51
Merge pull request #15539 from woocommerce/fix/exporter-speed-and-encoding
...
Fix exporter speed and encoding
2017-06-12 13:49:57 -03:00
Claudio Sanches
1f7f289a88
Merge pull request #15570 from woocommerce/fix/15555
...
Show attribute data in admin list.
2017-06-12 13:43:02 -03:00
Claudio Sanches
43d28372b9
[REST API] Allow set grouped_products
...
Fixes #15559
2017-06-12 13:34:39 -03:00
Claudio Sanches
2541e38890
Merge pull request #15571 from woocommerce/fix/customer-logout-nonce
...
Add a nonce and confirmation for logging out via the customer my account page
2017-06-12 13:29:39 -03:00
Mike Jolley
636ad8b652
Add a nonce and confirmation for logging out via the customer my account page
2017-06-12 14:02:29 +01:00
Mike Jolley
54a9387361
Show attribute data in admin list.
2017-06-12 13:37:52 +01:00
Mike Jolley
012f251e42
Update variation outofstock term on save.
2017-06-12 13:09:47 +01:00
Chunkford
49353d5c6e
Create class-wc-order-item-meta.php
...
Add extra data to the second occurrence of the 'woocommerce_order_item_display_meta_value' hook so it matches the change done in https://github.com/woocommerce/woocommerce/pull/15551
2017-06-10 16:05:02 +01:00
Mike Jolley
1696a036a8
Use fputcsv to fix escaping
2017-06-10 15:43:38 +01:00
Mike Jolley
e2a73bbee9
Merge pull request #15523 from woocommerce/fix/15167
...
Fixed backwards compatibility with WC_Product_Variable::get_available_variation()
2017-06-10 14:27:02 +01:00
Chunkford
6326bd1f98
Create class-wc-order-item.php
...
Add extra data to `woocommerce_order_item_display_meta_key` and `woocommerce_order_item_display_meta_value` hooks
2017-06-10 13:26:43 +01:00
Umesh Ghimire
71c22cadf1
Fixed - Directory separator issue on windows for product import file fixed.
2017-06-10 08:50:41 +05:45
claudiulodro
4515e5fca9
Fix undefined/incorrectly used variables
2017-06-09 14:10:55 -07:00
Claudio Sanches
6d7da18d1c
Use get_avatar_url() in wc_get_customer_avatar_url()
2017-06-09 17:17:43 -03:00
Claudio Sanches
df0ec12fb4
Deprecated wc_get_customer_avatar_url() in favor of get_avatar_url()
...
And remove duplicated code.
2017-06-09 16:25:57 -03:00
Claudio Sanches
e63f42459b
Include image_id again
2017-06-09 15:44:32 -03:00
Claudiu Lodromanean
5d13ea39b1
Merge pull request #15537 from woocommerce/fix/empty-attributes
...
Prevent empty attributes being loaded or used
2017-06-09 10:42:48 -07:00
Claudiu Lodromanean
f8c64b31c0
Merge pull request #15541 from woocommerce/fix/15532
...
Update total orders and items
2017-06-09 09:39:50 -07:00
Mike Jolley
4367c9f6d4
Use user_can function
...
Use user can rather than roles directly.
If the user can edit posts, assume they are allowed an archive.
Fixes #15508
2017-06-09 15:18:35 +01:00
Mike Jolley
3367047c8e
Update total orders and items
2017-06-09 15:07:31 +01:00
Mike Jolley
5fe26e689c
Merge pull request #15528 from Chouby/importer_action
...
[3.1] Add action after a product has been imported
2017-06-09 14:17:41 +01:00
Mike Jolley
a013a41872
Fix escape
2017-06-09 13:40:11 +01:00
Mike Jolley
0d99ce626c
Increase limit to 50
2017-06-09 12:21:46 +01:00
Mike Jolley
49958a13a6
Prevent empty attributes being loaded or used
2017-06-09 12:14:11 +01:00
Matt Cohen
e644bccbe8
Removes the use of strip_tags() when outputting order item meta, to account for basic HTML tags, hyperlinks, etc.
2017-06-09 11:00:23 +02:00
Mike Jolley
4a56c8b92a
Fix indent
2017-06-09 09:36:44 +01:00
Frédéric Demarle
08e30450b5
Add action after a product has been imported
2017-06-09 08:30:22 +02:00
nishitlangaliya
9ba5f534ea
Fixed Don't show 'Restock refunded items' ref #14888
2017-06-09 09:06:57 +05:30
Claudio Sanches
16d342a6a0
Fixed backwards compatibility with WC_Product_Variable::get_available_variation()
...
Closes #15167
2017-06-08 16:06:06 -03:00
Claudio Sanches
8b3d1046e0
Merge pull request #15515 from woocommerce/update/15399
...
Tweak review settings and add global enable option
2017-06-08 15:53:00 -03:00
Claudiu Lodromanean
64558086bb
Merge pull request #15513 from woocommerce/fix/12534
...
Make persistant cart work on multisite
2017-06-08 09:11:48 -07:00
Claudiu Lodromanean
58a6c2d678
Merge pull request #15511 from woocommerce/update/comment-queries
...
Comment exclusion queries optimisation
2017-06-08 08:18:48 -07:00
Mike Jolley
5ee38c54c2
Option to disable reviews globally
2017-06-08 15:26:30 +01:00
Mike Jolley
b4040b1335
Translate quick edit text
2017-06-08 14:24:28 +01:00
Mike Jolley
32aca8cc39
String clarification
2017-06-08 14:08:48 +01:00
Mike Jolley
0d4dc49bd3
Break up verified owner and rating options
2017-06-08 14:06:15 +01:00
Mike Jolley
a55127dbf0
Append hash to fragment name
2017-06-08 13:47:34 +01:00
Mike Jolley
6eacecfeb6
Append blog ID on persistent cart user meta
2017-06-08 13:47:23 +01:00
Mike Jolley
6b4fce475a
Indenting
2017-06-08 12:46:01 +01:00
Mike Jolley
4ea9ab46a7
Avoid slow substring query
2017-06-08 12:21:55 +01:00
Mike Jolley
caacd65085
Update function to ensure notes have correct type (pre WC 1.6)
2017-06-08 12:18:07 +01:00
Mike Jolley
75480ab99f
Show notes in order list
2017-06-08 12:17:46 +01:00
Mike Jolley
b32d5802b7
Rather than join the posts table and look at types, we can exclude order notes by using their type.
...
Webhooks use `webhook_delivery`
Order notes use `order_note` type.
#15509
2017-06-08 12:01:06 +01:00
Boro Sitnikovski
68d512ae01
Address PR comments
2017-06-08 13:00:28 +02:00
Mike Jolley
25de18c614
Merge pull request #15495 from woocommerce/fix/15481
...
Validate all possible values for variation add to cart
2017-06-07 15:25:05 +01:00
Boro Sitnikovski
0271a9e2fe
Update version
2017-06-07 16:20:09 +02:00
Mike Jolley
0d7614d44b
Fix locale notice
...
Closes #15502
2017-06-07 14:31:09 +01:00
Boro Sitnikovski
00847da730
Fix
2017-06-07 12:33:05 +02:00
Boro Sitnikovski
1584836fa9
Code style fixes
2017-06-07 12:31:42 +02:00
Boro Sitnikovski
b5fd62274f
Map the correct function and use notice instead of exception
2017-06-07 12:30:03 +02:00
Mike Jolley
bea7492e23
Validate all possible values for variation add to cart
...
Closes #15481
2017-06-07 11:13:28 +01:00
Mike Jolley
325740ed5d
Merge pull request #15485 from thenbrent/DRY_variable_price_html_filter
...
Apply woocommerce_variable_price_html filter once
2017-06-07 10:34:17 +01:00
amansaini
03699dcaae
Fixes issue #15489
2017-06-07 11:58:09 +05:30
jgacuca567
4a9950b4c5
Changed their to there
2017-06-06 17:30:20 -04:00
Brent Shepherd
a274000d34
Append variable price suffix only once
2017-06-06 13:40:36 -07:00
Brent Shepherd
acd6bf9cb7
Apply woocommerce_variable_price_html filter once
...
To save a bit of duplicate code.
2017-06-06 13:35:41 -07:00
Claudio Sanches
2523490f9f
[REST API] Fixed oAuth1.0a to allow multi-dimensional arrays
...
Fixes #15395
Closes #15396
2017-06-06 17:05:03 -03:00
Claudiu Lodromanean
fa3586729a
Merge pull request #15469 from woocommerce/fix/15457
...
Revert thousand removal in wc_format_decimal, and add more tests
2017-06-06 10:31:40 -07:00
Claudio Sanches
20d5e0f769
Merge pull request #15477 from woocommerce/fix/15392
...
Variations to inherit catalog_visibility
2017-06-06 14:27:46 -03:00
Claudio Sanches
c43afcfbd0
Merge pull request #15474 from woocommerce/update/15031
...
Update copy + css for zones
2017-06-06 14:26:24 -03:00
Claudio Sanches
f430e5edc8
Merge pull request #15471 from woocommerce/fix/15467
...
Check taxonomy exists before allowing function to run
2017-06-06 14:23:54 -03:00
Boro Sitnikovski
efd42e6bc4
Proof of concept to error when internal meta props are accessed directly
2017-06-06 19:13:53 +02:00
Mike Jolley
ed783e1bbf
Merge pull request #15473 from jamesckemp/patch-6
...
woocommerce_shortcode_products_query params
2017-06-06 15:52:06 +01:00
Mike Jolley
52e9dc5443
Merge pull request #15462 from woocommerce/fix/15081
...
Start indexing variations with 1
2017-06-06 14:57:49 +01:00
Mike Jolley
e0a64ad36a
Variations to inherit catalog_visibility
2017-06-06 14:49:32 +01:00
Mike Jolley
eddcb16e00
Update copy + css for zones
...
Closes #15031
2017-06-06 13:46:09 +01:00
James Kemp
984ed08ccc
woocommerce_shortcode_products_query params
...
The `woocommerce_shortcode_products_query` filter is used earlier on in this file but with 3 params. The third being `$loop_name`. It's not relevant here, so set to `null`, but needs to be included to avoid errors when adding a filter.
2017-06-06 13:22:28 +01:00
Mike Jolley
253bb0743c
Ensure taxonomy exists in wc_get_product_visibility_term_ids
2017-06-06 13:10:56 +01:00
Mike Jolley
e83450b861
Errors do not need localisation
2017-06-06 13:10:22 +01:00
Mike Jolley
d62aefba74
Merge branch 'master' into fix/15414
...
# Conflicts:
# includes/wc-core-functions.php
2017-06-06 12:55:50 +01:00
Mike Jolley
09d43670fc
function exists
2017-06-06 12:54:49 +01:00
Mike Jolley
4c7f8c0fbd
Revert thousand removal in wc_format_decimal, and add more tests
2017-06-06 12:44:58 +01:00
Mike Jolley
c77347da48
Merge pull request #15459 from woocommerce/fix/14659
...
Make phone number clickable
2017-06-06 11:52:05 +01:00
Mike Jolley
513bca9fa5
Merge pull request #15456 from woocommerce/fix/15288
...
Fixed unicode characters when saving webhook delivery logs
2017-06-06 10:26:26 +01:00
Claudio Sanches
6be1569955
Start indexing variations with 1, closes #15081
2017-06-05 17:42:58 -03:00
Claudio Sanches
6c42f3c16a
Properly sanitization for wc_make_phone_clickable() and fixed coding standards
...
Closes #14659
2017-06-05 16:15:04 -03:00
Claudio Sanches
f65005be41
Merge pull request #14719 from avinapatel/fix-14659
...
Made the buyer phone number clickable in the in the order backend.
2017-06-05 15:47:16 -03:00
Claudio Sanches
4aec4efa67
Merge pull request #15432 from woocommerce/update/wcs-banner-responsive
...
Update WooCommerce Services extensions banner
2017-06-05 15:36:22 -03:00
Claudio Sanches
58b22f343a
Fixed unicode characters when saving webhook delivery logs
...
Closes #15288
2017-06-05 15:25:29 -03:00
Claudio Sanches
6c29d32396
Merge pull request #15446 from woocommerce/fix/15437-15443
...
Notice fixes in API and meta handling class
2017-06-05 15:00:48 -03:00
Claudiu Lodromanean
2e6219f682
Merge pull request #15452 from woocommerce/fix/15440
...
Add correct args to woocommerce_shipping_zone_method_deleted
2017-06-05 11:00:22 -07:00
Claudio Sanches
527fa0d07a
Fixe CHMOD
2017-06-05 14:45:30 -03:00
Valerie
70570f3745
Update WCS banner style
2017-06-05 11:30:42 -04:00
Valerie
baf405fdcf
Update WCS banner image
2017-06-05 11:28:37 -04:00
Valerie
8939dfc1a5
Update WCS banner text
2017-06-05 11:28:37 -04:00
Mike Jolley
b4098a7472
Use WP date format in admin
...
Closes #15453
2017-06-05 15:58:29 +01:00
Mike Jolley
76a19c27a5
Add correct args to woocommerce_shipping_zone_method_deleted
2017-06-05 15:11:08 +01:00
Mike Jolley
a348dedfb7
Merge pull request #15397 from woocommerce/update/add-activation-toggles-in-subscriptions
...
Update/add activation toggles in subscriptions
2017-06-05 14:29:36 +01:00
Mike Jolley
67a0637417
Advanced locale switching
2017-06-05 14:18:39 +01:00
Mike Jolley
6f4ce488e2
Merge pull request #15402 from woocommerce/fix/ipn-authorization
...
Fix IPN authorization setting orders to completed automatically
2017-06-05 13:24:33 +01:00
Boro Sitnikovski
8a615a6e79
Update conditional for non-auth payments
2017-06-05 14:07:49 +02:00
Mike Jolley
3271ac7ab2
Merge pull request #15424 from lawkwok/patch-1
...
Update class-wc-data-store.php
2017-06-05 13:03:59 +01:00
Mike Jolley
2452fa807f
Merge pull request #15425 from woocommerce/fix-incorrect-documentation
...
Fix incorrect documentation
2017-06-05 10:46:46 +01:00
Mike Jolley
1e8e40565d
Avoid deprecated ID in API. Fixes #15437
2017-06-05 10:45:10 +01:00
Mike Jolley
52356c5caf
Correct deprecated arg message. Fixes #15443
...
Fixes #15443
2017-06-05 10:43:13 +01:00
Boro Sitnikovski
4b82a750fc
Fix IPN authorization setting orders to completed automatically
2017-06-05 10:07:22 +02:00
claudiulodro
992c1cce63
Add filter to exporter default column names
2017-06-02 11:46:27 -07:00
Mike Jolley
260cfce497
Format strings
2017-06-02 18:44:43 +01:00
Mike Jolley
adc679633b
Handle default subjects and headings at time of sending, not in constructor
2017-06-02 18:25:05 +01:00
Jonathan Belcher
66736e69f7
Fix incorrect documentation
2017-06-02 12:58:16 -04:00
Lawrence
127ed893dc
Update class-wc-data-store.php
2017-06-02 09:19:54 -07:00
Claudio Sanches
46846ed4e0
Merge pull request #15416 from woocommerce/fix/15407
...
Correctly append cache
2017-06-02 12:18:55 -03:00
Claudio Sanches
86f2edb125
Merge pull request #15419 from woocommerce/fix/15412
...
Update florin
2017-06-02 12:16:15 -03:00
Mike Jolley
fa1d2cba23
Merge pull request #15413 from bekarice/tweak/filter-cart-added-qty
...
Tweak: Filter quantity being added to the cart
2017-06-02 15:27:17 +01:00
Mike Jolley
7ee02d8f55
Merge pull request #15411 from crodas/tax_address_issue
...
Improve how taxes are applied
2017-06-02 15:16:32 +01:00
Mike Jolley
b1ccb76d06
Update florin
...
Fixes #15412
2017-06-02 15:14:29 +01:00
Mike Jolley
198883e1fb
Merge pull request #15406 from woocommerce/improvement/15382
...
Add index to order_id in woocommerce_downloadable_product_permissions table.
2017-06-02 13:37:56 +01:00
Mike Jolley
da91857a84
Correctly append cache
...
Fixes #15407
2017-06-02 13:34:09 +01:00
José Marques
3d516ab9cd
removes checkbox toggle markup and replaces inactive toggles links with spans
2017-06-02 11:22:48 +01:00
Beka Rice
494fa0974c
Filter quantity being added to the cart
2017-06-02 00:07:06 -04:00
Cesar Rodas
c96c62f380
Improved how taxes are applied
...
If by default the taxes are based on the shipping address and the current order doesn't have any, it would use the billing address rather than using the Shopping base location.
It's basically what WooCommerce is [doing already in Javascript](https://github.com/woocommerce/woocommerce/blob/master/assets/js/admin/meta-boxes-order.js#L526-L575 ). This kind of checks should be done in the backend, never in the client side.
2017-06-01 15:51:55 -04:00
Claudio Sanches
b01a6996d8
Merge pull request #15409 from woocommerce/improvement/wiki
...
Add wiki links to order query docblocks.
2017-06-01 16:03:43 -03:00
claudiulodro
16e88856f3
Add wiki link to order query
2017-06-01 11:59:15 -07:00
claudiulodro
b27fb203ef
Add wiki link to wc_get_orders
2017-06-01 11:58:43 -07:00
claudiulodro
63069976cf
Order ASC in exporter
2017-06-01 11:52:14 -07:00
claudiulodro
cad7757045
Add index to order_id
2017-06-01 11:26:35 -07:00
Cesar Rodas
03a3ce9901
Fixed coding styles issues
2017-06-01 11:47:36 -04:00
Cesar Rodas
5997ffd4b1
Fixed coding styles issues
2017-06-01 11:46:05 -04:00
Mike Jolley
e3a4008d9f
Fix group clause depending on query
...
Fixes #15394
2017-06-01 13:33:30 +01:00
José Marques
be229a3e5b
replaces active/deactivate buttons with toggles
2017-06-01 12:51:45 +01:00
Mike Jolley
d161ba0216
Merge branch 'pr/15384'
2017-06-01 12:09:04 +01:00
Mike Jolley
71a4b4b75d
Code standards
2017-06-01 12:08:48 +01:00
David de Boer
d788b15073
Set delete_meta_data @param to accept a string
...
Set delete_meta_data @param to accept a string
2017-06-01 01:47:52 +02:00
Pablo dos Santos Gonçalves Pacheco
435c29771e
Create function to sanitize order id
...
I've realized that tracking an order id with **[woocommerce_order_tracking]** using # will not work. Some users think that they need to use the hash because it's the WooCommerce default. The new **wc_sanitize_order_id()** function fixes that.
And **woocommerce_shortcode_order_tracking_order_id** filters the order_id that comes from query string and is used on **[woocommerce_order_tracking]**.
It can be used for other cases though.
I hope it helps :)
2017-05-31 17:34:00 -03:00
Claudio Sanches
5369bae987
Merge branch 'master' into add/wcs-banners
2017-05-31 16:02:38 -03:00
Claudio Sanches
08f4d7b2f2
Merge pull request #15310 from woocommerce/update/add-woo-services-in-wizard
...
Add WooCommerce Services to Setup Wizard
2017-05-31 15:48:42 -03:00
Nabeel Sulieman
5f0c84ee13
payment_gateways should be payment-gateways
2017-05-31 11:44:52 -07:00
Claudio Sanches
b93d286985
Stop auto skip column map and remove all related code
2017-05-31 14:59:17 -03:00
Nabeel Sulieman
62d7937a52
Only queue woocommerce services install if it's not active
2017-05-31 09:36:33 -07:00
Nabeel Sulieman
27a3e83642
- WooCommerce services enabled by default
...
- Clicking "skip" on shipping page should disable shipping
2017-05-31 09:36:32 -07:00
Mike Jolley
fc5b4f0482
Only show no_shipping_methods notice if services is not being installed
2017-05-31 09:36:32 -07:00
Mike Jolley
c25b844761
Tweak handler
2017-05-31 09:36:32 -07:00
Mike Jolley
c53c83aebb
Tweak test and styling
2017-05-31 09:36:32 -07:00
Nabeel Sulieman
c49fa38e2c
Make units controls look the same for touted and non-touted
...
Rename local functions to "location"
2017-05-31 09:33:50 -07:00
Nabeel Sulieman
e940544a2a
Use Inches and Ounces as default measurement units when location is in
...
US
2017-05-31 09:33:19 -07:00
Nabeel Sulieman
ce5aff0236
Improve wording of measurement units on shipping page
2017-05-31 09:33:19 -07:00
Jeff Stieler
3ced364583
When checking for North American stores, default location to GeoIP if the option hasn’t been set.
2017-05-31 09:31:59 -07:00
Jeff Stieler
736d3e9f94
Remove “taxes” from shipping step naming.
2017-05-31 09:31:59 -07:00
Jeff Stieler
d60a4fc1da
Add missing name to WooCommerce Services plugin installation info.
2017-05-31 09:31:59 -07:00
Jeff Stieler
7dcaff3e39
Handle update of weight/dimension units in the wizard shipping step instead of locale.
2017-05-31 09:31:59 -07:00
Jeff Stieler
466cee9fc9
Update tax rates upon store location change.
2017-05-31 09:31:59 -07:00
Jeff Stieler
86f6921ced
Handle SCRIPT_DEBUG config for setup wizard script includes.
2017-05-31 09:31:59 -07:00
Jeff Stieler
f52eab71d2
Update wizard shipping step copy to match latest designs.
2017-05-31 09:31:58 -07:00
Jeff Stieler
42dfdc7e3c
Schedule single install event for WooCommerce Services when saving the shipping step.
2017-05-31 09:31:58 -07:00
Jeff Stieler
cd15b6fbc6
Fix shipping enable input name.
2017-05-31 09:31:58 -07:00
Jeff Stieler
1492c50373
Add skip/continue buttons back to wizard shipping step.
2017-05-31 09:31:58 -07:00
Jeff Stieler
b52b38ecb0
Properly translate strings on the shipping wizard step.
2017-05-31 09:31:57 -07:00
Jeff Stieler
6111437750
Only show WooCommerce Services tout when the store is in North America.
2017-05-31 09:31:57 -07:00
Jeff Stieler
0a63b83c7c
Move dimension and weight inputs to shipping step.
2017-05-31 09:31:57 -07:00
Nabeel Sulieman
1122faf760
Implement WooCommerce Services NUX in Setup Wizard:
...
- Rename "shipping locale" to "shipping location"
- Move tax setup to to shipping location page
- Rename shipping & taxes to just shipping
- Implement radio button selection to enable/disable shipping
- Add checkbox for installing WooCommerce services
- Start updating wc-admin css and javascript
2017-05-31 09:31:57 -07:00
Mike Jolley
fc4a9d185e
Move changes after set name
2017-05-31 16:28:55 +01:00
Jeff Stieler
c212725053
Use WC_Install class to install/activate WooCommerce services from the Extensions page.
2017-05-31 09:27:19 -06:00
Jeff Stieler
d8e508842d
Allow all aspects of the WCS banner block to be overwritten by JSON data.
2017-05-31 09:27:18 -06:00
Jeff Stieler
9b6b4928a6
Show WCS banner on extensions page for both USA and Canada.
2017-05-31 09:27:18 -06:00
Jeff Stieler
0293884660
PHP 5.2+ compatibility - don’t use array dereferencing.
2017-05-31 09:27:17 -06:00
Valerie
e7672d6572
Enable WCS banner on shipping extension page
2017-05-31 09:27:17 -06:00
Valerie
3b689b5da9
Enable WCS banner on featured extension page
2017-05-31 09:26:17 -06:00
Valerie
870e3ddea2
Add WCS banner addons block markup
2017-05-31 09:26:17 -06:00
Claudio Sanches
bc3c7f6bbd
Merge branch 'master' into fix/15315
2017-05-31 11:59:49 -03:00
Mike Jolley
6883b49e81
Atom sucks
2017-05-31 15:57:49 +01:00
Claudio Sanches
d9e946491f
Merge pull request #15357 from woocommerce/fix/15274-meta
...
Add ability to invalidate cache by object ID
2017-05-31 11:53:53 -03:00
Claudio Sanches
933386f272
Merge pull request #15371 from woocommerce/fix/15365
...
Add failed to processing for the processing email
2017-05-31 11:52:12 -03:00
Mike Jolley
d8edc8a965
Always map
2017-05-31 15:07:07 +01:00
Cesar Rodas
c59566759c
Merge remote-tracking branch 'origin/master' into improve_meta_data_updates
2017-05-31 09:41:41 -04:00
Cesar Rodas
addc80de15
Fixed coding styles
2017-05-31 09:39:13 -04:00
Mike Jolley
eda55579b7
Merge pull request #15373 from woocommerce/feature/product-csv-import-export
...
Product CSV Import Export
2017-05-31 13:57:37 +01:00
Mike Jolley
21300951f1
Fix tests due to generated names
2017-05-31 13:48:28 +01:00
Mike Jolley
32ab4fb47f
Merge pull request #15360 from woocommerce/fix/15228
...
Store user ID and use that to determine if the session should be loaded or not.
2017-05-31 13:03:29 +01:00
Mike Jolley
532ddfa6b0
Merge conflicts
2017-05-31 12:23:52 +01:00
Mike Jolley
e185d5572b
Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests
2017-05-31 12:19:58 +01:00
Mike Jolley
72ddb1f23d
Merge branch 'feature/product-csv-import-export' into feature/15302
...
# Conflicts:
# includes/export/class-wc-product-csv-exporter.php
2017-05-31 12:13:42 +01:00
Mike Jolley
cb59bd0487
Merge pull request #15351 from woocommerce/fix/15329
...
Use get_max_purchase_quantityin cart template and fix logic
2017-05-31 11:39:53 +01:00
Mike Jolley
56ffa3d2aa
Merge pull request #14706 from crodas/make_get_item_consistent
...
Make get item consistent
2017-05-31 11:10:09 +01:00
Mike Jolley
23315a6930
Add failed to processing for the processing email
...
Fixes 15365
2017-05-31 10:12:24 +01:00
Claudio Sanches
51ddc36080
Skip empty attributes and reset indexes
2017-05-30 19:26:31 -03:00
Claudio Sanches
4a98844bb8
Shows if attribute is visible in exported data
2017-05-30 18:58:45 -03:00
Claudio Sanches
d6fb028481
Allow import and create new global attributes
2017-05-30 18:46:32 -03:00
Claudio Sanches
96fe919535
Added column in exported data to indicate if attribute is global
2017-05-30 18:06:56 -03:00
Claudio Sanches
64a60de24f
Merge pull request #15353 from woocommerce/fix/15245
...
Set all legacy data
2017-05-30 17:58:28 -03:00
Claudio Sanches
b8a2815ae5
Merge pull request #15358 from woocommerce/fix/15356
...
Only delete if the object has an ID
2017-05-30 17:48:22 -03:00
Mike Jolley
85b8d8661a
Merge pull request #14595 from woocommerce/feature/helper
...
Helper: First pass at merging the Helper plugin into WooCommerce
2017-05-30 20:39:08 +01:00
Konstantin Kovshenin
aa6353bfa1
Helper: Clean up navigation/headings, remove some noop markup.
2017-05-30 22:26:33 +03:00
Claudio Sanches
fb81994855
Fixed downloads URLs in the CSV parser
2017-05-30 15:01:48 -03:00
Claudio Sanches
40c2b471f5
Grouped products after cross sells as in the admin screen
2017-05-30 14:50:54 -03:00
Konstantin Kovshenin
1dc7e507b1
Helper: Redesign (work in progress)
2017-05-30 20:50:14 +03:00
Claudio Sanches
18bb025eaf
Fixed exported images
2017-05-30 14:33:17 -03:00
Konstantin Kovshenin
556c2cf84c
Helper: Add tabbed interface to WooCommerce > Extensions
2017-05-30 19:46:26 +03:00
Claudio Sanches
73e34b583f
Fixed generic stock mapping
2017-05-30 13:04:16 -03:00
Mike Jolley
60def8cde0
Store user ID and use that to determine is session data should overwrite user data.
2017-05-30 17:03:55 +01:00
Claudio Sanches
ffd248f19d
Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests
2017-05-30 13:03:17 -03:00
Mike Jolley
3dd7cbf59b
Revert d570a81241
2017-05-30 16:54:37 +01:00
Claudio Sanches
9556e248a4
Missing tax class
2017-05-30 12:52:29 -03:00
Cesar Rodas
001cf94ff3
Fixed typo
2017-05-30 10:37:29 -04:00
Mike Jolley
ed32f9c792
Only delete if the object has an ID
2017-05-30 14:44:28 +01:00
Mike Jolley
2366a036e3
Add id cache group to invalidate by ID
2017-05-30 14:37:29 +01:00
Mike Jolley
f6b9c57b5b
Invalidate by ID
2017-05-30 14:37:16 +01:00
Mike Jolley
2346af1816
Update title if changed
...
This could be the result of a term name changing, parent changing etc.
Fixes #15315
May degrade performance if reading many variations.
2017-05-30 13:20:36 +01:00
Mike Jolley
fe3406ceec
Set all legacy data
...
Fixes #15245
2017-05-30 12:36:20 +01:00
Mike Jolley
7529e1ac26
Merge branch 'pr/15304'
2017-05-30 11:56:10 +01:00
Mike Jolley
4ea9138d3e
Code and test improvements
2017-05-30 11:54:31 +01:00
Mike Jolley
9880879ebb
Merge pull request #15348 from davefx/patch-1
...
Add new filter woocommerce_logger_log_message
2017-05-30 11:37:18 +01:00
Mike Jolley
38bcdcfb28
Use get_max_purchase_quantityin cart template and fix logic
...
Closes #15329
2017-05-30 11:02:56 +01:00
Mike Jolley
ef52345f1b
Merge pull request #15337 from aelia-co/fix-issue-15336
...
Fix for #15336
2017-05-30 10:38:31 +01:00
David Marín
f421939a3e
Add new filter woocommerce_logger_log_message
...
It replicates the filter for the deprecated add logger function in the equivalent log function.
2017-05-30 09:55:10 +02:00
claudiulodro
7cf62bb023
Set up and add extra mappings
2017-05-29 11:16:44 -07:00
Cesar Rodas
8c67ae6a7a
Make `get_item` to rely no `get_items`
2017-05-29 12:38:25 -04:00
Claudiu Lodromanean
2fb8f4b6b0
Merge pull request #15331 from woocommerce/fix/14759
...
Format parent stock qty on read
2017-05-29 08:24:15 -07:00
Claudio Sanches
7f4c650c87
Merge pull request #15334 from woocommerce/fix/15322
...
Ensure we have child before getting price
2017-05-29 12:02:01 -03:00
Claudio Sanches
c73461f440
Merge pull request #15332 from woocommerce/fix/15307
...
Hide replies from recent reviews widgets
2017-05-29 12:00:57 -03:00
Diego Zanella
b14a2db2e6
Fix for #15336
...
* Replaced reference to `WC()->payment_gateways` property with call to `WC()->payment_gateways()` method.
2017-05-29 13:02:16 +01:00
Mike Jolley
139c652e1d
Ensure we have child before getting price
...
Fixes #15322
2017-05-29 10:43:56 +01:00
Mike Jolley
4ec3fe61f9
Merge pull request #15290 from peterrath/New-action-for-display-custom-data-in-order-fee-lines
...
New action for display custom data in order fee lines
2017-05-29 10:17:35 +01:00
Mike Jolley
934e95bc8b
Merge pull request #15308 from woocommerce/fix/15297
...
Grouped product support in importer/exporter
2017-05-29 10:13:45 +01:00
Mike Jolley
4251d71dab
Hide replies from recent reviews widgets
...
Fixes #15307
2017-05-29 10:09:17 +01:00
Mike Jolley
f1d718d38a
Format parent stock qty on read
...
Fixes #14759
2017-05-29 10:03:35 +01:00
claudiulodro
759fcae533
Use 'grouped_products' for grouped products
2017-05-28 12:37:18 -07:00
Peter
314f64b566
Change the name of the new action
...
Change the name of the new action to woocommerce_after_order_fee_item_name.
2017-05-28 20:40:59 +02:00
Claudio Sanches
6d54ae3504
Fetch product ID for temporary products only while processing the item
2017-05-26 19:57:31 -03:00
Claudio Sanches
3d5891e589
Fixed how backorders field is parsed
2017-05-26 19:39:20 -03:00
Claudio Sanches
77fcaf3392
Fixed images map handler
2017-05-26 19:30:42 -03:00
Claudio Sanches
0719746af2
Validate dates and use string format to use website timezone
2017-05-26 19:25:44 -03:00
Claudio Sanches
4bc139fef9
Fixed conflicts
2017-05-26 19:09:57 -03:00
Claudio Sanches
4d66bc9e45
Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests
2017-05-26 19:07:46 -03:00
Claudio Sanches
fe67ca0aff
Fixed images mapping key
2017-05-26 18:58:35 -03:00
Claudio Sanches
2eeb444eeb
Properly set stock quantity
2017-05-26 18:53:22 -03:00
Claudio Sanches
02a27ae258
Fixed PHP Notice about undefined name for product attributes
2017-05-26 18:44:22 -03:00
Claudio Sanches
780ce1a4e6
Fixed deprecated `set_stock` notice
2017-05-26 18:42:07 -03:00
Claudio Sanches
d2c3bf362f
Normalize column names
2017-05-26 18:01:15 -03:00
claudiulodro
9b925d28ec
Grouped product child support
2017-05-26 13:30:17 -07:00
claudiulodro
c96f8b5bc1
Better unset
2017-05-26 12:16:38 -07:00
claudiulodro
4a104f3202
Remove extra isset
2017-05-26 11:41:44 -07:00
claudiulodro
00d37412eb
Accidentally reverted a fix
2017-05-26 11:37:12 -07:00
claudiulodro
d362d47995
Get external products working
2017-05-26 11:26:55 -07:00
Ninos Ego
8eec5cc802
Small fix for thousand separators replacement check
2017-05-26 20:06:24 +02:00
Ninos Ego
ccdac49723
Fix for #15294
2017-05-26 19:31:13 +02:00
Mike Jolley
dcdd44ae67
Use correct keys for images
2017-05-26 18:09:49 +01:00
Mike Jolley
dbd0f3dce0
error message
2017-05-26 16:56:37 +01:00
Mike Jolley
d9217b1d59
More tidyup
2017-05-26 16:54:43 +01:00
Mike Jolley
f51d434d10
Added todo item in exporter
2017-05-26 15:57:29 +01:00
Mike Jolley
3a7f4884d8
Moved logic around and organised
2017-05-26 15:57:17 +01:00
Claudio Sanches
995aa89b84
Fixed shipping class parser
2017-05-26 12:27:06 +01:00
Mike Jolley
62bcca6cce
Merge pull request #15277 from woocommerce/fix/float-number-comparison
...
Support floats for the custom sort function
2017-05-26 11:16:22 +01:00
Mike Jolley
c92d6335ff
Merge pull request #15282 from woocommerce/fix/15267
...
Use meta id instead of key in WC_Order_Item::offsetGet
2017-05-26 11:11:01 +01:00
Peter
05516dbea5
New action for display order fee custom data
...
We need to display custom data in fee lines, similarly to woocommerce_after_order_itemmeta action in shipping line items.
2017-05-26 10:05:26 +02:00
Jonathan Moore
7dc2c7cd6e
fixes #15283
...
fixes #15283 Notice: Undefined property: stdClass::$post_ID in wp-content/plugins/woocommerce/includes/class-wc-structured-data.php on line 262
when calling wp_list_comments with $options['callback'] = 'woocommerce_comments'
2017-05-26 07:59:42 +08:00
claudiulodro
e00d7b7c55
File metadata by id
2017-05-25 14:43:36 -07:00
Konstantin Kovshenin
dda05889eb
Helper: Avoid an undefined warning in the main template
2017-05-25 23:44:29 +03:00
claudiulodro
fc05af3514
Phpcs fixes
2017-05-25 12:53:32 -07:00
claudiulodro
df06d6f942
Merge remote-tracking branch 'origin/feature/product-csv-import-export' into HEAD
2017-05-25 12:41:26 -07:00
claudiulodro
c4c990bc7c
Remove unneccessary function
2017-05-25 12:36:10 -07:00
claudiulodro
a99d7ff099
Exporter tests and tweaks
2017-05-25 12:33:14 -07:00
Claudio Sanches
ac4bcf39c2
Merge pull request #15268 from woocommerce/fix/14775
...
For COD orders, force payment complete status to be completed.
2017-05-25 15:12:34 -03:00
Mike Jolley
ba305eacb5
Fix tests
2017-05-25 18:16:10 +01:00
Boro Sitnikovski
be70a3f95c
Support floats for the custom sort function
2017-05-25 18:05:13 +02:00
claudiulodro
6d098b9c21
Clean up and some tests
2017-05-25 08:41:11 -07:00
Mike Jolley
c31ab30391
Create temp objects to update later
2017-05-25 14:54:49 +01:00
Mike Jolley
42c3c9e593
Remove extra full stop
2017-05-25 12:36:12 +01:00
Mike Jolley
2e5053633b
CRUD should update post type on update so it matches expected value.
2017-05-25 12:09:59 +01:00
Mike Jolley
d2da39e046
Merge branch 'pr/14549'
2017-05-25 11:51:55 +01:00
Mike Jolley
7ec25f987f
Only replace the user set thousand separator and add test
2017-05-25 11:51:45 +01:00
Mike Jolley
0e675137e3
Merge branch 'fix/issue-15252'
2017-05-25 11:30:09 +01:00
Mike Jolley
d73849eee3
wc_strtoupper helper
2017-05-25 11:30:01 +01:00
Anwer AR
c4fcddca73
Back to attributes link on attributes edit page ( #15088 )
...
* see #15059 The issue was about editing product attributes. Added back to attributes link.
* Updates admin_url to esc_url
* Added admin_url again wrapping inside esc_url
The function works without admin_url in my previous commit. but i have added admin_url again to make sure it points to correct location.
* Correctted typo of esc function and removed icon
correction of spell mistake and removal of &larr due to translation and RTL concerns. though WP and WC itself using &larr on some places.
2017-05-25 11:15:57 +01:00
Dixita Dusara
fe4a4a7e83
Update issue Undefined index warning when saving variations with stock management disabled #15242 ( #15271 )
...
* Issue Undefined index warning when saving variations with stock management disabled #15242
* updated issue as per your suggestion for index warning when saving variations with stock management disabled #15242
2017-05-25 10:58:32 +01:00
Claudio Sanches
a58bd42dcf
Merge pull request #15172 from woocommerce/fix/15166
...
Correct price query when on a post type archive
2017-05-24 21:13:30 -03:00
Cesar Rodas
563aa887f7
Apply woocommerce_order_get_items filter to get_item
2017-05-24 17:30:14 -04:00
Claudio Sanches
72b98cbf5d
Fixed WC_Customer->set_display_name @since #15239
2017-05-24 17:45:20 -03:00
Claudiu Lodromanean
be25e49069
Merge pull request #15266 from woocommerce/fix/15238
...
Fix saving of text attributes with special chars
2017-05-24 11:38:28 -07:00
Boro Sitnikovski
e68977d021
function_exists check
2017-05-24 20:22:58 +02:00
Mike Jolley
bf48ac9e96
Merge pull request #15239 from woocommerce/fix/15020-display-name-update
...
Check for an existing display name before updating a user on checkout
2017-05-24 19:20:45 +01:00
Boro Sitnikovski
c7c4cfbae5
Use mb
2017-05-24 20:19:17 +02:00
Claudiu Lodromanean
0a57283b61
Merge pull request #15264 from woocommerce/fix/15240
...
Gallery should be updated even if empty.
2017-05-24 11:18:53 -07:00
Kelly Dwan
ea98da7778
Use display_name from the customer data store
2017-05-24 14:14:29 -04:00
Mike Jolley
28d355948f
docblock
2017-05-24 19:11:16 +01:00
Boro Sitnikovski
43955736fc
Update PR after review
2017-05-24 20:10:51 +02:00
Kelly Dwan
0a265b53a2
Add display_name to customer data store
2017-05-24 13:57:11 -04:00
Mike Jolley
20637e53b8
For COD orders, force payment complete status to be completed.
2017-05-24 18:48:34 +01:00
Kelly Dwan
51f4a6b1b8
Customers: Don’t update the display name of a user when completing an order, unless the old display name is an email.
2017-05-24 13:32:02 -04:00
Mike Jolley
7f8add52a7
Fix saving of text attributes with special chars
...
Fixes #15238
2017-05-24 18:01:19 +01:00
Mike Jolley
4b74f304b0
Gallery should be updated even if empty.
...
Fixes #15240
2017-05-24 17:23:28 +01:00
Konstantin Kovshenin
8b5c5c0bd6
Helper: Add better update URLs to theme subscriptions
2017-05-24 18:15:07 +03:00
Konstantin Kovshenin
f912f39364
Helper: Add better update URLs to plugin subscriptions
2017-05-24 18:11:37 +03:00
Konstantin Kovshenin
353eac70ca
Helper: Remove some legacy updater notices
2017-05-24 18:10:31 +03:00
roykho
c837827992
Fix undefined global variable notice
2017-05-24 07:21:20 -07:00
Claudio Sanches
5f28c733cc
Merge pull request #15234 from woocommerce/update/14630
...
Update serializejson to 2.8.1
2017-05-24 09:21:10 -03:00
Boro Sitnikovski
30f20b81de
Make state validation less stricter for keys
2017-05-24 14:09:09 +02:00
Konstantin Kovshenin
e8afe57593
Helper: Add contextual nags about available extension updates
2017-05-24 14:59:48 +03:00
Claudio Sanches
da7d5786d3
Merge branch 'feature/product-csv-import-export' into feature/product-parser-match-exporter
2017-05-24 08:56:27 -03:00
Claudio Sanches
b08c75fb83
Added handler for default attributes and improved how deal with product attributes
2017-05-24 08:14:10 -03:00
Mike Jolley
f866f164eb
Merge pull request #15244 from woocommerce/improvement/15187
...
Order query unit tests and fixes.
2017-05-24 12:03:40 +01:00
Claudio Sanches
66d7aabe6c
Added full support for variations in importer
2017-05-24 07:26:57 -03:00
Konstantin Kovshenin
a1b3d2834b
Helper: Fix duplicate product output
2017-05-24 13:04:52 +03:00
Claudio Sanches
86036d7040
Check for WP_Error while getting/creating tags and shipping classes
2017-05-24 06:47:12 -03:00
Claudio Sanches
83f08ec18d
Set attribute as visible by default
2017-05-24 05:43:15 -03:00
Claudio Sanches
60dd750a7b
Handle product attributes
2017-05-24 04:32:28 -03:00
Claudio Sanches
cd4a9ccf6a
Fixed mapping sample display of 0 and false
2017-05-24 03:57:36 -03:00
Claudio Sanches
c08d3a356e
Added support "Attribute %d Visible"
2017-05-24 03:42:38 -03:00
Claudio Sanches
2c5c0133f3
meta_data is always an array
2017-05-24 03:35:53 -03:00
Claudio Sanches
b10f3a3be9
Fixed coding standards
2017-05-24 03:26:17 -03:00
Claudio Sanches
babc38822a
Handle featured image and gallery
2017-05-24 03:14:54 -03:00
claudiulodro
201ea727db
Simplify status check
2017-05-23 18:52:03 -07:00
claudiulodro
4faad7d964
Finish unit tests and bugfixes
2017-05-23 18:44:37 -07:00
Claudio Sanches
a07dc188d0
Parse and save downloads
2017-05-23 22:31:06 -03:00
Claudio Sanches
f676fa2752
Update products and variations parser
2017-05-23 21:58:10 -03:00
Claudio Sanches
43a26ea851
Properly map items when CSV match WooCommerce exporter format
2017-05-23 21:38:27 -03:00
Cesar Rodas
ea9c573f2c
Improved WC_Order::get_item()
...
Do not load all items, just load the items with a given order_item_type.
2017-05-23 20:12:47 -04:00
Claudio Sanches
2ebea10be6
Fixed tags and shipping class parsers warnings
...
wp_insert_term() returns array with `term_id` and `term_taxonomy_id` only.
2017-05-23 21:11:21 -03:00
Claudio Sanches
d20c61678c
Parser categories
2017-05-23 21:06:16 -03:00
Cesar Rodas
b612bab38b
Fixed coding styles
2017-05-23 19:18:31 -04:00
Cesar Rodas
dafc795d7c
Abstracting the WC_Meta_Data Properties with __set/__get
2017-05-23 19:15:13 -04:00
Cesar Rodas
b158ba2c47
Merge remote-tracking branch 'origin/master' into improve_meta_data_updates
2017-05-23 17:34:12 -04:00
Mike Jolley
383a318f59
Merge pull request #14949 from aelia-co/Improvement-customer-total-spent-filter
...
New filters for customer total spent
2017-05-23 20:37:58 +01:00
Diego Zanella
89efc65327
Fixed call to woocommerce_customer_get_total_spent_query filter
...
* Variable `$customer` was passed to `$wpdb->get_var()` instead of the filter.
2017-05-23 20:35:21 +01:00
Mike Jolley
c5d7dfba6c
Feedback
2017-05-23 19:46:46 +01:00
Mike Jolley
f6df18542a
Merge pull request #15113 from bekarice/fix/wc_create_refund-date
...
Fix: Re-add date for wc_create_refund()
2017-05-23 19:33:23 +01:00
Mike Jolley
a3b89a9efc
Merge pull request #15144 from timondavis/fix/15103-cannot_set_default_variation_to_string_zero
...
#15103 Variation default value of '0' fails to save on product.
2017-05-23 19:31:38 +01:00
Mike Jolley
8a22d41605
Merge remote-tracking branch 'origin/master'
2017-05-23 19:29:44 +01:00
Mike Jolley
41e8b22b5a
Merge branch 'pr/15219'
2017-05-23 19:28:45 +01:00
Mike Jolley
002dd935b5
Check we have a product object
2017-05-23 19:28:35 +01:00
Mike Jolley
35536b8ace
Merge pull request #14576 from Chouby/tools_message
...
Add custom message for custom system status tools
2017-05-23 19:22:47 +01:00
Mike Jolley
6dfdc86111
Merge branch 'pr/14678'
2017-05-23 19:16:37 +01:00
Mike Jolley
109e951de3
Renamed filters and actions
2017-05-23 19:16:30 +01:00
Mike Jolley
c16acc6b51
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
2017-05-23 19:00:24 +01:00
Mike Jolley
d3666738d8
Merge branch 'pr/15069'
2017-05-23 18:56:58 +01:00
Mike Jolley
00e5189a05
Merge pull request #15070 from rasmusbe/phpdoc-missing-return-throws
...
Phpdoc: Add missing return and throws
2017-05-23 18:50:58 +01:00
Mike Jolley
4efc8d1247
Merge remote-tracking branch 'origin/master'
2017-05-23 18:48:31 +01:00
Mike Jolley
3b1894dd8f
Merge branch 'pr/15039'
2017-05-23 18:48:24 +01:00
Mike Jolley
c709b7f490
since
2017-05-23 18:48:16 +01:00
Mike Jolley
c6d63e7819
Merge pull request #15017 from Ninos/filter/cookie
...
Filter for cookie name
2017-05-23 18:38:42 +01:00
Mike Jolley
f594f11273
Merge pull request #14293 from woocommerce/fix/14162-query
...
Set and restore wp_query so product page functions think it's a real product page
2017-05-23 18:29:24 +01:00
Mike Jolley
c4837f4419
Merge pull request #14653 from woocommerce/fix/14150
...
Update price sorting code
2017-05-23 18:13:27 +01:00
Diego Zanella
a6bcc73846
Added $customer to filter woocommerce_customer_get_total_spent_query
2017-05-23 17:06:16 +01:00
Diego Zanella
885cb14029
Merge branch 'master' into Improvement-customer-total-spent-filter
2017-05-23 17:05:08 +01:00
Mike Jolley
8f27df6af3
Merge pull request #14294 from woocommerce/fix/14292
...
When searching, disable WC sort order
2017-05-23 16:43:24 +01:00
Mike Jolley
15f47e00a2
Merge branch 'master' into feature/13088
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/twenty-seventeen-rtl.css
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-05-23 16:35:17 +01:00
Mike Jolley
db012b3a12
Merge pull request #15011 from woocommerce/fix/14999
...
Add abspath checks
2017-05-23 15:57:35 +01:00
Mike Jolley
d31a58b117
More abspath
2017-05-23 15:40:19 +01:00
Mike Jolley
2d479e0580
Update serializejson to 2.8.1
...
Closes #14630
2017-05-23 15:27:53 +01:00
Mike Jolley
7901653f94
Merge pull request #15003 from woocommerce/fix/15001
...
Use VAT for norway
2017-05-23 15:07:39 +01:00
Mike Jolley
90213efa46
Merge pull request #15227 from woocommerce/fix/15225
...
A single multi-word attribute is fine for variation titles
2017-05-23 15:06:55 +01:00
Mike Jolley
b1a5b23629
Done screen handling and form tweaks
2017-05-23 15:05:32 +01:00
Mike Jolley
2383799409
A single multi-word attribute is fine for variation titles
...
Closes #15225
2017-05-23 10:52:44 +01:00
Mike Jolley
f09f7eb84e
Merge pull request #15150 from woocommerce/fix/15118
...
Add handles so drag and drop does not break edit on mobile
2017-05-23 10:20:08 +01:00
dixitadusara
ebe831ccec
Issue Missing $ip Variable #15213
2017-05-23 11:50:30 +05:30
Claudio Sanches
ac304473c7
Allow external URL and button text for external products
2017-05-22 20:18:39 -03:00
Claudio Sanches
8d5f706077
Save meta_data
2017-05-22 19:31:05 -03:00
Claudio Sanches
7f92479f4f
Create shipping class or tag if does not exist
2017-05-22 19:24:33 -03:00
Claudio Sanches
775a934b74
Parse shipping class ID and tags IDs
2017-05-22 18:54:30 -03:00
James Kemp
90c987af70
Utilise $product method to get thumbnail
...
Is there any reason this function isn't using the `get_image()` method? It seems if we're accessing the `$post->ID`, then we should have access to the `$product` object too?
The reason being, the `get_image()` method also checks for the parent featured image, so is more robust. It may also be worth considering a filter in the `get_image()` method.
2017-05-22 22:07:51 +01:00
Claudiu Lodromanean
4bbc50d52c
Merge pull request #15182 from woocommerce/fix/14861
...
Group by term ID to prevent duplicates
2017-05-22 13:14:47 -07:00
Claudiu Lodromanean
58189cb4b5
Merge pull request #15208 from woocommerce/fix/15203
...
Missing variable in legacy API
2017-05-22 13:10:28 -07:00
Claudiu Lodromanean
d530587cd3
Merge pull request #15170 from woocommerce/fix/15163
...
Cancelled email should be send for processing orders, not pending.
2017-05-22 12:00:25 -07:00
Claudiu Lodromanean
2a19598930
Merge pull request #15214 from woocommerce/fix/15191
...
Update jquery payment to v3
2017-05-22 11:13:22 -07:00
Claudiu Lodromanean
700460d925
Merge pull request #15211 from woocommerce/fix/15002
...
Zones API changes for zone 0
2017-05-22 11:12:59 -07:00
Mike Jolley
2a51aa2020
Update jquery payment to v3
2017-05-22 16:37:08 +01:00
Mike Jolley
b1bf3278a7
Prevent zone 0 having locations set in CRUD
2017-05-22 15:19:15 +01:00
Mike Jolley
8cba7db7cd
Prevent zone 0 name being changed
2017-05-22 15:19:04 +01:00
Mike Jolley
a826b363d8
Prevent zone 0 locations being changed
2017-05-22 15:18:55 +01:00
Mike Jolley
d1b49888f2
Missing variable in legacy API
...
Fixes #15203
2017-05-22 13:25:33 +01:00
Mike Jolley
fc8100877c
Undo change
2017-05-22 12:19:54 +01:00
Claudio Sanches
4f16740f61
Parse special column names and internal fields
2017-05-19 18:50:09 -03:00
Claudio Sanches
8a7e215b41
Return raw_keys if mapped_keys is empty
2017-05-19 18:46:42 -03:00
Claudio Sanches
e66a657a2e
Removed "CSV" from filters and IDs
2017-05-19 18:45:58 -03:00
claudiulodro
57c4d904bd
Type
2017-05-19 12:43:40 -07:00
claudiulodro
cb297ad1b0
Add skip existing option
2017-05-19 10:58:31 -07:00
Mike Jolley
eae2fb64c8
Group by term ID to prevent duplicates
...
Fixes #14861
2017-05-19 15:27:57 +01:00
Mike Jolley
636754096d
Handle type parsing correctly
2017-05-19 15:06:45 +01:00
Mike Jolley
754e991220
Redirect if there is no mapping data
2017-05-19 15:06:36 +01:00
Mike Jolley
e860a8d307
Abort if we have no mapping data
2017-05-19 14:59:05 +01:00
Mike Jolley
aeb3234ec6
Formatting
2017-05-19 14:33:40 +01:00
Mike Jolley
cde32be82d
Done step and styling
2017-05-19 13:25:03 +01:00
Mike Jolley
1617c62f47
Export text tweaks
2017-05-19 12:03:34 +01:00
Mike Jolley
2082d84e4d
Always sync incorrect titles on variation read regardless of version
...
For #15158
2017-05-19 11:28:13 +01:00
Mike Jolley
47d7fedff8
Correct price query when on a post type archive
...
Fixes #15166
2017-05-19 11:19:30 +01:00
Mike Jolley
067489b155
Cancelled email should be send for processing orders, not pending.
...
Fixes #15163
2017-05-19 10:45:26 +01:00
Claudio Sanches
33da6e16de
Start handle parsed data
2017-05-18 21:19:01 -03:00
Claudio Sanches
2ba8e27469
Included required methods to the interface
2017-05-18 21:18:56 -03:00
Claudio Sanches
ca083c6197
Skip reletive field if empty
2017-05-18 21:18:53 -03:00
Claudio Sanches
4c9d7ef02e
Handle relative fields
2017-05-18 21:18:50 -03:00
Claudio Sanches
74b4ba8a94
Improved sanitization in product CSV importer and handle special columns
2017-05-18 21:18:47 -03:00
Claudiu Lodromanean
a13668f201
Merge branch 'feature/product-csv-import-export' into feature/background-processing
2017-05-18 10:11:34 -07:00
claudiulodro
9d52ef9f61
Performance tweak
2017-05-18 10:05:31 -07:00
claudiulodro
83908bc735
Move file functions to abstract class
2017-05-18 09:59:40 -07:00
claudiulodro
b2e8d31262
Clean up
2017-05-18 09:49:58 -07:00
Mike Jolley
9f4b29a677
Merge pull request #15153 from woocommerce/tweak/15104
...
Check if subtotal is blank, not empty
2017-05-18 16:50:26 +01:00
Claudiu Lodromanean
0132a29c18
Merge pull request #15152 from woocommerce/fix/15127
...
Handle shipping item taxes if set to avoid the legacy fallback
2017-05-18 08:28:02 -07:00
Claudiu Lodromanean
b5b76a428f
Merge pull request #15151 from woocommerce/fix/15145
...
Fix stock/backorder notice when stock management is disabled
2017-05-18 08:24:04 -07:00
Mike Jolley
8dbf41994b
Check if subtotal is blank, not empty
...
Closes #15104
2017-05-18 15:59:07 +01:00
Mike Jolley
56a3b31e68
Handle shipping item taxes if set to avoid the legacy fallback
...
Fixes #15127
2017-05-18 15:48:42 +01:00
Mike Jolley
89ece25a32
Fix stock/backorder notice when stock management is disabled
...
Fixes #15145
2017-05-18 15:28:38 +01:00
Mike Jolley
c3c966b5fd
Add handles so drag and drop does not break edit on mobile
...
Fixes #15118
2017-05-18 15:22:12 +01:00
Mike Jolley
eb147197a2
Variations should inherit purchase_note from parent.
...
Fixes #15115
2017-05-18 14:47:00 +01:00
Mike Jolley
cac5b33553
Merge pull request #14639 from atimmer/stories/webhook-public-build_payload
...
Change build_payload from private to public
2017-05-18 13:15:53 +01:00
Mike Jolley
ebfe8fec65
Merge pull request #14953 from pixedelic/master
...
added filters on zoom / flexslider / photoswipe enabling
2017-05-18 13:14:14 +01:00
Timon Davis
af308da6b9
Fix bug #15103 where site operator cannot assign a variation with value of '0' as the default choice on the customer facing form.
...
The WC_Product::set_default_attributes function uses an array_filter (using the default callback for filtration)
to remove null and false values from the defaults array for a given product. The issue here is that, in the above use case,
the array_filter will evaluate '0' as 0 and therefore as false. Ultimately, array_filter then prevents the value from being
recorded, moving forward.
I've added a new filter callback to includes/wc-attribute-functions which will disregard all FALSE PHP equivalents except for
'0' (as a a string). Also, I've updated the filter_array call in WC_Product::set_default_attributes so that it uses this new callback,
instead of the PHP default. Finally, I've added a phpunit test to assert that, when storing default variations / attributes on a product,
the false/true PHP synonyms are evaluating and storing like one would normally expect, with the exception that (string) '0'
evaluates as true in this special case.
This solution could potentially be broadened to facililate similar rules elsewhere, but the need raised in the bug is specific and
this is a specific solution.
2017-05-18 02:43:14 -07:00
Boro Sitnikovski
d302e18a9b
Rename `informational` to `info` in the phpdoc
2017-05-18 10:32:25 +02:00
Claudio Sanches
36fa838678
Allow extend auto mapping options
2017-05-17 21:10:26 -03:00
Claudio Sanches
df63ea9b5a
Handle special column names
...
Handle columns names like "Attribute 1 Name" and "Meta: _foo_bar".
2017-05-17 20:59:36 -03:00
claudiulodro
2ab0fdfe78
Styling
2017-05-17 14:55:20 -07:00
claudiulodro
fa1446bc86
Clean up
2017-05-17 14:43:03 -07:00
claudiulodro
17083dafae
Initial background importer implementation
2017-05-17 14:34:49 -07:00
Claudio Sanches
d3ec48f378
Match regular fields between exporter and importer
2017-05-17 17:55:28 -03:00
Claudio Sanches
ce6741e117
Fixed error display and incorrect use of WP_Error
2017-05-17 14:57:03 -03:00
Claudio Sanches
215a9fa0c1
Fixed warning about empty callback name
2017-05-17 14:43:48 -03:00
Mike Jolley
e23acb3719
Fix shop page when using shop base and UTF8 shop page slug
...
To test, set shop page slug and name to `חנות` then set permalinks to
shop base.
Repeat that before and after patch.
Shop page 404 errors before patch.
Fixes #15111
2017-05-17 18:13:32 +01:00
Mike Jolley
956b1a6181
Adds storefront/theme step to the setup wizard
...
Also includes a background install to get Storefront installed and
activated on demand.
To test, use a default theme and go to wp-admin/index.php?page=wc-setup
The theme step will be after payments!
2017-05-17 17:42:18 +01:00
claudiulodro
adc8f4eacb
Use correct method name
2017-05-17 09:15:49 -07:00
claudiulodro
d6ef3ca855
Docblock tweak and remove unused query var
2017-05-17 08:51:45 -07:00
Mike Jolley
a6537ff269
export styling
2017-05-17 14:22:41 +01:00
Mike Jolley
d67fb8fb83
New style import controller
...
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley
bf2979f68d
Revert change - export directory contains logic only, not admin
2017-05-17 11:50:55 +01:00
Mike Jolley
8a48c7d388
Made exporter and importer screens, classes and directories consistent
...
Once merged, @claudiosanches @claudiulodro, we should work on
https://github.com/woocommerce/woocommerce/tree/feature/product-csv-impo
rt-export branch going forward and get this merged into it.
2017-05-17 11:24:27 +01:00
Mike Jolley
3d5f1c1fe6
Merge branch 'feature/product-csv-import-export' into feature/csv-importer
2017-05-17 10:36:39 +01:00
Beka Rice
8885d58799
Fix: Re-add date for wc_create_refund
2017-05-17 04:46:56 -04:00
Mike Jolley
34a7f9b3dd
Merge pull request #15084 from ryelle/add/profile-field-improvements
...
Customer Profiles: copy billing address to shipping address
2017-05-16 20:31:05 +01:00
Kelly Dwan
3cb3a1b085
Style & escaping fixes, based on review feedback
2017-05-16 14:01:14 -04:00
Mike Jolley
7205a8e020
Merge pull request #15090 from woocommerce/fix/14763
...
Use site locale for customer emails.
2017-05-16 17:27:39 +01:00
Claudio Sanches
f471a8d846
Merge pull request #15098 from woocommerce/fix/15087
...
If backorders are enabled, do not make variable products out of stock.
2017-05-16 12:45:10 -03:00
Claudio Sanches
21baa5d230
Merge pull request #15095 from woocommerce/fix/15056
...
Support searches < 3 chars but with limiting.
2017-05-16 12:44:04 -03:00
Claudio Sanches
f7c26dee7b
Merge pull request #15079 from woocommerce/fix/settings-api-base-location
...
Fix 'base location' not being returned via the settings API.
2017-05-16 12:41:28 -03:00
Claudio Sanches
8a987ec822
Merge pull request #15072 from woocommerce/fix/15057
...
Make calculate tax function clear taxes if disabled on recalculation
2017-05-16 12:38:41 -03:00
Mike Jolley
5939939244
Wizard and blank state
2017-05-16 15:36:56 +01:00
Mike Jolley
7293025c92
Import page placeholder
2017-05-16 15:21:35 +01:00
Mike Jolley
2ba6613abe
Hide export menu item
2017-05-16 15:21:29 +01:00
Mike Jolley
74e2f61f0c
Import and export buttons
2017-05-16 15:06:22 +01:00
Mike Jolley
6949ee162e
Reduce visual noise
2017-05-16 15:05:11 +01:00
claudiulodro
73b7b2d91b
Typo
2017-05-16 06:31:52 -07:00
Mike Jolley
cb76f38f11
If backorders are enabled, do not make variable products out of stock.
...
Fixes #15087
2017-05-16 13:06:38 +01:00
Mike Jolley
351b0e0c67
Support limiting in search_customers
2017-05-16 10:16:57 +01:00
Mike Jolley
bf613bc922
Limit results to 20 for short strings and allow < 3 chars
2017-05-16 10:16:04 +01:00
Mike Jolley
59e9477730
Merge pull request #15094 from bekarice/fix/php-fatal-undefined-function
...
Fix Fatal Error: undefined function
2017-05-16 09:34:38 +01:00
Mike Jolley
7ad295d64d
Merge pull request #15076 from woocommerce/feature/14385
...
Show login form on the "pay for order" step
2017-05-16 09:31:53 +01:00
Beka Rice
562c50a3b0
Fix Fatal Error: undefined function
2017-05-16 04:04:47 -04:00
Claudio Sanches
365fbb5c3b
Moved main methods to abstract class
2017-05-16 01:43:45 -03:00
Claudio Sanches
1dc14690fb
Improved interface including important methods
2017-05-16 01:43:15 -03:00
Claudio Sanches
966090044d
Variation support
2017-05-16 01:22:00 -03:00
Claudio Sanches
020e61927b
Created abstract product class
2017-05-16 01:02:46 -03:00
claudiulodro
46b9190c9f
Remove extra restore_locale
2017-05-15 18:11:23 -07:00
claudiulodro
19047ffb00
Better way of doing it
2017-05-15 18:09:24 -07:00
Claudio Sanches
cc05ed77d2
Properly display the importer results
2017-05-15 20:41:19 -03:00
Claudio Sanches
09cf382d29
Initial code to create/update in the CSV importer
2017-05-15 20:23:44 -03:00
Claudio Sanches
8c73073bf5
Updated docblocks for WC_Importer_Interface::import
2017-05-15 20:11:16 -03:00
Claudio Sanches
121f8f6315
Abstract the product importer
2017-05-15 19:49:53 -03:00
claudiulodro
838b175f67
Use store language in customer emails
2017-05-15 14:34:37 -07:00
Kelly Dwan
ce06a92e57
Profiles: Add get_user_meta helper, which can fall back on core user fields when applicable, such as first_name, last_name, and email for billing fields.
2017-05-15 17:10:31 -04:00
Kelly Dwan
faea811a92
Customer profile: Add a “Copy from billing” button to shipping user meta fields
2017-05-15 17:09:02 -04:00
Claudiu Lodromanean
05132f724c
Merge pull request #15067 from woocommerce/fix/15047
...
$post global is not required in meta box callback
2017-05-15 10:35:07 -07:00
Justin Shreve
0c5588aac7
Makes sure that the 'base location' setting is returned to the /settings/general endpoint correctly. It uses a special setting type that the API didn't handle properly.
2017-05-15 10:21:06 -07:00
Mike Jolley
cfce278840
If logged out, show a form on the payment step so the customer can login.
...
Closes #14385
To test, create an order pending payment for a USER. If you use the
‘payment’ link on the edit order screen logged out you should see a
login form.
If you create an order and associate no user account, no form should be
shown and you don’t need to login.
2017-05-15 16:53:06 +01:00
Mike Jolley
dd798d219e
Make calculate tax function clear taxes if disabled on recalculation
...
Fixes #15057
2017-05-15 14:55:39 +01:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Mike Jolley
31651e41cb
Merge pull request #15063 from rasmusbe/unused-vars
...
Remove unused local variables
2017-05-15 12:45:54 +01:00
Rasmus Bengtsson
4a3902cd48
PHPDoc: Add missing throws statement
2017-05-15 13:39:03 +02:00
Rasmus Bengtsson
4f00d7e5e3
PHPDoc: Add missing return statement
2017-05-15 13:37:59 +02:00
Mike Jolley
87b66cec90
Merge pull request #15061 from rasmusbe/fix-array-duplicates
...
Remove duplicate entries from defined arrays
2017-05-15 12:33:20 +01:00
Mike Jolley
7c63c21eaf
$post global is not required in meta box callback
...
Fixes #15047
2017-05-15 12:29:11 +01:00
Rasmus Bengtsson
6a7fc8650f
Remove unused local variables
2017-05-15 12:06:52 +02:00
Mike Jolley
f40dddacc3
Feedback
2017-05-15 10:42:10 +01:00
Mike Jolley
99e63a8ca9
Merge pull request #15054 from woocommerce/improvement/14795
...
Integrate WC_Order_Query
2017-05-15 10:24:47 +01:00
Rasmus Bengtsson
51fd482206
Remove duplicate entries from defined arrays
2017-05-15 10:48:02 +02:00
claudiulodro
9e9b9b86ba
Cant use empty check in customer query var
2017-05-14 17:05:46 -07:00
claudiulodro
cec2c3b7dc
Couple requested changes
2017-05-13 12:22:22 -07:00
claudiulodro
d9c5536cf2
formatting
2017-05-12 15:31:34 -07:00
claudiulodro
fe40e9b96a
Make date queries work properly
2017-05-12 15:25:15 -07:00
claudiulodro
5b578c389f
Use previous filter name
2017-05-12 13:14:52 -07:00
claudiulodro
eee2ef82e8
Deprecate ->get_orders
2017-05-12 13:06:17 -07:00
Mike Jolley
e777b4d557
Merge branch 'feature/product-csv-import-export' into feature/csv-exporter
2017-05-12 21:03:20 +01:00
claudiulodro
2ce90b3eb6
Slightly better date handling
2017-05-12 12:59:54 -07:00
Mike Jolley
523d9d27cd
Styling
2017-05-12 20:40:54 +01:00
Mike Jolley
ed32dd558d
Nonces and further tidyup
2017-05-12 20:15:08 +01:00
Mike Jolley
0334ed255a
Merge pull request #15041 from woocommerce/fix/14985-address
...
Update all customer fields when updating via checkout
2017-05-12 19:48:20 +01:00
Mike Jolley
5e9f908df7
Merge pull request #15051 from reescott/fixlogtable
...
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 19:47:18 +01:00
claudiulodro
3861e32803
Migrate wc_get_orders
2017-05-12 11:45:01 -07:00
Scott Rees
b7b75c83f7
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 10:22:31 -07:00
Claudio Sanches
a273deffcb
Merge pull request #15042 from woocommerce/fix/14978
...
Ensure get_plugin_updates exists
2017-05-12 13:40:54 -03:00
Mike Jolley
c63a3c2c12
tidyup
2017-05-12 17:00:14 +01:00
claudiulodro
824d8898a2
Fix unit tests
2017-05-12 08:44:02 -07:00
Mike Jolley
9faac6f60d
Filters
2017-05-12 16:39:02 +01:00