Mike Jolley
f6fbdcd0ec
Merge pull request #6704 from helgatheviking/update_cart_action
...
move $cart_updated inside $passed_validation IF statement. #6703
2014-11-11 02:05:12 -08:00
Barry Kooij
fddcdd9453
Merge pull request #6716 from larsemil/master
...
Fix for #6715
2014-11-11 10:38:07 +01:00
Barry Kooij
d02beb5610
Merge pull request #6702 from tivnet/patch-3
...
Update class-wc-shortcode-my-account.php
2014-11-11 10:29:49 +01:00
Marin Atanasov
8892b1aeb0
fixing a typo in comments in WC_Cart and its tests
2014-11-09 17:42:49 +02:00
Marin Atanasov
cce13abc06
checking _wpnonce before using it in WC_Form_Handler::process_registration()
2014-11-09 17:14:55 +02:00
Bryce
f489739349
Add filter for registration auth cookie #6707
2014-11-08 14:30:18 -08:00
Emil Österlund
8861e23078
Fix for #6715
2014-11-08 16:08:26 +01:00
Emil Österlund
d77548f4cc
woocommerce_form_field did not use "input_class" if type was set to select, this commit solves that
2014-11-08 16:02:43 +01:00
Kathy Darling
5a2c9a3ed2
move $cart_updated inside $passed_validation IF statement. #6703
2014-11-07 11:16:37 +01:00
Gregory Karpinsky
1f7eb3e595
Update class-wc-shortcode-my-account.php
...
Return if no data submitted. Otherwise, two PHP notices are issued on checking `! $user_data` and two `wc_add_notice` printed.
2014-11-06 23:08:48 -05:00
claudiosmweb
2f7fcb56ae
Improved the Shipping class field in quick edit and bulk edit, closes #6681
2014-11-04 11:49:15 -08:00
claudiosmweb
6c4a65dbca
Fixed the WooCommerce Status widget links, closes #6685
2014-11-04 00:22:28 -08:00
James Koster
5c04007605
products settings tab. #6639
2014-10-31 19:07:04 +00:00
Mike Jolley
591086eb9b
Show notice when nonce isn't set. Fixes #6658
...
Wrap entire process_checkout method in try catch block to make errors
output correctly.
2014-10-31 15:03:53 +00:00
Mike Jolley
03e7a0ceaa
Check order exists in wc_clear_cart_after_payment()
...
Fixes #6649
2014-10-31 12:37:13 +00:00
Mike Jolley
80cba5ee05
Adjust ZIP code UI in local pickup
...
Closes #6647
2014-10-30 16:11:02 +00:00
claudiosmweb
324a86cea8
Fixed DocBlock for wc_get_core_supported_themes()
2014-10-30 11:00:24 -02:00
claudiosmweb
fa6edff86d
Added UAH currency, closes #6653
2014-10-30 10:27:16 -02:00
Nicola Mustone
011bb0a784
Added cancelled order admin email
2014-10-29 15:05:43 +01:00
Mike Jolley
ab562615ce
[2.2] Remove strtolower and capitalize status names
...
Fixes #6624
2014-10-29 11:15:00 +00:00
Mike Jolley
69ca69ce52
Split up the product widget methods
2014-10-29 11:07:06 +00:00
Mike Jolley
9be06dd9e5
Merge pull request #6635 from tivnet/patch-2
...
Avoid notices if file does not exist
2014-10-29 10:37:28 +00:00
Mike Jolley
3d1285c8c4
Allow some limited html in text attributes
...
Fixes #6620 . @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
Mike Jolley
bcaf0e0779
Merge pull request #6641 from coenjacobs/filter-empty-rate-code
...
Allow to filter empty tax rate code
2014-10-29 10:04:34 +00:00
claudiosmweb
a5ad428faf
[2.2] fixed the value format in stock field with wc_stock_amount(), closes #6622
2014-10-28 18:37:53 -02:00
Coen Jacobs
7ea0d586c9
Allow to filter empty tax rate code
2014-10-28 12:24:09 +01:00
Barry Kooij
b76fc7c68a
Merge branch 'master' of github.com:woothemes/woocommerce
2014-10-28 11:53:44 +01:00
Barry Kooij
6312683eec
Small codestyle fix to add_discount method.
2014-10-28 11:51:33 +01:00
Mike Jolley
f4556fe710
[2.2] Fixed nonce check in form handler
2014-10-28 09:40:50 +00:00
Gregory Karpinsky
5460e0fed0
Avoid notices if file does not exist
...
1. I've got notices on files
my-theme/woocommerce/single-product\add-to-cart\bundle.php,
my-theme/woocommerce/single-product\bundled-item-image.php,
my-theme/woocommerce/single-product\bundled-item-title.php
which are Template Overrides (WooCommerce Product Bundles)
and do not exist in the WC plugin.
2. There should be a more elegant way, because this is just to shut up notices. No version comparison performed.
2014-10-27 20:21:33 -04:00
Mike Jolley
b9eb83403e
Split prevent_caching() method
2014-10-27 15:00:14 +00:00
Mike Jolley
d5ca220eb4
Merge pull request #6630 from vachan/patch-1
...
Added Address Format for India
2014-10-27 14:09:04 +00:00
Mike Jolley
b55812a8db
Parse_file_path can just do replacements
2014-10-27 13:38:29 +00:00
James Koster
fd81658cba
storefront prompt. closes #6351
2014-10-27 13:38:04 +00:00
Vachan Kudmule
755d065107
Added Address Format for India
...
In India the Postcode is at the city level, thus updated the file in accordance with the Indian Standard of Address Formatting.
@line#382: Hyphenated Postcode to the City Name & State then Country.
REF:
1) I am an Indian Citizen myself
2) http://en.wikipedia.org/wiki/Address_(geography)#India
3) http://www.addressdoctor.com/en/countries-data/address-formats.html#fbid=Bv4FMyXjoPh
4) http://www.bitboost.com/ref/international-address-formats/india/
2014-10-27 18:12:51 +05:30
Mike Jolley
04dcc6a3f2
Tweak download_product() method
2014-10-27 12:25:05 +00:00
Mike Jolley
8a310f96d8
Split download_headers() method
2014-10-27 11:01:27 +00:00
Mike Jolley
abd81e6685
Split check_current_user_can_download() method
2014-10-27 11:01:27 +00:00
claudiosmweb
dfde3f0028
Prevents adding trashed products in the cart
2014-10-24 20:12:55 -02:00
Mike Jolley
cac813c1de
Attempt to improve check_current_user_can_download()
2014-10-24 23:08:50 +01:00
Mike Jolley
63c923394c
Additional download handler tweaks
2014-10-24 22:50:23 +01:00
Barry Kooij
80dc739ef0
Add return statement to check_cart_items
2014-10-24 20:56:06 +02:00
Mike Jolley
c3023d4c8c
WC_Download_Handler - Split download and download_product into multiple methods
2014-10-24 18:21:21 +01:00
Mike Jolley
3aaa397361
WC_Download_Handler - readfile_chunked refactor
2014-10-24 18:21:21 +01:00
Barry Kooij
1ffa095ef1
Merge branch 'master' of github.com:woothemes/woocommerce
2014-10-24 17:04:30 +02:00
Barry Kooij
fbff5936d9
Added return statement to set_quantity
2014-10-24 16:02:31 +02:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Barry Kooij
25d9b9e54a
WC cart codestyle
2014-10-24 15:35:45 +02:00
Nicola Mustone
2080bcc0c4
Typo in the system report
2014-10-24 13:54:51 +02:00
Mike Jolley
cde08791f6
System status table separation Closes #6290
2014-10-24 12:49:27 +01:00
Mike Jolley
c62a13148b
Instead of using saved title from order, use payment method_title for refund buttons
...
Closes #6334
2014-10-24 12:11:28 +01:00
Mike Jolley
423b9c4969
Merge pull request #6596 from krautnerds/fix-cropping-in-core-function
...
Fixed cropping function to respect option settings
2014-10-24 12:01:58 +01:00
Mike Jolley
eff1cf53c4
Fixes for sales by cat report, Closes #6606
2014-10-24 11:58:25 +01:00
Mike Jolley
44d0152bfc
[2.2] Low stock report should hide no stock
...
Closes #6611
2014-10-24 11:42:05 +01:00
Mike Jolley
f96f01b271
esc_url_raw, huh. What is it good for. Absolutely nuthin #5798
2014-10-23 15:47:21 +01:00
Mike Jolley
2294135bff
Rename touch punch to stop grunt breaking minify
2014-10-23 14:38:19 +01:00
Mike Jolley
a76f9d9096
Optimise paypal gateway, and revise encoding.
...
#5798
2014-10-23 14:27:24 +01:00
Mike Jolley
d90aee6685
Add fallbacks for wp_get_referer()
...
Closes #6609
2014-10-23 12:13:42 +01:00
Mike Jolley
7cc71dea44
Allow API edit_product method to update post_name (slug)
...
Closes #6601
2014-10-23 11:58:39 +01:00
Mike Jolley
daf14fc57e
Use current user ID for refunds. Closes #6598
2014-10-23 11:36:15 +01:00
Mike Jolley
1739b8b048
Merge pull request #6597 from SiR-DanieL/patch-1
...
Order note use comment_date instead of GMT date
2014-10-23 10:42:18 +01:00
claudiosmweb
7219addebc
[2.2] Fixed POST/PUT products attributes values, closes #6600
2014-10-22 18:46:39 -02:00
Nicola Mustone
dcde2a52e2
Removed GMT
2014-10-22 17:31:12 +02:00
Nicola Mustone
cbbdfadb74
Order note use comment_date instead of GMT date
...
The order comment note should not use always GMT date. I think using `comment_date` is better.
Ref Ticket: #224994
2014-10-22 17:28:25 +02:00
Florian Ludwig
d443823a52
Fixed constant value cropping to option setting
...
I don’t think that it is the right way to set the cropping by checking
if the ‚crop’ option is set because it could have been set to 0 in the
options. In that case it would be cropped either way because isset
would also return true.
2014-10-22 15:23:20 +02:00
Mike Jolley
997e7e7910
extra sanitisation for product data
2014-10-22 12:12:25 +01:00
Mike Jolley
06aca23919
Enforce slug format of translated edit-address-slugs.
...
Fixes issues with addresses not loading correctly in edit account.
2014-10-22 11:26:09 +01:00
Mike Jolley
bb7f5800f5
Merge pull request #6591 from SiR-DanieL/patch-1
...
Avoid notice errors with W3 Total Cache
2014-10-22 09:39:55 +01:00
claudiosmweb
861a34c348
Removed the frontend styles setting #6589
2014-10-21 20:12:39 -02:00
claudiosmweb
95605982ba
Load billing and shipping address when get the values in checkout, closes #6590
2014-10-21 19:56:20 -02:00
claudiosmweb
eba08c41f3
alt attribute from paypal logo now is translatable
2014-10-21 19:31:37 -02:00
Nicola Mustone
359859df5c
Avoid notice errors with W3 Total Cache
...
Avoid errors in the admin with W3 Total Cache when you add an extra space by mistake.
2014-10-21 22:24:55 +02:00
Mike Jolley
b349c0883c
WP remote GET test for updater
...
cc @kloon @ChromeOrange
2014-10-21 16:38:03 +01:00
Mike Jolley
e917f10b91
Fix 2.3 plain text emails
2014-10-21 16:18:59 +01:00
Mike Jolley
0bc3ad868d
[2.2] Fix error message with maximum amount
...
Fixes #6567
2014-10-21 14:55:43 +01:00
Mike Jolley
e4b212cb3a
[2.2] Fix stock report queries Closes #6565
2014-10-21 14:50:18 +01:00
Barry Kooij
4d3fbaa9e0
Regex escape mathes before using them as regex to prevent delimiter problems.
2014-10-21 15:20:19 +02:00
Barry Kooij
153664d1f1
Merge branch 'master' of github.com:woothemes/woocommerce
2014-10-21 15:09:52 +02:00
Barry Kooij
e122cf482a
Changed pregmatch delimiters and optimized regex.
...
Fixes #6584 .
2014-10-21 15:09:43 +02:00
Barry Kooij
77521f699b
Optimized cart get_checkout_url method.
2014-10-21 15:08:51 +02:00
claudiosmweb
42820ea88d
introduced the wc_strtolower() function, closes #6575
2014-10-21 10:51:16 -02:00
Mike Jolley
e41c9f3f91
Merge pull request #6585 from SiR-DanieL/bacs-slashes
...
Fixed indentation and added wp_unslash
2014-10-21 13:25:02 +01:00
Mike Jolley
4d44bf2c36
Merge pull request #6539 from helgatheviking/variation-is-defined
...
add variation class method which tests if all the attributes are set
2014-10-21 13:24:10 +01:00
Mike Jolley
b09f1062da
Merge pull request #6579 from woothemes/hotfix-unqiue-nonce-edit-details
...
[2.2] Make edit account details nonce unique to customer.
2014-10-21 13:17:36 +01:00
Gerhard
045046492f
Fix nonce check on edit address.
2014-10-21 13:24:01 +02:00
Gerhard
afc0ddf6e7
Propper verify nonce use on order tracking page.
2014-10-21 09:46:14 +02:00
Gerhard
5c1ad63876
Propper verify nonce use on checkout
2014-10-21 09:44:53 +02:00
Nicola Mustone
b9a89e4589
Fixed indentation and added wp_unslash
2014-10-21 09:43:57 +02:00
Gerhard
a08b501ebc
Propper verify nonce use on edit account.
2014-10-21 08:53:54 +02:00
Gerhard
817e23a807
Propper verfiy nonce use on edit address.
2014-10-21 08:52:19 +02:00
Gerhard
36ae6b8876
remove more debug info.
2014-10-21 08:51:35 +02:00
Gerhard
9b7fd195a7
remove debug info.
2014-10-21 08:51:00 +02:00
Gerhard
1c46b7324a
Register nonce used same name as register form button.
2014-10-21 08:50:23 +02:00
Gerhard
9f438edfa0
Correctly use verify nonce on register
2014-10-21 08:41:52 +02:00
Gerhard
f2e65f0857
Propper verify_nonce use on reset password functionality.
2014-10-21 08:39:16 +02:00
Gerhard
1bc74317df
Use wp_verify_nonce correctly in process_login
2014-10-21 08:33:48 +02:00
Gerhard
1fd61e6d75
Use wp_verify_nonce correctly in save_account_details.
2014-10-21 08:31:48 +02:00
Mike Jolley
96a9e48823
Refactored stock emails with consistent filters mirroring other email classes
...
Closes #6580
2014-10-20 16:59:02 +01:00
Mike Jolley
6f7ff36940
Prefix filter names #6576
2014-10-20 16:12:35 +01:00
Mike Jolley
1922b377e8
Corrected comment
2014-10-20 16:10:39 +01:00
Mike Jolley
5724d1c43f
Merge pull request #6576 from primozcigler/master
...
Added the filter for the ajax cart_hash
2014-10-20 16:10:23 +01:00
Mike Jolley
4fa1404d86
Merge pull request #6572 from doublesharp/patch-2
...
Update class-wc-addons-gateway-simplify-commerce.php
2014-10-20 16:06:57 +01:00
Gerhard
1fdff91114
Make edit account details nonce unique to customer.
2014-10-20 09:35:54 +02:00
Primoz Cigler
bbdcdc923a
Added the filter for the ajax cart_hash, because in some cases (for example when using WPML) the empty string does not refresh the page fragments properly.
2014-10-18 20:54:25 +02:00
Nicola Mustone
a14bc870c4
Improved system status
2014-10-18 11:56:58 +02:00
doublesharp
8dae054e0c
Update class-wc-addons-gateway-simplify-commerce.php
...
Use new $order->get_status() in lieu of legacy $order->status to support the new post_status format in WC 2.2
2014-10-18 01:04:40 -07:00
Mike Jolley
fa38b34977
Merge pull request #6564 from krautnerds/rest-api-filter-by-product-cat
...
REST API 2.0: Add possibility to filter products by product_cat
2014-10-17 16:36:44 +01:00
Florian Ludwig
671fcde079
Changed filter name and some code style compliance
2014-10-17 17:34:26 +02:00
Mike Jolley
bc0cb6fc53
Merge pull request #6566 from helgatheviking/add-to-cart-handler-2
...
add custom add to cart handler. update for #5923
2014-10-17 16:28:30 +01:00
Kathy Darling
41c5b18659
add custom add to cart handler. update for #5923
2014-10-17 17:26:50 +02:00
Mike Jolley
8766cfa6df
Tweak woocommerce_get_price_html_from_to in #6455
2014-10-17 16:25:54 +01:00
Mike Jolley
2668f0b8dd
Merge pull request #6455 from paulwilde/from-to-filters
...
Introduce filters to get_price_html_from_text() and get_price_html_from_to()
2014-10-17 16:25:16 +01:00
Mike Jolley
20279831e7
Tweak to naming in #6375
2014-10-17 16:24:21 +01:00
Kathy Darling
3d4a534e6a
rename method to has_all_attributes_set
2014-10-17 17:24:04 +02:00
Mike Jolley
21784e80cd
Merge pull request #6375 from dominic-p/settings-desc
...
Moved description and tip generation to a separate method
2014-10-17 16:19:02 +01:00
Florian Ludwig
29f152633b
RESTAPI 2 Add possibility to filter by product_cat
...
For products it would be nice to be able to filter by product cat.
usage: filter[product_cat]=CATSLUG
2014-10-17 16:53:14 +02:00
James Koster
e27d4afee1
data tabs tweaks. #6562
2014-10-17 14:50:23 +01:00
Mike Jolley
ebea42f7ee
Merge branch 'pr/6322'
...
Conflicts:
.gitignore
2014-10-17 14:43:54 +01:00
Mike Jolley
10fc2f7321
Add separate meta box for wc endpoints
2014-10-17 14:42:35 +01:00
James Koster
eb258950bd
variations markup / css refactor. #6562
2014-10-17 12:17:30 +01:00
Mike Jolley
5ff8f65d1f
Merge pull request #6507 from chrisnharvey/master
...
Pass cart item values to is_valid_for_product method in WC_Coupon
2014-10-17 12:09:23 +01:00
Mike Jolley
d079a7a1a6
Merge pull request #6557 from SiR-DanieL/lost-psw
...
Fix lost password submitting twice
2014-10-17 11:54:46 +01:00
Tamara Zuk
f34187d5d3
Allow for non-integer stock quantities
...
It looks like a3b522aff8
removed this
ability.
This would be very useful for extensions like Measurement Price
Calculator.
2014-10-17 00:52:56 -04:00
Nicola Mustone
6e9176a5bf
Fix disable password submitting twice
2014-10-16 21:59:45 +02:00
Mike Jolley
0718aef09e
wc_update_product_stock should update stock regardless, if the meta data doesn't currently exist
...
Fixes #6553
2014-10-16 17:15:10 +01:00
Mike Jolley
4234502265
Coupon API: Don't return current timestamp when expiry_date is not set
...
Fixes #6546
2014-10-16 16:59:51 +01:00
Mike Jolley
dfa4f8b63a
Merge pull request #6552 from Aaron3/patch-1
...
Fixed API create_order to allow setting line totals.
2014-10-16 16:53:18 +01:00
Mike Jolley
9fb4e1cee4
Merge pull request #6538 from krautnerds/rest-api-all-customer-fix
...
REST API 2.0 Add possibility to get all customers
2014-10-16 15:54:00 +01:00
Mike Jolley
1af90cd169
Only show integrations subnav when there are multiple integrations.
2014-10-16 15:53:12 +01:00
Mike Jolley
05d5849a67
Check mb_strtolower exists.
2014-10-16 15:53:12 +01:00
Mike Jolley
152105d334
Merge pull request #6548 from SiR-DanieL/patch-2
...
Fix potential bug
2014-10-16 12:15:17 +01:00
Aaron
0b557e175e
Fixed API create_order to allow setting line totals.
...
$order->add_product expects totals without the `line_` prefix. See https://github.com/woothemes/woocommerce/blob/master/includes/abstracts/abstract-wc-order.php#L149
Without this, setting product coupons doesn't work correctly. (The coupon is saved to the order but no discounts are added to the product.)
2014-10-16 13:56:08 +03:00
Nicola Mustone
437e041d3d
Fix potential bug
...
Added `default` to prevent notices and reordered the code.
2014-10-16 08:56:28 +02:00
Florian Ludwig
e1039c127f
Reworked code to be Wordpress code style compliant
2014-10-15 19:43:13 +02:00
mgiulio
8567f2f1fd
Fix comment
2014-10-15 14:51:15 +02:00
Kathy Darling
0304778f18
add variation class method is_all_defined() which tests if all the attributes are set
2014-10-15 09:11:41 +02:00
Florian Ludwig
3a4cc14f62
Fixed intendation
2014-10-15 00:31:56 +02:00
Florian Ludwig
846c24d119
REST API 2.0 Add possibility to get all customers
...
usage similar to products and orders: filter[limit]=-1
2014-10-15 00:24:16 +02:00
Mike Jolley
44ad43216e
Turn caching back on
2014-10-14 17:01:15 +01:00
Mike Jolley
c01bc63020
Correct report handling for full and partial refunds.
...
Fixes #6530
@claudiosmweb look good?
2014-10-14 16:39:57 +01:00
Barry Kooij
b353c75d43
Display excluded categories in coupon error message.
...
Related #6400 .
2014-10-14 16:18:31 +02:00
Barry Kooij
4371c661ec
Codestyle.
2014-10-14 16:11:46 +02:00
Barry Kooij
6ea096ad42
Merge branches 'master' and 'master' of github.com:woothemes/woocommerce
2014-10-14 16:10:05 +02:00
Barry Kooij
389eae28c2
Display what products are excluded from using with a coupon.
...
Fixes #6400 .
2014-10-14 16:09:56 +02:00
claudiosmweb
223957089e
fixed the new WC_Order_Refund::init()
2014-10-14 10:46:30 -03:00
Mike Jolley
4954020877
Correct refund's init function
2014-10-14 14:31:31 +01:00
Mike Jolley
e03cf9c204
Set order_type property, and move actual order loading to separate method to make it easier for sub-classes to handle just that process.
...
Closes #6513
2014-10-14 14:25:53 +01:00
Mike Jolley
c2ce3b0d88
Tidy
2014-10-14 14:25:53 +01:00
Barry Kooij
acf6644830
Confirm to user email is sent when sending email from within order edit screen.
...
Fixes #6461 .
2014-10-14 15:18:09 +02:00
Mike Jolley
3df2c39bf5
If order gets cancelled behind the scenes, don't clear user cart
...
#6524
2014-10-14 12:54:23 +01:00
Mike Jolley
e90c634745
Code tidy
2014-10-14 12:54:10 +01:00
Mike Jolley
e43285f677
[2.2] Fix /shop/ base URL Non Latin issue with url decode
...
Fixes #6512
2014-10-14 12:24:45 +01:00
Mike Jolley
4a2a2714f6
Make cart total consider taxes
...
Fixes #6522
2014-10-14 12:20:38 +01:00
Mike Jolley
ea1d61b88e
Use mb_strtolower to prevent issues with unicode chars
...
Fixes #6525
2014-10-14 11:58:28 +01:00
Mike Jolley
f2d668a6b6
Allow a delimiter to be set in $item_meta->display()
...
Fixes #6526
2014-10-14 11:54:20 +01:00
Mike Jolley
30edd0aa05
[2.2] Prevent notice if meta is not set Closes #6514
2014-10-14 11:26:14 +01:00
Mike Jolley
65d9fec4c8
Merge pull request #6520 from GeertDD/patch-1
...
Fix typo
2014-10-13 23:39:11 +01:00
Mike Jolley
d68cab0eec
In the US address format, use state code rather than the full state name.
2014-10-13 18:28:38 +01:00
Geert De Deckere
b105a24cf8
Fix typo
2014-10-13 15:42:07 +02:00
Chris Harvey
4119e70b3c
Setting values to an optional argument
2014-10-13 09:32:40 +01:00
claudiosmweb
61e96b0a8b
Prevent warnings in WC_Shipping_Method::is_available() when exclude countries
2014-10-10 23:01:19 -03:00
claudiosmweb
86ef09970a
Prevented warnings when countries is empty in shipping methods.
...
Stopped this erros:
PHP Warning: array_intersect(): Argument #1 is not an array in
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php
on line 182
PHP Warning: in_array() expects parameter 2 to be array, null given in
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php
on line 194
@mikejolley
2014-10-10 22:46:19 -03:00
Chris Harvey
00c77d1716
Accept cart item values in is_valid_for_product method and pass these to the woocommerce_coupon_is_valid_for_product filter
2014-10-10 15:45:01 +01:00
Chris Harvey
504253c909
Pass cart values to is_valid_for_product method
2014-10-10 15:44:18 +01:00
Mike Jolley
b340fd68ae
Made tax importer expand postcode ranges.
...
Closes #4463
2014-10-10 15:18:47 +01:00
Mike Jolley
38000b1785
Define WC tables in wpmu_drop_tables
...
Closes #5396
2014-10-10 14:48:08 +01:00
Mike Jolley
bf885f846e
Refactor - get_product_search_form().
...
Also removed < 2.1 deprecated filter mapping.
Closes #4444
2014-10-10 12:48:05 +01:00
Mike Jolley
98361804e6
Merge pull request #5767 from IAmJulianAcosta/touch-compability
...
Price filter widget touch compability
2014-10-10 12:16:18 +01:00
Mike Jolley
f36cb8b53c
[2.2] Make updater set parent backorder status
...
Closes #6494
2014-10-10 11:28:24 +01:00
claudiosmweb
bc1ea4fdea
woocommerce_ prefix in refund actions, related #6477
2014-10-09 13:15:42 -03:00
Mike Jolley
5e07ec0382
$cart_totals should be checked to see if its an array
...
Closes #6496
2014-10-09 16:50:42 +01:00
Mike Jolley
5c1b931438
[2.2] Fix refund date.
...
Fixes #6499
2014-10-09 16:43:26 +01:00
Mike Jolley
4d084ed7ae
Merge pull request #6477 from 75nineteen/master
...
[Maybe 2.2] Added two hooks to support refund Followup Emails
2014-10-09 15:56:17 +01:00
Mike Jolley
cb631793c5
Merge pull request #6489 from BFTrick/css-inliner-2
...
Adding CSS Inliner
2014-10-09 15:55:57 +01:00
Mike Jolley
728086d175
Merge pull request #6324 from SiR-DanieL/reports-currency
...
Fixing currency position in reports
2014-10-09 12:39:20 +01:00
Mike Jolley
02f5ed7542
Merge pull request #6327 from SiR-DanieL/order-notes
...
Fixing order notes date
2014-10-09 12:39:00 +01:00
Mike Jolley
26186f815a
Fix potential error if variation doesn't exist
2014-10-09 11:20:46 +01:00
Mike Jolley
dc822594fd
Merge pull request #6483 from bekarice/email-typos
...
Fixes typos
2014-10-08 23:06:42 +01:00
Kathy Darling
2c63d5ca13
add filter to rename Customer Details section
2014-10-08 23:58:13 +02:00
Kathy Darling
eaabcd5dfa
fix variable naming error
2014-10-08 23:57:48 +02:00
Kathy Darling
f13a7142fe
make `woocommerce_email_order_meta_keys` filter args match `woocommerce_email_customer_details_keys`
2014-10-08 23:49:12 +02:00
Kathy Darling
a13218eba2
add customer details and addresses to emails via `woocommerce_email_customer_details` hook
2014-10-08 23:47:50 +02:00
Patrick Rauland
4b30a2aed5
implementing emogrifier email css inliner
2014-10-08 15:34:31 -06:00
Patrick Rauland
b5fb174697
adding emogrifier class for inlining email styles
2014-10-08 15:32:46 -06:00
Mike Jolley
666b25b352
Removed save_post remove_action call which breaks 3rd party plugins.
...
Fixes #6485 , but means #6376 needs another solution.
2014-10-08 21:30:52 +01:00
Beka Rice
de0e01f05b
Fixes typos
2014-10-08 12:21:23 -04:00
Mike Jolley
b041093194
[2.2] Added woocommerce_product_subcategories_hide_empty filter
...
Use add_filter( ‘woocommerce_product_subcategories_hide_empty’,
‘__return_true’ ); to enable. Fixes #6482
2014-10-08 15:19:54 +01:00
Mike Jolley
853e17d28f
[2.2] Prevent address fields being empty when editing an address within an order
...
Fixes #6476
2014-10-08 15:13:26 +01:00
Mike Jolley
8d38401d64
[2.2] Product attribute shortcode should return columns class
...
Fixes #6481
2014-10-08 15:07:03 +01:00
Mike Jolley
e9393ddaf7
Settings API should use h3 rather than h4 when outputting titles
2014-10-08 15:06:38 +01:00
75nineteen Media
f57de2cf9a
Added two hooks to support refund Followup Emails
2014-10-07 15:58:21 -07:00
Mike Jolley
c6c5265493
Conflict
2014-10-07 11:10:29 +01:00
Mike Jolley
3f6e6309be
define $view
2014-10-07 11:09:42 +01:00
Mike Jolley
80716fbd46
Corrected get_return_url docblock
2014-10-07 11:09:38 +01:00
Mike Jolley
8c3d142002
define $transients_to_clear
2014-10-07 11:09:35 +01:00
Mike Jolley
615ebc3916
is_GB_postcode define array
2014-10-07 11:09:32 +01:00
Mike Jolley
742594e207
Tweaks to order class
2014-10-07 11:09:29 +01:00
Mike Jolley
58904fcf83
Removed deprecated get_product() calls
2014-10-07 11:09:25 +01:00
Mike Jolley
090ab4a56d
Tweaks to report class
2014-10-07 11:09:22 +01:00
Mike Jolley
ac14427c32
get_order_report_data should return string
2014-10-07 11:09:19 +01:00
Mike Jolley
1de3b8a034
Set default $query
2014-10-07 11:09:16 +01:00
Mike Jolley
d52664d738
Tweak report debug output - add pre
2014-10-07 11:09:12 +01:00
Mike Jolley
98ec3da5ac
Merge pull request #6472 from thenbrent/edit_order_currency
...
Display order & item totals with correct currency on Edit Order screen
2014-10-07 10:16:16 +01:00
thenbrent
66cbf9f3a3
Tabs & spaces
2014-10-07 15:16:59 +10:00
thenbrent
6869403a39
Disable autosave for all order types w/ meta boxes
2014-10-07 15:13:56 +10:00
thenbrent
94355b73dc
Display order & item totals with correct currency
...
If a store changes currency or is using an extension which allows for
purchasing in multiple currencies, the currency symbol displayed on the
Edit Order admin screen may be incorrect for previous orders because
it uses the `wc_price()` fallback, which is the site wide currency
rather than the currency for that specific order. This fixes that.
2014-10-07 09:59:52 +10:00
Mike Jolley
589da28f42
Small tweak on text in #6457
2014-10-06 14:31:32 +01:00
Mike Jolley
83d8eb7fd8
Merge pull request #6457 from bryceadams/master
...
Re-do coupon free shipping option desc issue #6391
2014-10-06 14:29:16 +01:00
Mike Jolley
46a753cb74
[2.2] Unhook save_meta_boxes after first successful run to prevent race conditions
...
Fixes #6376
2014-10-06 14:26:22 +01:00
Mike Jolley
700369c386
Refund report changes
...
1. Ensure refund order_total is negative and reflects the full amount,
not just line items
2. Ensure transients are cleared when doing refunds
3. sales-reports order types so we can exclude refunds from pure
‘sales’ reporting
4. Tweak placement of refunds in legend.
Closes #6411
2014-10-06 13:39:53 +01:00
James Koster
ef28c43862
move proceed to checkout button. closes #5496
2014-10-06 12:33:39 +01:00
Mike Jolley
90297a09af
[2.2] When formatting meta data for display, suffix items to prevent issues when there are multiple values for the same meta key
...
Fixes #6404
2014-10-06 12:17:07 +01:00
Mike Jolley
7d9598d0a8
[2.2] Core still has issues dealing with pad_counts + parent when getting categories.
...
Workaround by not hiding empty cats, then filter the returned list
using wp_list_filter. Fixes #6459
2014-10-06 11:41:33 +01:00
Gustavo Bordoni
c335d223d8
Remove all calls to get_page(), as it was deprecated on WordPress 3.5.0
2014-10-06 06:55:45 -03:00
Mike Jolley
9947c22cfe
Prevent order statuses affecting other queries.
...
Closes #6437
2014-10-03 14:35:45 +01:00
Mike Jolley
d1de7f42b9
Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
...
Closes #6436
2014-10-03 10:52:11 +01:00
Bryce
5a6f0b1529
Re-do coupon free shipping option desc issue #6391
...
I didn’t update the POT as was having some poedit issues
2014-10-03 16:44:57 +07:00
Mike Jolley
c8ffee57ff
[2.2] Ensure rate is double
...
Fixes #6442
2014-10-03 10:11:14 +01:00
Mike Jolley
3d36f446d3
Deprecate woocommerce_admin_css action - it's pointless
...
Will be removed in 2.4. Closes #6456
2014-10-03 10:07:28 +01:00
Paul Wilde
279c01d005
Introduce filters to get_price_html_from_text() and get_price_html_from_to().
2014-10-02 20:11:34 +01:00
Mike Jolley
2b55643460
Notices from earlier cache helper change
2014-10-02 17:18:04 +01:00
Mike Jolley
b6835a009c
wc_paying_customer to only increase for 'simple' orders and added tool to refresh stats to customer list.
...
Closes #6395
2014-10-02 16:44:36 +01:00
Mike Jolley
973112d132
When user tries to download a file and isn't logged in, send them to the account page with a notice.
...
Closes #6397
2014-10-02 15:21:39 +01:00
Mike Jolley
67e47ab682
Updated prevent_caching() method to work if a cart/checkout page isn't set.
...
Closes #6396
2014-10-02 14:52:09 +01:00
Mike Jolley
819436f0a3
Merge pull request #6388 from quadshot/action-buttons
...
Allow adding custom 'action buttons' in order item metabox
2014-10-02 14:06:11 +01:00
Mike Jolley
0512a114ec
Merge pull request #6386 from justinstern/master
...
Adds a woocommerce_add_to_cart_sold_individually_quantity filter
2014-10-02 14:05:41 +01:00
Mike Jolley
e5ebeff99c
Merge pull request #6383 from BFTrick/iss-6358
...
Refactoring Email Classes to Use One Send Method
2014-10-02 14:00:18 +01:00
Mike Jolley
5f407f9830
Merge pull request #6401 from SiR-DanieL/patch-1
...
woocommerce_found_customer_details filter improvement
2014-10-02 13:58:10 +01:00
Mike Jolley
3964d3fc3c
Merge pull request #6417 from corvannoorloos/attachment-thumbnail-url
...
category and product (-column) image(s) should be inserted as a thumbnail
2014-10-02 13:52:12 +01:00
Mike Jolley
3e20b113d6
Add hook to refund html
...
Closes #6406
2014-10-02 13:40:34 +01:00
Mike Jolley
b519eb09d4
Merge pull request #6426 from ChuckMac/Checkbox_Tooltip
...
Enable tooltip for woocommerce_wp_checkbox in metabox
2014-10-02 13:32:36 +01:00
Mike Jolley
a8d5ca561d
Merge pull request #6405 from tamarazuk/master
...
[#6337 ] Return variation meta if it exists
2014-10-02 12:42:45 +01:00
Mike Jolley
61cb9814e6
Merge pull request #6446 from ragulka/unescape-redirect
...
Do not escape redirect url in form handler
2014-10-02 10:34:48 +01:00
Mike Jolley
c9bb3cab87
Merge pull request #6423 from mgiulio/wc-gateway-paypal
...
[2.2] Use 'no' to disable the gateway
2014-10-02 10:11:16 +01:00
Mike Jolley
4f8735a86f
Merge pull request #6443 from franticpsyx/master-filter-get_children
...
Port 'woocommerce_get_children' filter from 2.2-bleeding
2014-10-02 10:10:11 +01:00
Mike Jolley
f652a17d6d
Merge pull request #6448 from bekarice/textarea-maxlength
...
Add maxlength attribute to textarea fields
2014-10-02 10:09:12 +01:00
Chuck Mac
ec83e932ed
Adding refunds to Sales by Date report
...
Create a new axis for "in refunds" on the sales by date report. Include
the refunds in the included time period. Refunds do not reduce the sales
total in the report.
2014-10-01 23:35:34 -04:00
Beka Rice
fa686eb9a7
Add maxlength attribute to textarea fields
2014-10-01 16:35:03 -04:00
Illimar Tambek
97ccd7c50f
Do not escape redirect url in form handler
2014-10-01 21:26:35 +03:00
Manos Psychogyiopoulos
0966519adc
woocommerce_get_children filter from 2.2
2014-10-01 19:42:20 +03:00
Mike Jolley
0a7a72c3ca
Merge pull request #6419 from niravmehta/master
...
Minor improvement
2014-10-01 19:16:50 +03:00
Mike Jolley
2de218b803
Merge pull request #6424 from mgiulio/fix-abstract-wc-order-comment
...
Fix get_cart_tax() comment
2014-10-01 18:52:03 +03:00
Mike Jolley
3f0271e46a
Additional args for woocommerce_get_endpoint_url
...
Closes #6439
2014-10-01 16:50:25 +01:00
Chuck Mac
d8a8970bd4
Enable tooltip for woocommerce_wp_checkbox in metabox
...
Allow the use of the `desc_tip` value to add a tooltip to the checkbox
field as allowed by other metabox fields.
2014-09-29 12:15:26 -04:00
mgiulio
56c2e5838d
Fix get_cart_tax() comment
2014-09-29 17:11:34 +02:00
mgiulio
da0a42be28
Use 'no' to disable the gateway
2014-09-29 12:08:19 +02:00
Nicola Mustone
1337c9cd7b
Added $user_id
2014-09-29 09:13:56 +02:00
Ratnakar
ad1b2afb4a
Use of WordPress Insert instead of direct query
2014-09-29 10:56:03 +05:30
Cor van Noorloos
e4bc36fcec
category meta box and category column thumbnail
2014-09-28 17:23:58 +02:00
Cor van Noorloos
ed1d64fc63
product column thumbnail
2014-09-28 17:23:27 +02:00
Mike Jolley
878cae2c7a
Merge pull request #6403 from Necrotex/master
...
New filter for Shipping Tax
2014-09-27 19:55:39 +03:00
James Koster
e92be69c9c
Increase default product image sizes. closes #5480
2014-09-26 17:49:27 +01:00
James Koster
63f45a8720
variation visibility, based on #6182 . #5661
2014-09-26 17:22:43 +01:00
James Koster
81bf8d3a9d
remove tooltip and add edit action link. #6360
2014-09-26 14:53:45 +01:00
James Koster
a66ae12707
bye bye coupon styling. closes #6360
2014-09-26 14:37:26 +01:00
Tamara Zuk
c5374201cb
[ #6337 ] Return variation meta if it exists
...
includes some code standards cleanup
2014-09-26 06:45:15 -04:00
Andre 'Necrotex' Peiffer
b83a75181d
added new filter for shipping tax
2014-09-26 10:35:59 +02:00
Nicola Mustone
12129218fb
woocommerce_found_customer_details filter improvement
...
Adding $type_to_load attr to woocommerce_found_customer_details filter
2014-09-26 10:28:46 +02:00
Mike Jolley
5022a1a88e
Merge pull request #6399 from BFTrick/translation-button-typo
...
Capitalizing the Update Translation Button
2014-09-26 11:21:48 +03:00
Patrick Rauland
c6635d84e3
capitalizing the update translation button
2014-09-25 15:41:18 -06:00
Loushou
a37ea4976b
new filter for adding custom 'action buttons' on the order_items metabox in the admin edit order screen
...
loushou
2014-09-24 17:41:13 -07:00
justinstern
26806660d4
include original $quantity with
...
woocommerce_add_to_cart_solid_individually_quantity filter
2014-09-24 16:54:15 -04:00
justinstern
b1c9db3282
Adds a woocommerce_add_to_cart_sold_individually_quantity filter
...
Additional control over the quantity added when a product is "sold
individually"
2014-09-24 16:38:52 -04:00
mgiulio
ae728acc63
Use wc_get_order in simplify-commerce
2014-09-24 17:30:14 +02:00
Mike Jolley
1c9331737e
Minor tweaks to cart shortcode
2014-09-24 15:26:53 +01:00
Mike Jolley
416d167842
Merge pull request #6380 from haroldkyle/master
...
[2.2] Remove notice for undefined action property of ajax request
2014-09-24 14:44:57 +01:00
Mike Jolley
06f82686eb
[2.2] and test, use term_taxonomy_id for transient names
2014-09-24 14:22:02 +01:00
Harold Kyle
2bf2485910
remove notice for undefined action property of ajax request
2014-09-24 09:12:26 -04:00
Mike Jolley
744549ad13
[2.2] Use variation get_stock_quantity() for max_qty
...
Fixes #6339
2014-09-24 11:15:56 +01:00
Mike Jolley
b8bcb5ee6e
Removed deprecated methods from WC_Frontend_Scripts and rewrote script registration and localization to run once.
...
Closes #6338
2014-09-24 10:57:39 +01:00
Dominic
a96c8fa836
Moved description and tip generation to function
...
This would allow plugins to easily generate the necessary HTML for the
tooltips and field descriptions when implementing their own custom
setting field types.
2014-09-23 15:27:15 -07:00
Patrick Rauland
4df8fca1bd
using WC_Email send method for all WC emails
2014-09-23 11:02:00 -06:00
Patrick Rauland
71c60d6b64
removing all isntances of abstract from the WC_Email class
2014-09-23 10:20:28 -06:00
Patrick Rauland
1498198215
renaming and moving abstract-wc-email file
2014-09-23 10:12:43 -06:00
claudiosmweb
2a255de172
changed the LESS compiler to SCSS compiler #5606
2014-09-22 15:30:07 -03:00
Mike Jolley
53ea10a897
Merge pull request #6352 from NickIvanter/patch-1
...
Allow WC_Order to be constructed w/o Order ID
2014-09-22 14:38:27 +01:00
Mike Jolley
229d9135ef
Prevent errors when country field is disabled
...
Fixes #6336
2014-09-22 13:23:31 +01:00
Nick Ivanter
3fcae6e63f
Allow WC_Order to be constructed w/o Order ID
...
This was allowed in WooCommerce 2.1 and some plugins rely on this behavior. Also, there seems to be no downside, as the parent class WC_Abstract_Order similarly doesn't require an Order ID at construction.
2014-09-22 14:58:18 +04:00
Mike Jolley
a91c74d794
Merge pull request #6309 from quadshot/before-oi-meta
...
filter for adding info before order item itemmeta in order metabox
2014-09-22 10:36:48 +01:00
Mike Jolley
0aca8e01f8
Merge pull request #6305 from quadshot/line-buttons
...
filter to allow custom 'add line' buttons
2014-09-22 10:23:46 +01:00
Mike Jolley
506a66b3a4
Merge pull request #6342 from axisthemes/ASBPATH-2
...
Absolute path should have curly braces
2014-09-22 10:21:05 +01:00
Mike Jolley
4e99e629f5
Merge pull request #6341 from axisthemes/ASBPATH
...
Absolute path should have curly braces
2014-09-22 10:20:59 +01:00
Mike Jolley
84c3e18a60
Merge pull request #6345 from Ninos/createaccount
...
Checkout - createaccount value check
2014-09-22 10:20:51 +01:00
Mike Jolley
e42d4b24da
Merge pull request #6333 from quadshot/save-order-items
...
Inform plugins of 'save_order_items'
2014-09-22 10:18:00 +01:00
Ninos Ego
966f6f1bad
createaccount value check
2014-09-21 20:45:42 +02:00
shivapoudel
ae3bc4051f
Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :)
2014-09-21 01:50:06 +05:45
shivapoudel
a318f9dae2
Absolute path and Indentation fix for includes/admin/reports/*.php :)
2014-09-21 01:43:32 +05:45
shivapoudel
ab52b93592
Absolute path and Indentation fix for includes/admin/settings/*.php :)
2014-09-21 01:40:47 +05:45
shivapoudel
8c211705ca
Absolute path and Indentation fix for includes/admin/importers/*.php :)
2014-09-21 01:39:24 +05:45
shivapoudel
4091fe00ad
Absolute path and Indentation fix for includes/admin/{roots-files}.php :)
2014-09-21 01:37:30 +05:45
shivapoudel
11a1be6b12
Absolute path and Indentation fix for includes/shipping/*.php :)
2014-09-21 01:29:32 +05:45
shivapoudel
bc5156ff4a
Absolute path and Indentation fix for includes/gateways/*.php :)
2014-09-21 01:27:58 +05:45
shivapoudel
fedb4dae7c
Absolute path and Indentation fix for includes/widgets/*.php :)
2014-09-21 01:22:45 +05:45
shivapoudel
e1eb62aa8e
Absolute path and Indentation fix for includes/walkers/*.php :)
2014-09-21 01:20:47 +05:45
shivapoudel
f170f461b3
Absolute path and Indentation fix for includes/updates/*.php :)
2014-09-21 01:19:50 +05:45
shivapoudel
e53539f447
Indentation and new lines fix for includes/shortcodes :)
2014-09-21 01:18:32 +05:45
shivapoudel
d2272cd79b
Absolute path and Indentation fix for includes/libraries/class-cssmin.php :)
2014-09-21 01:17:11 +05:45
shivapoudel
5e09f15c91
Absolute path and Indentation fix for includes/emails/*.php :)
2014-09-21 01:15:40 +05:45
shivapoudel
c60ce1ec93
Absolute path fix for REST API v1
2014-09-21 01:12:54 +05:45
shivapoudel
e6f6bcf368
Absolute path fix for REST API v2
2014-09-21 01:09:20 +05:45