Mike Jolley
ed1ff0f48c
WooConf is over
2014-11-18 16:26:12 +00:00
Mike Jolley
e7fc5520a8
Merge pull request #6776 from axisthemes/welcome
...
Welcome Page Cleanup
2014-11-18 16:25:44 +00:00
Mike Jolley
e476a3f76b
Merge pull request #6785 from SiR-DanieL/make_clickable
...
Automatically creates clickable links in item metas
2014-11-18 16:21:29 +00:00
Mike Jolley
4c5b7a3c06
Remove updates, 1.4, 1.5
2014-11-18 16:18:48 +00:00
Mike Jolley
387296a807
More PayPal line item tweaks
2014-11-18 16:13:41 +00:00
Mike Jolley
898c989753
wc_tax_enabled() and wc_prices_include_tax() methods
2014-11-18 16:13:41 +00:00
claudiosmweb
da43955416
Introduces the wc_get_default_location() function
2014-11-18 12:56:13 -02:00
claudiosmweb
771f25d7b7
Improved the WC_Customer class, removed dead variables, removed duplicated code and added new docblocks
2014-11-18 12:32:48 -02:00
Mike Jolley
a39353fc73
Split up line item methods in paypal
2014-11-18 13:46:55 +00:00
Mike Jolley
e68353da63
Use one variable for endpoint in paypal
2014-11-18 13:46:55 +00:00
Mike Jolley
2e9f02932d
Simplify get_icon() method
2014-11-18 13:46:55 +00:00
Mike Jolley
74b93b8c67
Moved paypal settings to file
2014-11-18 13:46:55 +00:00
Mike Jolley
dc3aca2d06
Simplify logging and get_paypal_order(). Removes < 2 bw compat
...
@thenbrent this removes the old IPN handling legacy code. Is this
something that may affect subscriptions? I believe that IPN code was
for WC < 2.0 when we used to send back a string/integer in ‘custom’
2014-11-18 13:46:55 +00:00
claudiosmweb
6acfd3e2a7
Created WC_Customer::get_default_location() for avoid duplicate code
2014-11-18 11:32:44 -02:00
Nicola Mustone
913cc42c06
Fixes https://github.com/woothemes/woocommerce-product-addons/issues/24
2014-11-18 14:22:21 +01:00
Nicola Mustone
22a32ae9c8
Fixes #6555
2014-11-18 14:20:47 +01:00
claudiosmweb
6077a10e44
Removed some dead variables
2014-11-18 10:42:54 -02:00
shivapoudel
78f9759e1c
Some modification for theme-support notice
2014-11-18 17:22:15 +05:45
shivapoudel
36e74b3b0d
Some curley braces
2014-11-17 22:59:49 +05:45
Mike Jolley
a0bf72f7b5
Bulk edit sales schedule on variations
...
Closes #6300
2014-11-17 16:50:25 +00:00
shivapoudel
d688a37f54
Some mistake revoked
2014-11-17 22:34:27 +05:45
shivapoudel
4341174927
Merge remote-tracking branch 'upstream/master' into welcome
2014-11-17 22:30:52 +05:45
shivapoudel
3d4954a3e1
Some gap added intensionally ;)
2014-11-17 22:27:39 +05:45
Mike Jolley
e6a5825f8c
Some shipping class tidyup
2014-11-17 16:30:18 +00:00
shivapoudel
85440b5927
use of final class helper function
2014-11-17 22:03:15 +05:45
shivapoudel
61dfac7ccd
Unused var if needed in future we can use WC_PLUGIN_BASENAME constant
2014-11-17 21:44:32 +05:45
shivapoudel
5b0be2f102
Cleanup for the WC_Admin_Welcome Class
2014-11-17 21:41:36 +05:45
Mike Jolley
82145be444
Merge pull request #6773 from axisthemes/menu-order
...
Simplify the condition for custom menu order
2014-11-17 14:31:37 +00:00
Mike Jolley
c6362051eb
Merge pull request #6765 from bryceadams/master
...
Add placeholder attribute for settings API #6764
2014-11-17 14:29:05 +00:00
shivapoudel
825d56f8ba
Modified since current_user_can() returns boolean ;)
2014-11-17 20:00:01 +05:45
Mike Jolley
65ace6818b
Merge pull request #6757 from tamarazuk/master
...
Introduce `woocommerce_product_is_on_sale` filter
2014-11-17 14:11:59 +00:00
shivapoudel
891d3a4573
Simplify the condition for custom menu order :)
2014-11-17 15:21:47 +05:45
Bryce
71909a7c72
Update default for 'Default Product Sorting' option
2014-11-17 15:37:02 +07:00
Bryce
295fed6467
Add placeholder attribute for settings API #6764
2014-11-16 14:49:43 +07:00
claudiosmweb
03c16229e0
Merge branch 'master' of github.com:woothemes/woocommerce
2014-11-14 23:15:16 -02:00
claudiosmweb
24e17e36d3
Preventing errors when adding a widget using the WP Customize
...
Fixed coding standards and used methods from WC_Widget for start and end the widget
2014-11-14 23:12:59 -02:00
Tamara Zuk
20655d367d
Introduce `woocommerce_product_is_on_sale` filter
...
This filter is useful for extensions like Measurement Price Calculator
which alter the product price quite a bit, but would still like the
sale badge to appear :)
Current workaround is to use three filters ( `woocommerce_get_price`,
`woocommerce_get_regular_price`, and `woocommerce_get_sale_price` )
which most extension may be using already, but not all need/want to
alter these prices.
2014-11-14 18:00:03 -05:00
Mike Jolley
537233efcc
Split is_valid() into separate methods
2014-11-14 17:18:02 +00:00
Mike Jolley
f600c5ec05
Limit coupons to X needs to persist across lines during calc
...
Fixes #6745
2014-11-14 16:38:33 +00:00
Mike Jolley
1d3b8db754
Move formatting logic
2014-11-14 16:22:01 +00:00
Mike Jolley
668e5ffb5c
Some refactoring of the coupon class to load data with less code
2014-11-14 16:22:01 +00:00
claudiosmweb
a91dd8b516
Fixed missing comma
...
@mikejolley
2014-11-14 12:09:02 -02:00
Mike Jolley
4b5d22b8e8
Format totals to 2dp when doing paypal checks Closes #6678
2014-11-14 13:17:17 +00:00
Mike Jolley
9701dad114
API - set_fee should support tax_data
...
Closes #6719 cc @maxrice
2014-11-14 13:14:48 +00:00
Mike Jolley
2e2ce3c286
[2.2] During refunds, correctly set shipping tax totals
...
Fixes #6691
2014-11-14 12:52:43 +00:00
claudiosmweb
8413d68de6
Added Simplify Commerce minified js file
2014-11-14 09:58:21 -02:00
claudiosmweb
c683720b02
Removed old ajax_loader_url param from all js files
2014-11-14 09:52:44 -02:00
James Koster
c187c002be
mar icons stuff
2014-11-14 09:59:12 +00:00
James Koster
c28e7821d5
add dependency to dashicons.
2014-11-14 09:49:59 +00:00
James Koster
d765c3138c
dashicons for loader and arrows.
2014-11-14 09:47:45 +00:00
James Koster
30a5c4bfdb
bye bye ajax loader gif.
2014-11-13 18:28:15 +00:00
Mike Jolley
9abbf4cef8
Fix coupons by date queries to prevent inflated results
...
Closes #6742
2014-11-13 17:25:45 +00:00
Mike Jolley
2b4f68cf33
Merge pull request #6746 from ThomasSultana/master
...
#6740 Expose Previous Item Quantity
2014-11-13 08:49:22 -08:00
Mike Jolley
4c8a3eaba5
Merge pull request #6738 from bryceadams/master
...
Add script_debug $suffix for admin settings.js
2014-11-13 08:43:51 -08:00
Mike Jolley
4a6dc10300
Merge pull request #6741 from ragulka/meta-box-field-attributes
...
Custom attributes for select, checkbox and textareas
2014-11-13 08:43:38 -08:00
Mike Jolley
ea335e5e61
missing colon in wc-emails class
2014-11-13 14:02:06 +00:00
Mike Jolley
7c666852c7
If totals mismatch in paypal, don't send line items
2014-11-13 13:41:51 +00:00
Illimar Tambek
a7a913ab09
Custom attributes for select, checkbox and textareas
2014-11-13 13:26:52 +02:00
ThomasSultana
d3542a2192
#6740 Expose Previous Item Quantity
...
woocommerce_after_cart_item_quantity_update will now also pass the old quantity. #6740
2014-11-13 12:11:24 +01:00
Bryce
d717eed3ad
Add script_debug $suffix for admin settings.js
2014-11-13 15:57:09 +07:00
James Koster
452cb56cd9
layered nav count markup matches product/post categories. #5606
2014-11-13 08:30:10 +00:00
claudiosmweb
75c28e715f
fixed the deprecated filters
2014-11-12 22:57:45 -02:00
claudiosmweb
bac2af461a
Improved the WC_Emails::order_meta() method
...
Deprecated the woocommerce_email_order_meta_keys filter in favor to woocommerce_email_order_meta_fields
Now we can filter and work with the data without worrying about translations.
cc: @mikejolley @helgatheviking
2014-11-12 22:53:36 -02:00
claudiosmweb
7200b449dc
Fixed the labels in customer details
2014-11-12 22:33:47 -02:00
Kathy Darling
cfeeb7e9c6
Merge branch 'email_customer_details_hook_backup' into email_customer_details_hook_2
...
Conflicts:
includes/class-wc-emails.php
2014-11-13 00:32:15 +01:00
Kathy Darling
520cb4e385
change array to account for localization per @claudiosmweb
2014-11-12 20:44:11 +01:00
Mike Jolley
ca6885c4a3
Merge pull request #6731 from SiR-DanieL/patch-2
...
Hide order again button
2014-11-12 09:06:29 -08:00
Mike Jolley
622c031f05
Merge pull request #6733 from SiR-DanieL/patch-3
...
Improved Shop Page Display option
2014-11-12 09:05:54 -08:00
Mike Jolley
ccdacb76b7
Fire all form handlers priority 20
...
Closes #6706
2014-11-12 16:43:29 +00:00
Mike Jolley
a1c04670bc
End output buffering even if buffers are empty.
...
Closes #6659
2014-11-12 16:15:47 +00:00
Mike Jolley
18ebded7c5
Make check_cart_items consistantly placed
...
Closes #6708
2014-11-12 15:47:27 +00:00
Mike Jolley
4b2ab00be3
Order again button template file
...
Closes #6664
2014-11-12 15:33:00 +00:00
Mike Jolley
3ccd54f268
English version of Taiwan address format
...
Closes #6651
2014-11-12 15:28:33 +00:00
Mike Jolley
87c417e56a
When bulk editing variable products, set the stock status for non-stock managed variations
...
Fixes #6661
2014-11-12 15:15:05 +00:00
Mike Jolley
bb1564d6c4
Incorrect variable
...
#6626 cc @claudiosmweb
2014-11-12 14:50:01 +00:00
Mike Jolley
aaca944a85
API - Variation handling for stock data
...
Closes #6626 cc @claudiosmweb
2014-11-12 14:21:29 +00:00
Nicola Mustone
fc2429549e
Improved Shop Page Display option
...
I tweaked the text of the second option in Shop Page Display because i guess it confuse users that only read "Show subcategories". What about main categories?
I'd like to change also "Show both" to "Show all". What do you think?
2014-11-12 15:01:17 +01:00
James Koster
6a0fe9974f
reports print styles. closes #4544
2014-11-12 12:53:57 +00:00
Nicola Mustone
be59e9f80b
Hide order again button
...
Hide "Order again" button if the user is not logged in.
2014-11-12 11:44:26 +01:00
Marin Atanasov
5ad973eac2
fixing small typo
2014-11-11 22:52:45 +02:00
Marin Atanasov
7c5be1ebde
fixing small typo
2014-11-11 22:32:06 +02:00
Mike Jolley
a076c5a69d
get_product in product factory should return passed in object if its a product already
...
Fixes #6726
2014-11-11 16:24:22 +00:00
Mike Jolley
9e53b3fb33
Clear shipping transient on save
...
Closes #6723
2014-11-11 16:22:29 +00:00
James Koster
57809bc017
coding standards
2014-11-11 15:47:14 +00:00
Mike Jolley
d58400399a
Fix wildcard search and optimise local delivery + pickup Closes #6676
2014-11-11 15:46:57 +00:00
James Koster
ecb5c77eae
coding standards
2014-11-11 14:40:13 +00:00
James Koster
0321fc79d1
yoda
2014-11-11 14:31:27 +00:00
James Koster
7fd28c1295
order. #6639
2014-11-11 14:29:54 +00:00
James Koster
c153a62406
Products setting tab. #6639
2014-11-11 14:25:46 +00:00
Mike Jolley
f8bc4a0abd
Add item cost column Closes #6650
...
@jameskoster
2014-11-11 13:40:47 +00:00
Mike Jolley
b98b7354ad
String sanitize_user Closes #6667
2014-11-11 13:11:40 +00:00
Mike Jolley
83fb26e30d
Dump chosen select option. Closes #6593
2014-11-11 12:12:28 +00:00
Mike Jolley
cb8fe34b4c
get_base_tax_rates() + filter. Closes #6668
2014-11-11 11:56:17 +00:00
Mike Jolley
b5f359b22a
Merge pull request #6717 from bryceadams/master
...
Add filter for registration auth cookie #6707
2014-11-11 03:44:54 -08:00
Mike Jolley
01091c304c
Fix conflicts in #5949
2014-11-11 11:23:44 +00:00
Mike Jolley
7490438da7
Merge pull request #6648 from SiR-DanieL/cancelled-order-email
...
Added cancelled order admin email
2014-11-11 02:53:35 -08:00
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