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
shivapoudel
e28e31fe63
Absolute path fix for wc-term-functions.php
2014-09-21 00:56:49 +05:45
shivapoudel
f4fd45a3cc
Absolute path fix for wc-template-hooks.php
2014-09-21 00:56:09 +05:45
shivapoudel
8884266bac
Absolute path fix for wc-template-functions.php
2014-09-21 00:55:45 +05:45
shivapoudel
58595f0f2b
Absolute path fix for wc-order-functions.php
2014-09-21 00:55:04 +05:45
shivapoudel
60e4250ba6
Absolute path fix for wc-notice-functions.php
2014-09-21 00:54:43 +05:45
shivapoudel
893e1e508c
Absolute path fix for wc-formatting-functions.php
2014-09-21 00:54:16 +05:45
shivapoudel
60fb5595aa
Absolute path fix for wc-deprecated-functions.php
2014-09-21 00:53:35 +05:45
shivapoudel
ddb8c62618
Absolute path fix for wc-coupon-functions.php
2014-09-21 00:52:35 +05:45
shivapoudel
5eaa138d21
Absolute path fix for wc-core-functions.php
2014-09-21 00:52:11 +05:45
shivapoudel
1f9ba73b96
Absolute path fix for wc-conditional-functions.php
2014-09-21 00:51:46 +05:45
shivapoudel
eab625e185
Absolute path fix for wc-cart-functions.php
2014-09-21 00:51:15 +05:45
shivapoudel
5ab2bdcca4
Absolute path fix for wc-attribute-functions.php
2014-09-21 00:49:38 +05:45
shivapoudel
3a38fba2b0
Absolute path fix for class-wc-webhook.php
2014-09-21 00:48:51 +05:45
shivapoudel
03c3e27c5d
Indendation fix by .editorconfig
2014-09-21 00:47:51 +05:45
shivapoudel
961f147d18
Absolute path fix for class-wc-shipping.php
2014-09-21 00:46:02 +05:45
shivapoudel
2200a3ae2e
Absolute path fix for class-wc-session-handler.php
2014-09-21 00:44:26 +05:45
shivapoudel
922e74e984
Absolute path fix for class-wc-query.php
2014-09-21 00:43:54 +05:45
shivapoudel
1f4db18e7f
Absolute path fix for class-wc-product-variation.php
2014-09-21 00:43:30 +05:45
shivapoudel
26d4abb88c
Absolute path fix for class-wc-product-variable.php
2014-09-21 00:42:58 +05:45
shivapoudel
f81f670a06
Absolute path fix for class-wc-product-simple.php
2014-09-21 00:42:32 +05:45
shivapoudel
3fc03a184d
Absolute path fix for class-wc-product-grouped.php
2014-09-21 00:42:09 +05:45
shivapoudel
a3d4d87ca5
Remove newline
2014-09-21 00:41:34 +05:45
shivapoudel
f60444c969
Absolute path fix for class-wc-product-external.php
2014-09-21 00:40:53 +05:45
shivapoudel
5f05a78669
Line and indendation fix
2014-09-21 00:39:33 +05:45
shivapoudel
73b1185375
Removed newline ;)
2014-09-21 00:36:42 +05:45
shivapoudel
3addd725e7
Added newline ;)
2014-09-21 00:36:01 +05:45
shivapoudel
a4ec52f788
Absolute path fix for class-wc-install.php
2014-09-21 00:35:02 +05:45
shivapoudel
b94c4cc0a2
Added newline ;)
2014-09-21 00:33:04 +05:45
shivapoudel
342d3186db
Found and fix indendation for multiline comments for class-wc-coupon.php :)
2014-09-21 00:31:22 +05:45
shivapoudel
b4abca1c82
Found and fix indendation for multiline comments :)
2014-09-21 00:29:22 +05:45
shivapoudel
96df6bd961
Absolute path fix for WC_API class
2014-09-21 00:27:10 +05:45
shivapoudel
303a5b28d0
Absolute path fix for abstract classes :)
2014-09-21 00:24:49 +05:45
splashingpixels
bf9c1689fb
revised quick-edit featured product option not able to unselect
2014-09-19 10:49:26 -07:00
Loushou
1252db79f8
changed filter name to be past tense for clarity
...
loushou
2014-09-19 09:08:54 -07:00
Loushou
becdc0977d
filter to inform other plugins that order items have been saved in the admin
...
loushou
2014-09-19 08:57:02 -07:00
Mike Jolley
80d4a73f52
Added acceptance marks to PayPal Standard where applicable to replace generic PayPal icon.
2014-09-19 16:55:14 +01:00
Loushou
0f8c8886e0
adding the after
...
loushou
2014-09-19 08:34:34 -07:00
Loushou
09159f83c7
removing extra param and correcting whitespace
2014-09-19 08:05:25 -07:00
Mike Jolley
4803937222
Fix adding items to orders
...
* Fix - When manually adding items to an order, show tax columns.
* Fix - When manually adding items to an order, include variation data.
Closes #6313
2014-09-19 12:52:26 +01:00
Mike Jolley
08cf7c7406
Check order exists before sending
...
Closes #6310
2014-09-19 12:23:29 +01:00
Mike Jolley
8f62f00f4d
Fix - When bulk editing, don't allow sale price to be negative.
...
Fixes #6325
2014-09-19 12:18:07 +01:00
Mike Jolley
1fb8582acf
Merge pull request #6320 from ryanstockau/master
...
Fix infinite redirect loop on cart page
2014-09-19 10:57:25 +01:00
Mike Jolley
fe3ee67b4f
Merge pull request #6301 from anagio/master
...
Small grammar edit to template notice
2014-09-19 10:44:01 +01:00
Nicola Mustone
46689ce083
Fixing order notes date
2014-09-19 09:55:16 +02:00
Nicola Mustone
8a7ed9a053
Fixing currency position in reports
2014-09-19 09:23:58 +02:00
Nicola Mustone
1f1d5d6bab
Adding endpoints in Appearance > Menus
2014-09-19 09:06:28 +02:00
Ryan Stock
4998f88dc5
Fix infinite redirect loop on cart page
...
Fix for issue #6319 :
https://github.com/woothemes/woocommerce/issues/6319
2014-09-19 13:24:31 +10:00
claudiosmweb
8c0ddfcb02
fixed admin post type filters, closes #6312
2014-09-18 17:10:02 -03:00
Loushou
f17bb56891
filter to allow custom 'add line' buttons
...
loushou
2014-09-18 09:05:42 -07:00
Loushou
f0c4b80113
filter for adding info before order item itemmeta in order metabox
...
loushou
2014-09-18 08:55:13 -07:00
Loushou
76f3049751
adding a method to allow default billing information in order metabox
...
loushou
2014-09-18 08:33:49 -07:00
anagio
c1ba19991f
Small grammar edit to template notice
2014-09-18 09:34:21 -04:00
Mike Jolley
dd6fa30c3d
Fix redirect on paginated search results
...
Fixes #6281
2014-09-18 13:23:00 +01:00
Mike Jolley
28e13bdab3
Add notice when order is no longer editable.
...
Closes #6298
2014-09-18 11:32:25 +01:00
Mike Jolley
579ec4ee0c
Totals in taxes by date report.
...
Fixes #6299
2014-09-18 10:28:45 +01:00
Mike Jolley
a092fce0c2
Ensure product exists in API call
...
Fixes #6288
2014-09-17 17:23:04 +01:00
Mike Jolley
8e35bbf0ba
Clear transients for new parent when saving a grouped product. Closes #6278
2014-09-17 14:18:43 +01:00
Mike Jolley
493285f101
When updating order status, ensure its a valid WC order status.
...
Fixes #6285
2014-09-17 12:24:10 +01:00
Mike Jolley
1b68406202
Merge pull request #6284 from ragulka/rating-count-value
...
Allow getting rating count for a specific rating value
2014-09-17 12:05:45 +01:00
Mike Jolley
1d3b7a52c1
Improved headers sent notice to include file and line.
2014-09-17 11:40:54 +01:00
Mike Jolley
09a59a5e7e
Prevent errors when adding 'zero-rated' tax on checkout.
2014-09-17 11:40:54 +01:00
Barry Kooij
06103c6cd2
Fixed a varation product width inheritance bug.
2014-09-17 11:00:14 +02:00
Illimar Tambek
fb19f5b9c5
Improve naming & comments
2014-09-17 11:27:43 +03:00
Illimar Tambek
386011ffae
Allow getting rating count for a specific rating number
2014-09-17 11:03:10 +03:00
claudiosmweb
8719910441
Fixed WooCommerce submenu in multisites
...
reported in
https://wordpress.org/support/topic/error-message-in-multi-site-from-223
@mikejolley
2014-09-16 19:03:50 -03:00
Mike Jolley
955f497dd7
Prevent headers being sent by wp_send_json()
...
Fixes #6244
2014-09-16 13:24:05 +01:00
Barry Kooij
72c6f262f1
Width should be allowed to be set in a Product Variation.
2014-09-16 14:02:26 +02:00
Barry Kooij
b1daae5d0d
Setup variable to prevent a notice if no variable data is set.
2014-09-16 13:21:09 +02:00
Mike Jolley
d6c1643a12
Merge pull request #6266 from maxrice/fix-6255
...
Use `note` for creating/updating order with customer note
2014-09-16 10:51:37 +01:00
Mike Jolley
ce1236bd95
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
Conflicts:
readme.txt
2014-09-16 10:48:46 +01:00
Mike Jolley
a3b522aff8
Prepare update queries.
2014-09-16 10:45:28 +01:00
Mike Jolley
6dd8b11762
Fixed minor XSS issue on reports screens by escaping and sanitizing 'range' GET variable.
2014-09-16 10:33:47 +01:00
claudiosmweb
6a0d5ebf0c
Fixed number of processing orders display
...
Reported in
http://wordpress.org/support/topic/number-of-processing-orders-missing-from-left-panel
Cannot use wc_get_order_type() before wc_register_order_type()
@mikejolley
2014-09-15 23:32:34 -03:00
claudiosmweb
8464ad0b17
improved the WC_Admin_Post_Types::media_view_strings()
2014-09-15 22:10:20 -03:00
claudiosmweb
89a0c82b54
fixed "Set product image" media gallery title in non-product post type, closes #6267
2014-09-15 19:09:25 -03:00
Max Rice
445aaa78f9
Use `note` for creating/updating order with customer note
...
Fixes #6255
2014-09-15 14:44:11 -04:00
claudiosmweb
f9454b7c3b
fixed the decimal format in wc_save_order_items() for taxes, close #6253
2014-09-15 14:03:14 -03:00
Barry Kooij
9723ed8096
Added settings sub title styling
2014-09-15 17:47:01 +02:00
Mike Jolley
41362ab60c
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
Conflicts:
readme.txt
2014-09-15 16:38:32 +01:00
Mike Jolley
75eb07c974
Fix paypal mobile checkout. Closes #6165
2014-09-15 16:38:07 +01:00
Barry Kooij
a93b107e55
removed unused default
2014-09-15 17:30:15 +02:00
claudiosmweb
db8a07a8b8
removed "or" in favor to "||"
2014-09-15 10:57:46 -03:00
Mike Jolley
d2fc731d4e
Merge pull request #6258 from shivapoudel/patch-2
...
Some changes in WC_Cart
2014-09-15 09:46:20 +01:00
Mike Jolley
82bab9d71d
Merge pull request #6245 from 75nineteen/master
...
Fix duplication in Ship to Multiple Locations ext
2014-09-15 09:44:31 +01:00
Shiva Poudel
0b58d335b8
Reverted access public
...
Thanks! @tamarazuk
2014-09-15 08:17:19 +05:45
Shiva Poudel
6e58c45196
@access public in docblock
2014-09-15 01:40:24 +05:45
Shiva Poudel
40fe9ffd2f
check_cart_item_validity() should have have public
2014-09-15 01:37:51 +05:45
Shiva Poudel
40ec40a411
Found and fix docblock comment
2014-09-15 01:35:22 +05:45
Shiva Poudel
8e09892064
better at get_option() @ L91
2014-09-15 01:33:13 +05:45
Shiva Poudel
a4f6b0f9f9
Converted Indentations to tabs
2014-09-15 01:29:56 +05:45
Shiva Poudel
f829e53a96
New line for docblock
2014-09-15 01:24:50 +05:45
Shiva Poudel
ccf15ff06b
Better docblock ;)
2014-09-15 01:22:48 +05:45
Shiva Poudel
cf421b1c12
OOPS! again time constant
2014-09-15 01:18:46 +05:45
Shiva Poudel
a2ab230efb
Use of time constant
2014-09-15 01:17:14 +05:45
Shiva Poudel
1e7a3ae6d3
indendation Improvement for WC_Cart
2014-09-15 01:14:32 +05:45
claudiosmweb
b47e649e6a
Improved the translation update messages
...
When is multisite shows only the button for download directly
If not is multisite will show the button for make the download with the
WordPress update system and the button to download directly
And added a new button to hide the update message
@mikejolley
2014-09-12 19:32:21 -03:00
claudiosmweb
dc0122a4d6
Created method for install the translations directly
...
This will download the package directly from Github and install using
WP_Filesystem()
@mikejolley
2014-09-12 18:55:50 -03:00
75nineteen Media
8b48fc4267
Fix duplication in Ship to Multiple Locations ext
...
This should solve the issues related to multiple locations getting
duplicated costs.
2014-09-12 11:11:40 -04:00
Mike Jolley
857f85fd8e
Merge pull request #6242 from chrisnharvey/patch-1
...
Fixing typo with get_error_message being referenced as a property
2014-09-12 14:20:36 +01:00
Mike Jolley
59ef851302
Readme for #6243
2014-09-12 14:18:11 +01:00
Chris Harvey
4d72eedae2
Checking password reset key using phpass
2014-09-12 14:03:39 +01:00
claudiosmweb
066eb3c5b0
fixed wc_get_order_status_name() appear as wc 2.1 order status
2014-09-12 10:01:49 -03:00
Chris Harvey
4a8ad5f09d
Fixing typo with get_error_message being referenced as a property
2014-09-12 13:36:17 +01:00
Mike Jolley
aee2b62c85
Added woocommerce_get_settings_ID filters.
...
Closes #6231
2014-09-12 12:20:06 +01:00
Mike Jolley
79ce7ab926
If a refund fails, delete refund post.
...
Fixes #6238
2014-09-12 10:09:26 +01:00
Mike Jolley
accd20aaae
Merge pull request #6235 from woothemes/6226-fix-order-fields-on-checkout
...
Dynamically get the address fields in WC_Checkout::create_order()
2014-09-12 09:41:33 +01:00
Mike Jolley
ec5cce06e5
Merge pull request #6239 from vlandfair/patch-1
...
Minor Fix: Fixed Product Tag Arguments
2014-09-12 09:35:12 +01:00
Mike Jolley
5b3b855377
Merge pull request #6233 from shivapoudel/patch-2
...
Fix with $ for Colombian Peso
2014-09-12 09:34:28 +01:00
Mike Jolley
ec28795a4e
Merge pull request #6232 from shivapoudel/patch-1
...
Fix some issues with Currency code for NPR
2014-09-12 09:33:47 +01:00
Vadonis Landfair
1b8ef82d21
Minor Fix: Fixed Product Tag Arguments
...
Product Tags are labeled as non-hierarchical, but they are labeled with hierarchical labels instead of non-hierarchical labels. On the back-end everything shows up and works as intended. WordPress just ignores the mislabeled args and uses the correct ones by default. Always good to follow register_taxonomy() args :p.
2014-09-11 23:57:43 -05:00
claudiosmweb
a84021306e
fixed some coding standards in includes/admin/class-wc-admin-settings.php
2014-09-11 21:40:30 -03:00
claudiosmweb
ec9e08ba7d
Fixed images crop option and wc_get_image_size() function
...
Reported in http://wordpress.org/support/topic/hard-crop
@mikejolley
2014-09-11 21:22:30 -03:00
claudiosmweb
cfb8d42bcb
Added missing vars in ajax add_variation() method, closes #6234
...
@mikejolley
2014-09-11 18:16:37 -03:00
claudiosmweb
48b5014036
fixed the filling of the shipping fields in WC_Checkout::create_order()
2014-09-11 17:31:57 -03:00
claudiosmweb
591d3dc3be
added methods to dynamically get the address fields in WC_Checkout::create_order(), closes #6226
2014-09-11 17:12:17 -03:00
Shiva Poudel
22f80cf173
Fix indendation ❤️
2014-09-12 00:45:43 +05:45
Shiva Poudel
647988d22e
Fix with $ for Colombian Peso
...
No symbol shown in Currency Settings selection so ;)
2014-09-12 00:41:02 +05:45
Shiva Poudel
51ba1df181
Fix some issues with Currency code for NPR
...
NRP was typo mistake so found the bug and fix. I have send pull for this Nepali currency previously.
2014-09-12 00:31:41 +05:45
Mike Jolley
192c1d4169
In system status, show path to template file override.
...
Closes #6227
2014-09-11 15:31:55 +01:00
Gerhard
deb440ffcf
Escape js array labels.
...
Closes #6222
2014-09-11 15:43:41 +02:00
Mike Jolley
509c10f7e5
Removed postcode for Bahamas.
...
Fixes #6223
2014-09-11 14:26:22 +01:00
Mike Jolley
7ae41bb4ed
Fix - Ensure shipping address gets displayed - fixes needs_shipping_address() method.
2014-09-11 11:11:22 +01:00
Mike Jolley
edd37f3d20
Tweak - Display of locale information on system status page.
...
Closes #6211
2014-09-11 10:49:59 +01:00
Remi Corson
b126cc1c63
fixed order status translation
2014-09-11 08:39:00 +02:00
Mike Jolley
3a4ba6e4c8
For regular products, ensure stock level saves on product creation.
2014-09-10 23:55:40 +01:00
Mike Jolley
5343833427
Fix - Saving of variation stock when parent stock management is disabled.
2014-09-10 21:03:37 +01:00
claudiosmweb
37ba3c2de9
fixed the mijireh plugin slug
2014-09-10 15:03:13 -03:00
claudiosmweb
3c4177a579
prevented errors in the installation caused by old plugins
2014-09-10 13:35:46 -03:00
Barry Kooij
14221c0fba
Display a backgroud color so text is readable while image loads.
2014-09-10 15:56:29 +02:00
Barry Kooij
dc165a5bb6
Fixed a small typo.
2014-09-10 15:49:04 +02:00
Barry Kooij
fed1af8811
Only display WooConf banner if WooConf hasn't happend yet.
2014-09-10 15:48:13 +02:00
James Koster
3afde01226
wooconf plug on welcome screen.
2014-09-10 12:18:43 +01:00
Mike Jolley
4b4a067a41
Merge pull request #6208 from ragulka/form-field-id
...
Add `id` attribute to woocommerce_form_field args
2014-09-10 10:49:08 +01:00
Illimar Tambek
9215fa76f0
Revise id, input_class and label_class escaping
2014-09-10 12:39:31 +03:00
Mike Jolley
d2ba3453c7
Merge pull request #6203 from maxrice/fix-order-get-item-total
...
Fix warnings with WC_Order::get_item_total()
2014-09-10 10:24:41 +01:00
Illimar Tambek
cfe15e1e33
Add `id` attribute to woocommerce_form_field args
...
This change allows developers to supply their own id attribute
when using the `woocommerce_form_field` template function.
The default ID is the escaped key, keeping the default behaviour.
2014-09-10 11:34:37 +03:00
James Collins
1e251d36b6
Fix query error when saving tax rates
...
Fixes #6202
2014-09-10 09:47:09 +08:00
Max Rice
55d3ba0d9d
Fix warnings with WC_Order::get_item_total()
...
When calling WC_Order::get_item_total() for a fee, $item[‘qty’] is not
set which causes a notice and warning.
2014-09-09 21:23:46 -04:00
claudiosmweb
2f1533ff94
created the wc_get_order_status_label() function
2014-09-09 14:14:10 -03:00
claudiosmweb
c85a71dcee
fixed the order status label
2014-09-09 14:00:37 -03:00
Max Rice
6ccc10b891
Update API docs to Apiary
2014-09-08 18:09:10 -04:00
Mike Jolley
27a20dd80e
Docblock changes
2014-09-08 16:35:40 +01:00
Mike Jolley
a187d29242
Update support links and read me versions/text
2014-09-08 16:19:25 +01:00
claudiosmweb
4a302aaba2
fixed the language pack upgrader docblocks
2014-09-08 12:11:47 -03:00
claudiosmweb
8f4e28b0be
fixed the language pack upgrader to works well with WP 4.0, closes #6183
2014-09-08 12:08:24 -03:00
Mike Jolley
3fb4deaa2b
Prevent woocommerce_apply_base_tax_for_local_pickup breaking tax on virtual orders
2014-09-08 14:48:18 +01:00
Mike Jolley
ebed8dbc85
Correction to last commit to deal with tax arrays
2014-09-08 12:45:32 +01:00
Mike Jolley
a588442cbb
Format refund amounts as decimals
...
Fixes #6187
2014-09-08 12:42:30 +01:00
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Mike Jolley
73f481291f
Merge pull request #6185 from maxrice/webhooks-fix
...
Fix webhook delivery request header format
2014-09-08 00:03:12 +01:00
Mike Jolley
801dddf64e
Merge pull request #6176 from maxrice/moar-unit-tests
...
MOAR unit tests
2014-09-08 00:03:03 +01:00
Max Rice
7aa031c56a
Fix webhook delivery request header format
2014-09-07 16:10:30 -04:00
Max Rice
f70c00ed24
Formatting functions tweaks
2014-09-05 14:35:18 -04:00
Barry Kooij
f9c1b17d27
Password protected posts are not hidden from catalog by default anymore, visibility can be set via the 'Catalog visibility' option.
...
Fixes #6168
2014-09-05 12:23:34 +02:00
Mike Jolley
ad78caf955
Merge pull request #6171 from maxrice/fix-simplify-js-load
...
Don't load simplify javascript when simplify gateway isn't available
2014-09-05 10:04:51 +01:00
Max Rice
81b50b6bd6
Notice functions tweaks
2014-09-05 02:37:12 -04:00
Max Rice
ee25790fb9
Don't load simplify javascript when gateway isn't available
2014-09-04 20:27:43 -04:00
Patrick Rauland
e202926f73
remove check to make sure order is complete before downloading. fixes #6166
2014-09-04 10:31:38 -06:00
Barry Kooij
73648c1b91
Removed the 'delete_users' case.
...
Related #6102
2014-09-04 13:30:48 +02:00
Mike Jolley
9e25450572
Replaced get_language call for get_locale
2014-09-04 11:38:36 +01:00
Mike Jolley
fd0a9e52b6
Replace usage of WPLANG with get_locale() for installs without WPLANG set
...
cc @claudiosmweb
2014-09-04 11:33:30 +01:00
Mike Jolley
40c528dc3a
Queue language check on install + store checked lang code in option
...
@claudiosmweb
2014-09-04 09:37:24 +01:00
Mike Jolley
1d13f767b3
Merge pull request #6157 from tamarazuk/coding-standards
...
Coding standards Part 1
2014-09-03 17:05:42 +01:00
Mike Jolley
349c85b639
Remove redundant wc_order_can_be_edited filter
...
#6154
2014-09-03 10:09:31 +01:00
Mike Jolley
265ffee23a
Remove $can_be_edited in favour of ->is_editable()
...
For #6154
2014-09-03 10:09:04 +01:00
Mike Jolley
cb76bd7fb8
Merge pull request #6154 from thenbrent/is_editable
...
Add `WC_Abstract_Order::is_editable()` method and `'wc_order_is_editable'` filter
2014-09-03 10:06:04 +01:00
Mike Jolley
86d3fc227f
Merge pull request #6155 from thenbrent/paypal_api_creds_help
...
Add a link to PayPal's guide on API Creds
2014-09-03 09:57:38 +01:00
thenbrent
ac80c8b51c
Add a link to PayPal's guide on API Creds
2014-09-02 14:44:17 -07:00
claudiosmweb
78c7fefe3e
fixed some docblocks
2014-09-02 16:50:19 -03:00
thenbrent
3acfb14214
Store order's editable status in property
...
To save overhead of a function call
2014-09-02 12:27:26 -07:00
thenbrent
4dea71314f
Add 'wc_order_is_editable' filter
2014-09-02 11:49:05 -07:00
thenbrent
78d932e6d2
Add WC_Abstract_Order::is_editable()
...
To centralise logic used to determine if an order can be edited from
the Edit Order screen
2014-09-02 11:47:56 -07:00
claudiosmweb
08af487754
added simplify pre-orders support
2014-09-02 11:11:21 -03:00
claudiosmweb
54aa162fb4
renamed the simplify "subscriptions" class to "addons"
2014-09-02 10:21:42 -03:00
Mike Jolley
c3b2a24933
Merge pull request #6147 from maxrice/feature-3176-unit-tests
...
Add Unit Testing Suite
2014-09-02 09:15:50 +01:00
shivapoudel
1ae67fb37e
Change title for API Docs #6132
2014-09-02 00:02:51 +05:45
shivapoudel
86c1e7ed01
Change title for Documentation #6132
2014-09-02 00:02:11 +05:45
claudiosmweb
063d1eb349
fixed the access permissions
2014-09-01 12:44:51 -03:00
claudiosmweb
cd154a30ef
improved the line items backward compatibility, closes #6109
2014-09-01 12:35:04 -03:00
Mike Jolley
689272f9b9
Change title text from #6132
2014-09-01 12:46:37 +01:00
Mike Jolley
f9af86ee1d
Merge pull request #6132 from axisthemes/action-links
...
Action links Has now Better Look in Multisite Too.
2014-09-01 12:44:34 +01:00
Mike Jolley
de4eaeac89
Merge pull request #6137 from shivapoudel/patch-1
...
Time Constant HOUR_IN_SECONDS
2014-09-01 12:36:14 +01:00
Max Rice
38dd928f23
[ #3176 ] REST API webhooks endpoint tweaks from unit test
2014-09-01 03:27:19 -04:00
Tamara Zuk
a0ce139f7d
Coding Standards: Admin - Settings
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Tamara Zuk
0ab6b44bfa
Coding Standards: Admin - Reports
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Tamara Zuk
fc0e7adacb
Coding Standards: Admin - Meta boxes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Tamara Zuk
ce037af961
Coding Standards: Admin - Importers
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:17:58 -04:00
Tamara Zuk
9c7826319c
Coding Standards: Abstract classes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:49:58 -04:00
Max Rice
456d10bcec
REST API: allow coupon description in create/edit coupon
2014-08-30 18:43:47 -04:00
Max Rice
53b53114a7
REST API: Fix edit coupon typos
2014-08-30 18:43:26 -04:00
Max Rice
28536f6bd8
REST API: allow adding/updating order meta
...
When creating or updating orders, non-protected scalar meta can now be
set.
2014-08-30 16:17:52 -04:00
Max Rice
ee8bf5bf18
REST API: tweak filter name from #6084
2014-08-30 16:16:51 -04:00
Max Rice
744c3767c3
REST API: ensure consistency in create/edit data formats
...
A client should be able to GET a resource, edit a single item and PUT
it back to the server without having to perform any additional
transformation. This commit ensures all PUT/POST endpoints adhere to
this standard.
2014-08-30 15:50:40 -04:00
Max Rice
e1a542498d
Fix notice introduced in #6084
2014-08-30 15:14:59 -04:00
Max Rice
722f888453
REST API: Add field restriction to new endpoints
2014-08-30 15:05:36 -04:00
Max Rice
ec0f92878e
REST API: Add order statuses endpoint
2014-08-30 15:05:31 -04:00
Max Rice
f87ccd364c
REST API: Mitigate possible JSONP flash attacks
...
see http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
2014-08-30 15:05:25 -04:00
Max Rice
b1b7d6257b
REST API: Fix JSONP content-type
2014-08-30 15:05:12 -04:00
Shiva Poudel
7ddedad4a7
Time Constant HOUR_IN_SECONDS
...
_wc_activation_redirect transient have HOUR_IN_SECONDS instead `60*60`.
2014-08-31 00:38:48 +05:45
Max Rice
5b68ec6c80
Backport get_avatar_url() fix to v1 REST API
2014-08-30 13:38:45 -04:00
shivapoudel
513cd24751
Filter hook is not necessary for plugin_action_links
2014-08-30 00:50:09 +05:45
shivapoudel
c6c7353d4a
Filter hook is not necessary for plugin_row_meta
2014-08-30 00:49:25 +05:45
shivapoudel
a3107a03a9
Reverted Documentation to Docs
2014-08-30 00:47:00 +05:45
shivapoudel
e9877726a1
Documentation will be better than Short Docs
2014-08-30 00:33:00 +05:45
shivapoudel
390e178962
Added API Docs too
2014-08-30 00:27:36 +05:45
shivapoudel
d965f797c2
Fixed the missing comma :)
2014-08-29 23:46:31 +05:45
shivapoudel
40d66b2f57
Added Docs and Support URL in plugin_row_meta which was removed from plugin_action_links
2014-08-29 23:39:17 +05:45
shivapoudel
ec64534cb7
Removed docs and support Url from plugin_action_links so that we can add it in plugin_row_meta
2014-08-29 23:28:06 +05:45
shivapoudel
a5fdf5aa76
Moved the action_links from final class to WC_INSTALL class
2014-08-29 23:19:01 +05:45
shivapoudel
677f91d1ab
Added some useful comments on Class Constructor Method
2014-08-29 23:13:23 +05:45
Mike Jolley
a1b78ec918
Add second orderby parameter when sorting by price (ID)
...
Fixes #6121
2014-08-29 10:26:21 +01:00
Mike Jolley
b7aacfcb84
Merge pull request #6120 from thenbrent/protected_variation_meta_data
...
Allow WC_Product_Variation children to extend meta
2014-08-29 09:48:03 +01:00
Mike Jolley
721d0e5782
Merge pull request #6125 from axisthemes/notices
...
Better Notices in themes.php
2014-08-29 09:47:43 +01:00
Mike Jolley
e6defc0ddd
Merge pull request #6127 from tamarazuk/master
...
Order totals: 4 new action hooks
2014-08-29 09:46:57 +01:00
Mike Jolley
ca7f7955d9
Merge pull request #6128 from thenbrent/fix_refund_button
...
Only display "Refund" when unrefunded order amount > 0
2014-08-29 09:46:16 +01:00
thenbrent
175923056a
Only display "Refund" when unrefunded amount > 0
...
If an order has been fully refunded, the "Refund" button was still
displayed despite there being no amount to refund.
2014-08-28 22:04:51 -07:00
Tamara Zuk
eb9460aa2d
Order totals: 4 new action hooks
2014-08-28 21:56:30 -04:00
shivapoudel
730563f1c1
If other notices are closed this translation won't have stylesheet so
2014-08-29 04:03:26 +05:45
claudiosmweb
e1e1c14ae7
fixed errors while adding variable products with non-taxonomy attributes, closes #6082
2014-08-28 16:25:08 -03:00
thenbrent
1a15cb03bd
Allow WC_Product_Variation children to extend meta
...
When SHA: 50a0577b81
introduced `$variation_level_meta_data` and
`$variation_inherited_meta_data`, it set their access to `private`.
Child classes of `WC_Product_Variation` should be able to extend these
properties to allow them to take advantage of the parent's `__isset()`
and `__get()` methods.
Related to #6065
2014-08-28 11:30:11 -07:00
Mike Jolley
50a0577b81
Separate inherited meta data from variation level meta data to stop bubbling up.
...
Fixes #6065
2014-08-28 15:38:51 +01:00
Mike Jolley
7b73027417
Remove unused method
...
Closes #6097
2014-08-28 12:20:07 +01:00
Mike Jolley
4a73cb4e7e
Merge pull request #6112 from axisthemes/replacement
...
Replacement for core Tweaks and fixes
2014-08-28 12:07:05 +01:00
Mike Jolley
d526635609
Merge pull request #6096 from axistools/active-plugins
...
System Status report page
2014-08-28 11:44:49 +01:00
Mike Jolley
5d8d30bba3
Merge pull request #6108 from barrykooij/fix/6095
...
Only add the 'do_not_allow' if target user ($args[0]) is set.
2014-08-28 10:08:09 +01:00
Mike Jolley
83516086fb
Merge pull request #6111 from thenbrent/remove_not_remote
...
Fix "remote" typo - should be "remove" in WC 2.2
2014-08-28 10:07:11 +01:00
shivapoudel
c37f7a16e8
use of is_rtl() which were missed
2014-08-28 14:40:36 +05:45
shivapoudel
71986a10d8
Better href method applied
2014-08-28 14:38:14 +05:45
justinstern
8417209d6c
Improve, fix, WC_Payment_Gateway::get_transaction_url()
...
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
shivapoudel
97ea988843
Remove unusual css stuff (i.e ;)
2014-08-28 06:40:32 +05:45
shivapoudel
d4081a37b8
Remove extra line
2014-08-28 06:39:32 +05:45
shivapoudel
768a4f89ed
Added '<hr />' before return-to-dashboard
2014-08-28 04:39:09 +05:45
shivapoudel
cf42423b80
better using printf()
2014-08-28 02:41:32 +05:45
shivapoudel
4a4673be97
Clean WooCommerce actions in Welcome Page
2014-08-28 02:34:52 +05:45
shivapoudel
716d3f1763
removed in Welcome page
2014-08-28 02:31:17 +05:45
shivapoudel
db852e0f10
Better Screen Help adaptation
2014-08-28 02:28:12 +05:45
shivapoudel
7180e50ece
Removed unused lines
2014-08-28 02:21:04 +05:45
shivapoudel
1e734b1ab7
better _doing_it_wrong()
2014-08-28 02:18:16 +05:45
shivapoudel
0224a3e4ec
Added the use of is_rtl()
2014-08-28 02:11:45 +05:45
thenbrent
30e95ab16e
Fix "remote" typo - should be "remove"
2014-08-27 13:05:35 -07:00
Barry Kooij
f77395c572
Only add the 'do_not_allow' if target user ($args[0]) is set.
...
Fixes #6095 .
2014-08-27 20:18:44 +02:00
Shiva Poudel
34d1454439
Time constant in theme set_transient too...
2014-08-27 19:22:03 +05:45
Shiva Poudel
18012b70c0
Using Time Constants to set transient
...
Rather that '60*60*12` we can use `DAY_IN_SECONDS` which is equivalent of `60*60*24`. Let's use one day rather than (1/2)day as it seems better.
2014-08-26 23:47:41 +05:45
Shiva Poudel
0e313e7b58
Fix for Unnecessary spaces used
2014-08-26 23:13:05 +05:45
Shiva Poudel
c961659eca
Fix some duplicates entry.
2014-08-26 23:07:35 +05:45
Shiva Poudel
e73721c58e
Semantic script adapted
...
@mikejolly I have used id `#status` instead of class `wc_status_table`. Look this `jQuery( '#status thead, #status tbody' )....` and `<table class="wc_status_table widefat" cellspacing="0" id="status">`. Thus will not harm anything. Additionally, I have adapted the sementatic jQuery script here.
2014-08-26 22:58:39 +05:45
Shiva Poudel
b201e8d046
Better Text-Domain maintained...
2014-08-26 22:46:31 +05:45
Shiva Poudel
0f113a5750
Added WP Active Plugins In System Status
...
Although there is list of plugins which were installed but will be informative if number of plugins is displayed before getting list. This will count and display the number of plugin installed and used in the environment section.
2014-08-26 22:39:25 +05:45
Mike Jolley
602254851a
Reset fees before calculating/adding them again
...
Fixes #6090
@claudiosmweb Do you see any issues with this?
2014-08-26 15:39:19 +01:00
Mike Jolley
f33d4200d6
Merge pull request #6084 from krautnerds/rest-api-fix
...
WC 2.2 Extend REST API to access also hidden order item meta
2014-08-26 12:23:26 +01:00
Mike Jolley
be90d3e210
Merge pull request #6085 from krautnerds/jquery-fix
...
Rewrote old JS to jQuery and allow usage of multiple widgets
2014-08-26 12:23:00 +01:00
Mike Jolley
3d69dfadbd
Merge pull request #6088 from shivapoudel/patch-1
...
Better to use Time Constants since WordPress 3.5
2014-08-26 12:22:12 +01:00
thenbrent
56c7d5fe96
Don't create redundant $payment_method var
2014-08-25 12:11:39 -07:00
Shiva Poudel
cbb94f0d11
Better to use Time Constants since WordPress 3.5
...
Reference http://codex.wordpress.org/Transients_API#Using_Time_Constants
2014-08-25 11:16:39 +05:45
Florian Ludwig
3fadc14085
Reduce confusion on using the all_meta filter
2014-08-23 19:07:10 +02:00
Florian Ludwig
82f53037be
Implemented more general filter array
2014-08-23 00:11:03 +02:00
Florian Ludwig
83ed3aa534
Fixed jQuery call
2014-08-22 23:01:25 +02:00
Florian Ludwig
526b677bcf
Extend REST API to access also hidden order item meta
2014-08-22 21:42:28 +02:00
Florian Ludwig
f6294d24be
Rewrote old JS to jQuery and allow usage of multiple product categories widgets on one page
2014-08-22 21:39:10 +02:00
Mike Jolley
72f9374902
Merge pull request #6068 from bryceadams/master
...
Added Lao Kip Currency & Before / After Downloads actions
2014-08-22 10:47:02 +01:00
Mike Jolley
198f00d6b5
Merge pull request #6072 from woothemes/feature-paypal-transactin-url-sandbox
...
Add sandbox support for paypal transaction url
2014-08-22 10:43:28 +01:00
Mike Jolley
96e92d4a98
Merge pull request #6067 from axistools/NPR-Currency
...
Added Nepali(NPR) Currency and Symbol.
2014-08-22 10:27:42 +01:00
claudiosmweb
6cc401b70f
Added paypal refund reason/note
...
cc @mikejolley
2014-08-21 20:22:28 -03:00
claudiosmweb
ff7f1435ab
added sandbox support for paypal transaction url
2014-08-21 19:48:28 -03:00
claudiosmweb
f4f5f061d8
fixed the paypal process_refund() method
2014-08-21 16:17:12 -03:00
claudiosmweb
b08a0cf1f3
stopped deprecated warnings about like_escape() function since WP 4.0
2014-08-21 14:00:39 -03:00
Mike Jolley
d87688f857
Simplfy typo
2014-08-21 17:03:16 +01:00
Bryce
04234a4968
Added Lao Kip Currency
2014-08-21 11:42:46 +07:00
Shiva Poudel
547b96f54d
Tab index fix for PYG Currency and Symbol.
2014-08-21 10:13:39 +05:45
Shiva Poudel
ee7755fd0e
Added Nepali Currency and Symbol.
2014-08-21 10:10:51 +05:45
Mike Jolley
c829788ebc
Set simplify user agent
2014-08-20 16:47:01 +01:00
claudiosmweb
aeaa1577e3
fixed wc_get_customer_available_downloads() query, closes #6057
2014-08-19 14:50:27 -03:00
Mike Jolley
474cba9b87
Merge pull request #6052 from barrykooij/refactor/get_product
...
Renamed get_product to wc_get_product
2014-08-19 11:51:20 +01:00
Barry Kooij
fde10a967b
Soft deprecated get_product function
2014-08-19 12:19:26 +02:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Barry Kooij
7cd2e8c10a
Renamed get_product to wc_get_product
2014-08-19 12:05:02 +02:00
Mike Jolley
16754a7d01
Add file to downloads array Closes #6044
2014-08-19 11:01:55 +01:00
Mike Jolley
c6fe731337
Fix password reset
...
Fixes #6049
2014-08-19 10:43:51 +01:00
Mike Jolley
ca1cefd112
Merge pull request #6040 from woothemes/feature-order-refunds-api
...
Initial order refunds API
2014-08-18 15:13:57 +01:00
claudiosmweb
4acb90def2
changed api_refund for true
2014-08-18 10:47:56 -03:00
claudiosmweb
288732a4be
added refund amount validation
2014-08-18 10:47:24 -03:00
claudiosmweb
924e0f92c5
updated woocommerce_api_order_refunds_response filter params
2014-08-18 10:42:37 -03:00
Mike Jolley
421de8f668
Merge pull request #6038 from barrykooij/refactor/wc_get_order-args
...
Passed $args to dynamic class that inherits WC_Abstract_Order is never used
2014-08-18 13:30:13 +01:00
Mike Jolley
0333cf9d0d
Merge pull request #6039 from thenbrent/i18n_product_type_alert
...
Tweak language used for i18n_product_type_alert
2014-08-18 13:29:52 +01:00
Mikel Martin
1ed0a9e9db
Payment unavailable if max_amount greater than 0 and order totar greater than max_amount
2014-08-17 22:10:35 +02:00
claudiosmweb
6081f3b61f
fixed some missing and wrong textdomains
2014-08-15 16:08:43 -03:00
claudiosmweb
2bbcea9de2
orders API for refunds now accepts the api_refund param
2014-08-15 15:58:55 -03:00
claudiosmweb
1294696fcf
created API method for delete order refunds
2014-08-15 15:38:39 -03:00
claudiosmweb
6d4ea6e54e
created initial API method for edit order refunds
2014-08-15 15:28:43 -03:00
thenbrent
320156aca0
Tweak language used for i18n_product_type_alert
2014-08-15 11:16:30 -07:00
claudiosmweb
d02a803e83
added API method for create an order refund
2014-08-15 14:54:19 -03:00
claudiosmweb
b972494ac8
created method API to get individual order refunds
2014-08-15 14:40:34 -03:00
claudiosmweb
f9250fecf2
created API for get order refunds
2014-08-15 14:09:33 -03:00
claudiosmweb
eb679fad14
changed the simplify keys order
2014-08-15 11:43:10 -03:00
claudiosmweb
3ad0e63be0
improved the simplify scripts
2014-08-15 11:40:19 -03:00
Mike Jolley
c51fac23e0
Availability with backorders not requiring notification.
2014-08-15 15:29:14 +01:00
Mike Jolley
575ba5974e
Variation level backorder 'parent' option makes no sense now parent backorder select is hidden
...
#6035
2014-08-15 15:29:14 +01:00
claudiosmweb
d4fb1df412
fixed simplify ssl notification url
2014-08-15 11:20:18 -03:00
Barry Kooij
9d5ce49805
Passed $args to dynamic class that inherits WC_Abstract_Order is never used.
...
Therefor the $args in the function and method in factory class seems unnecessary.
2014-08-15 14:56:43 +02:00
Mike Jolley
89d7d2869f
Revert "Merge pull request #6023 from krautnerds/master"
...
This reverts commit 9deee73b72
, reversing
changes made to 1965c2b786
.
2014-08-15 13:47:37 +01:00
Mike Jolley
9deee73b72
Merge pull request #6023 from krautnerds/master
...
Re-add all filters of widget on change of category
2014-08-15 13:45:39 +01:00
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Barry Kooij
e97d06a0f0
Renamed function get_order to wc_get_order
2014-08-15 14:26:26 +02:00
Mike Jolley
da483198f8
Simplify icons
2014-08-15 11:50:53 +01:00
Mike Jolley
7a267d2e31
Simplify Commerce by Mastercard gateway
2014-08-15 11:50:53 +01:00
Mike Jolley
6bd38b5ce0
Tweak display order text
2014-08-15 11:50:53 +01:00
Mike Jolley
1c3b4fdc5c
Deprecate Mijireh - .org repo requested
...
Closes #6027
2014-08-15 11:50:53 +01:00
Florian Ludwig
c2042319db
Bugfix: swapped lines select and option
2014-08-14 17:00:37 +02:00
James Collins
1288a45eeb
Add Australian checkout locale
...
Town / City -> Suburb
State / Country -> State
Postcode / Zip -> Postcode
2014-08-14 12:07:41 +08:00
Florian Ludwig
26d40f2336
Class instead of id for product categories widget
...
Also rewrote plain old JS to jQuery
2014-08-13 22:16:18 +02:00
Florian Ludwig
ec41270587
Re-add all filters of widget on change of category
...
At the moment all filters that were applied via the layered nav filter
widget are gone on changing the category with the product category
filter
2014-08-13 17:13:58 +02:00
Mike Jolley
3f53512c7f
Fix up visibility of stock options, drop downs, and get_availability() when parent is managing stock for a variation.
...
Fixes #6017
2014-08-13 15:03:30 +01:00
Mike Jolley
dfe30bfe84
Tweak max spend text for #5992
2014-08-13 11:43:28 +01:00
Mike Jolley
dc60cea213
Merge pull request #5992 from adamawesomeface/master
...
maximum ammount for coupon functionality added
2014-08-13 11:41:33 +01:00
Mike Jolley
9084ae222f
Remove unused/uncoded options from dev branch
...
Fixes #6004
2014-08-13 11:38:49 +01:00
Mike Jolley
b1c76adb56
Send product object to woocommerce_stock_html filter. Closes #6016
2014-08-13 11:30:47 +01:00
Mike Jolley
97724c8a95
woocommerce_create_page_id filter Closes #6013
2014-08-13 10:59:40 +01:00
Mike Jolley
51985df0df
Merge pull request #6019 from krautnerds/master
...
Rewrote widget layered nav to use class instead of id
2014-08-13 10:04:12 +01:00
claudiosmweb
9da4f13805
fixed the orders api order status query
2014-08-12 15:08:11 -03:00
Florian Ludwig
f2f56ebb4a
Removed lines, were already deleted in upstream
2014-08-12 19:04:11 +02:00
Florian Ludwig
b8c2912138
More general approach for widget dropdown_layered_nav
2014-08-12 18:56:37 +02:00
claudiosmweb
bbca8dd437
fixed customer report queries with order_types
2014-08-12 12:17:46 -03:00
claudiosmweb
532d06b560
fixed the wc_cancel_unpaid_orders() post_type query
2014-08-12 12:14:38 -03:00
claudiosmweb
6e21079d76
moved exclude order notes from wp_count_comments to class-wc-comments.php
2014-08-12 12:13:29 -03:00
claudiosmweb
eb8d99f4ea
fixed some coding standards in includes/class-wc-comments.php
2014-08-12 12:07:23 -03:00
claudiosmweb
507a2038e8
fixed comments query
2014-08-12 12:05:09 -03:00
Mike Jolley
5bc293a69c
Initial display of add order item buttons Fixes #5991
...
Also Closes #5994
2014-08-12 12:54:44 +01:00
Mike Jolley
e4d0a6daef
Merge pull request #5989 from woothemes/lost-password-email-username
...
Lost password, lookup on username first before email.
2014-08-12 12:41:35 +01:00
Mike Jolley
fea2cc55f7
Merge pull request #5987 from afurculita/patch-1
...
Update wc-deprecated-functions.php
2014-08-12 12:39:02 +01:00
Mike Jolley
177d617b73
Merge pull request #6008 from woothemes/fix-force-https
...
Changed WC_HTTPS::force_https_url filter priority
2014-08-12 12:38:04 +01:00
Mike Jolley
bd9ab8f5b3
Merge pull request #5988 from woothemes/feature-process-refund-reason
...
Add $reason param in WC_Payment_Gateway::process_refund()
2014-08-12 12:36:12 +01:00
Mike Jolley
6714d0088c
Merge pull request #5986 from SiR-DanieL/patch-5
...
Added parenthesis
2014-08-12 12:33:55 +01:00
Mike Jolley
7f825a98ce
Tweak get_children to look for empty transient
2014-08-12 12:06:18 +01:00
claudiosmweb
acb0699e94
updated the reason default value
2014-08-11 10:07:09 -03:00
claudiosmweb
9ce8250fcb
changed WC_HTTPS::force_https_url filter priority
2014-08-11 10:03:27 -03:00
adamawesomeface
0e22412a7d
maximum ammount for coupon functionality added
2014-08-08 07:38:58 -04:00
Mike Jolley
fe12b330c0
Fix sorting indicator and add help text to parent. Fixes #5977
2014-08-08 10:24:42 +01:00
Gerhard
4f011ae6a9
Lost password, lookup username first before email.
...
Customer use emails as usernames so need to lookup based on username first for instances where this apply.
2014-08-08 08:07:11 +02:00
claudiosmweb
066ba904cb
added $reason param in WC_Payment_Gateway::process_refund()
2014-08-07 15:57:29 -03:00
Alexandru Furculita
9d129a39b4
Update wc-deprecated-functions.php
...
Help IDE-s find and highlight the deprecated stuff. Good for WooCommerce plugin and theme developers
2014-08-07 21:26:05 +03:00
Nicola Mustone
e49fe4c713
Added parenthesis
...
WP coding standard says to add always parenthesis
2014-08-07 18:26:48 +02:00
claudiosmweb
c378768aae
added backwards compatibility function for new shop order status
2014-08-07 12:15:57 -03:00
Mike Jolley
5046256cea
Prevent 404's caused by attachment link workaround.
...
Fixes #5975
2014-08-06 11:50:09 +01:00
Mike Jolley
7475778d05
Workaround for #5962
2014-08-05 21:12:52 +01:00
Mike Jolley
80ca1c3808
Cast array instead Closes #5890
2014-08-05 11:28:27 +01:00
Mike Jolley
c4b813262c
Revert "Check for array"
...
This reverts commit 61df5d5534
.
2014-08-05 11:27:25 +01:00
Mike Jolley
a186e1e52f
Merge pull request #5951 from grey-rsi/master
...
class-wc-widget-price-filter.php - add filter
2014-08-05 11:08:02 +01:00
Mike Jolley
49b597665e
Merge pull request #5967 from SiR-DanieL/master
...
Fixed issue #5895
2014-08-05 10:49:40 +01:00
Gustavo Bordoni
7d4a6fc7d8
Merge branch 'master' into issue/5875
...
Conflicts:
assets/css/admin.css
2014-08-05 01:21:48 -03:00
claudiosmweb
0617d53353
fixed undefined offset when added products in cart
2014-08-04 16:37:42 -03:00
claudiosmweb
ae66ba4553
fixed variation tax_class and backorders
...
@mikejolley
2014-08-04 16:05:15 -03:00
claudiosmweb
b67a1e6b0e
stopped endless loop when saving variable product that manages stock
...
@mikejolley
2014-08-04 15:31:40 -03:00
claudiosmweb
bce502f455
improved handling of stock options to save changes to a variable product
2014-08-04 14:53:29 -03:00
Nicola Mustone
7c7f6b30e5
following wc coding standards
2014-08-04 17:49:14 +02:00
Nicola Mustone
69694e6242
following wc coding standards
2014-08-04 17:45:35 +02:00
Nicola Mustone
a4103f7bfe
following wc coding standards
2014-08-04 17:42:16 +02:00
Nicola Mustone
c5f9f2157f
Fixed issue #5895
2014-08-04 17:28:20 +02:00
Mike Jolley
3f58d8801a
Merge pull request #5950 from afurculita/master
...
Autoloading widget classes
2014-08-04 14:21:18 +01:00
Mike Jolley
f84cd332dc
Merge pull request #5960 from bordoni/issue/5958
...
User that refunded now been shown at the Order edit page
2014-08-04 14:18:32 +01:00
Mike Jolley
658089a46b
Merge pull request #5963 from SiR-DanieL/master
...
Child & Parent Themes in System Report
2014-08-04 14:06:25 +01:00
Gustavo Bordoni
34a47c3682
Removing a `var_dump`, My bad
2014-08-04 08:14:00 -03:00
Mike Jolley
760cd6861c
Small refactor of is_visible
...
Also returns false for non-published products and fixes #5955
2014-08-04 11:19:58 +01:00
Mike Jolley
e02d94d305
Fix stock logic in 2.2 for variations with parents which manage stock
...
Closes #5957 @claudiosmweb can you review this change?
2014-08-04 10:51:54 +01:00
Nicola Mustone
91177e43da
woocommerce support line outside the child theme conditional
2014-08-03 14:05:49 +02:00
Nicola Mustone
359d910090
Merge branch 'master' of https://github.com/woothemes/woocommerce
2014-08-03 13:59:17 +02:00
Gustavo Bordoni
6b3f228a55
Adding the information about who did the refund on the backend
2014-08-02 21:57:14 -03:00
Gustavo Bordoni
fbf4ffd39b
Include a isset before using a variable that might not be there
2014-08-02 21:32:18 -03:00
GreY
9dd743158e
Add filter to convert amount on based currency rate
2014-08-01 15:09:25 +03:00
Alexandru Furculita
8eb710ec5d
Update class-wc-widget-cart.php
2014-08-01 13:47:07 +03:00
Alexandru Furculita
37e12a99b1
Update class-wc-widget-top-rated-products.php
2014-08-01 13:46:43 +03:00
Alexandru Furculita
8303d82172
Update class-wc-widget-top-rated-products.php
2014-08-01 13:46:33 +03:00
Alexandru Furculita
e03905f935
Update class-wc-widget-recently-viewed.php
2014-08-01 13:46:20 +03:00
Alexandru Furculita
8d214e665d
Update class-wc-widget-recent-reviews.php
2014-08-01 13:46:07 +03:00
Alexandru Furculita
df7f5aa6ba
Update class-wc-widget-products.php
2014-08-01 13:45:47 +03:00
Alexandru Furculita
b326ea6612
Update class-wc-widget-product-tag-cloud.php
2014-08-01 13:45:36 +03:00
Alexandru Furculita
d1de854c8f
Update class-wc-widget-product-search.php
2014-08-01 13:45:18 +03:00
Alexandru Furculita
981bd515ed
Update class-wc-widget-product-categories.php
2014-08-01 13:44:43 +03:00
Alexandru Furculita
332fbd2f93
Update class-wc-widget-price-filter.php
2014-08-01 13:44:29 +03:00
Alexandru Furculita
130521a7ab
Update class-wc-widget-layered-nav.php
2014-08-01 13:44:15 +03:00
Alexandru Furculita
53f061f0a0
Update class-wc-widget-layered-nav-filters.php
2014-08-01 13:44:00 +03:00
Gustavo Bordoni
46ef1638ce
Passing all the params for the `edit_address` fields, and build `id` param if it doens't exists
2014-08-01 01:26:45 -03:00
Gustavo Bordoni
09c8e644d1
WP Code Std
2014-08-01 01:24:55 -03:00
Gustavo Bordoni
8805c3443c
Include the wp_localize_script for country > state relationship
2014-07-31 23:26:05 -03:00
Gustavo Bordoni
7a484744c0
WP Code Std
2014-07-31 22:54:38 -03:00
Max Rice
3c566e3419
Fix webhook delivery log deletion
...
Use wp_delete_comment() instead of SQL so comment meta is deleted as
well.
2014-07-31 11:52:16 -04:00
claudiosmweb
1a9d346e1f
sync with master
2014-07-31 09:39:24 -03:00
Mike Jolley
6e540c3bda
Pass is_ajax through from the ajax handler
...
Fixes #5910
2014-07-31 10:00:16 +01:00
Mike Jolley
727e49c097
Welcome page Closes #5920
...
@jameskoster can your review?
2014-07-31 09:48:17 +01:00
Mike Jolley
3f906b1ffa
Change shutdown hook priority
...
Fixes #5860
2014-07-31 07:26:49 +01:00
Mike Jolley
63d0283ea3
More efficient #4632
2014-07-31 07:10:07 +01:00
Mike Jolley
54e7ce602f
Merge pull request #4632 from AdvancedStyle/master
...
Multiple categories in the product_category shortcode
2014-07-31 07:05:37 +01:00
Mike Jolley
0b6d8914a3
Merge pull request #5941 from maxrice/feature-issue-5564-rest-api-webhooks
...
Webhooks Implementation
2014-07-31 07:03:02 +01:00
Mike Jolley
e13b54be15
Send order as a whole to paypal with negative line items
...
Closes #5862
2014-07-31 06:57:17 +01:00
Max Rice
a7538da23b
Add shop_webhook capabilities on install/upgrade
...
Part of #5564
2014-07-30 16:24:14 -04:00