James Koster
82f8b61418
make it clearer that variation drag/drop only applies to the backend. closes #9104
2015-09-15 17:05:55 +01:00
Mike Jolley
4e063fb069
Merge pull request #8925 from shivapoudel/hidden-meta-boxes
...
Hides 'custom fields' section by default in product
2015-09-15 16:47:05 +01:00
Mike Jolley
cc875d7b94
Merge pull request #8939 from SiR-DanieL/_x
...
Added some comments on translations
2015-09-15 16:45:39 +01:00
Mike Jolley
3e55364e3a
Merge pull request #8940 from woothemes/issues/8482
...
Tidy up how we're dealing with coupon postmeta around `_used_by` which can get big.
2015-09-15 16:42:51 +01:00
Mikael Mattsson
d3302a9fa8
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
# By Akeda Bagus (4) and Beka Rice (1)
# Via Mike Jolley (3) and others
* 'master' of https://github.com/woothemes/woocommerce :
Added more products query filter for REST API.
Added support to GET, POST, PUT, and DELETE tags.
Added support to POST, PUT, and DELETE categories.
Added API support for product shipping classes.
[2.5] Filter when purchase note is showed
2015-09-15 17:28:42 +02:00
Claudio Sanches
b8172b173e
Merge pull request #9135 from woothemes/issues/8971-filter-products-by-tax
...
Added more products query filter for REST API.
2015-09-15 12:19:36 -03:00
Mike Jolley
c4fa25c09e
Merge pull request #9100 from woothemes/issues/8879-categories-tags-api-addition
...
Added support to POST, PUT, and DELETE categories/tags.
2015-09-15 16:17:50 +01:00
Mikael Mattsson
ac49411146
Make the image properties alt and title writable in the REST API v3.
2015-09-15 17:17:14 +02:00
Mike Jolley
b2749c3939
Merge pull request #9118 from woothemes/issues/8948
...
Added API support for product shipping classes.
2015-09-15 16:15:52 +01:00
Mike Jolley
0830543c4f
Add disclaimer to woocommerce_adjust_non_base_location_prices
2015-09-15 16:01:11 +01:00
Mike Jolley
4959937689
Merge branch 'universal-pricing-test'
2015-09-15 15:57:04 +01:00
Akeda Bagus
97565ef9a1
Added more products query filter for REST API.
...
The new filters are taxonomies related: tag, shipping class, and
attribute. The code was refactored a bit so all taxonomies query are
wrapped within tax_query.
2015-09-15 07:18:28 -05:00
Mike Jolley
9f1a5e3c26
Remove unused arg
2015-09-15 12:51:45 +01:00
Mike Jolley
0164584aaf
Reduce stock once and record in _order_stock_reduced meta
...
Also clears up the payment_complete method
2015-09-15 12:39:16 +01:00
Mike Jolley
96814b992f
Show more variations per page
2015-09-14 16:54:58 +01:00
Mike Jolley
3dbe9ccd95
Better fallback for ajax variations in case sync_attributes has ran
2015-09-14 16:50:58 +01:00
Mike Jolley
fc78f85bc6
Merge branch 'pr/9034'
2015-09-14 15:56:38 +01:00
Mike Jolley
3a1bcd8e7d
Store prices in class to prevent running get_variation_prices multiple times
2015-09-14 15:09:57 +01:00
Mike Jolley
2d90e1c6c6
Ensure _product_version checks act the same regardless of the attributes being checked
2015-09-14 12:12:05 +01:00
Akeda Bagus
6906eb4eae
Added support to GET, POST, PUT, and DELETE tags.
2015-09-13 17:59:07 +07:00
Akeda Bagus
2980ffd66b
Added support to POST, PUT, and DELETE categories.
2015-09-13 17:59:07 +07:00
Akeda Bagus
f781d393c8
Added API support for product shipping classes.
...
This change implements GET, POST, PUT, and DELETE handlers for shipping
classes endpoint, /products/shipping_classes.
Fixes #8948 .
2015-09-13 17:54:23 +07:00
Panagiotis Vagenas
8e37f8d0a5
#9116 . Moving the action outside the curly braces will do the trick.
2015-09-13 10:03:25 +03:00
Claudio Sanches
03ed840a79
Merge pull request #9109 from SiR-DanieL/related-products-args
...
Wrong per_page attribute
2015-09-11 18:24:56 -03:00
Nicola Mustone
cc3962cddb
wrong per_page attribute
2015-09-11 10:53:26 +02:00
Akeda Bagus
82a7c70334
Don't show undo link if removed item product is out of stock.
2015-09-11 15:22:09 +07:00
Claudio Sanches
194f9cd6ec
Revert "Added API support for product shipping classes."
2015-09-10 14:22:11 -03:00
Mike Jolley
53c6bebbd0
Select 1=1 instead of '1' when using get_var
...
Fixes #9102
2015-09-10 16:49:51 +01:00
Mike Jolley
8ec5986d48
Tweak hash logic
2015-09-09 22:29:54 +01:00
Claudio Sanches
1a97aeb0b3
Merge pull request #9098 from woothemes/issues/8948
...
Added API support for product shipping classes.
2015-09-09 12:27:38 -03:00
Kevin Hagerty
1c6dad110e
improved spacing, filter name more conventional, added esc_attr
2015-09-09 10:11:09 -04:00
Akeda Bagus
1f18d861ce
Added API support for product shipping classes.
...
This change implements GET, POST, PUT, and DELETE handlers for shipping
classes endpoint, /products/shipping_classes.
Fixes #8948 .
2015-09-09 20:38:11 +07:00
Mike Jolley
71b8f0ddff
Change loops wording
...
Closes #8818
2015-09-09 11:26:11 +01:00
Mike Jolley
a0411e7d8b
Apparently allowing full screen fixes wistia notices
...
Fixes #9052
2015-09-09 11:06:26 +01:00
Geoffrey de Vlugt
9d7d40ced1
Coupon usage count can become negative
...
This commit fixes issue #9086
2015-09-09 09:56:32 +02:00
Kevin Hagerty
849a3598c9
add a filter to the array of the html classes for an order note
...
allow plugins to hook into the display of order notes to add classes.
2015-09-08 20:11:04 -04:00
rchq
332c1bdf9c
Update abstract-wc-order.php
...
Created an action to be able to hook into and add additional notification triggers.
2015-09-08 11:00:22 -07:00
Kathy Darling
9571b8827e
Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`.
2015-09-08 13:41:12 -04:00
Mike Jolley
4084b8b359
Merge pull request #9075 from krautnerds/fix-lost-password-form-handling
...
Fix lost password form handling for space before/after email
2015-09-08 11:45:22 +01:00
Mike Jolley
6306c3afde
get_formatted_meta allow 0 values
...
Fixes #9072
2015-09-08 11:39:50 +01:00
Mike Jolley
14ee9e2daa
Merge pull request #9074 from khag7/khag7-patch-1
...
fix HTML for the order total column
2015-09-08 10:24:19 +01:00
matttallan
bbe11fdd6b
Don't try add/remove download permissions if order does not exist
2015-09-08 15:28:38 +10:00
Florian Ludwig
5cffd789a4
Removed unused variable
2015-09-08 00:08:40 +02:00
Florian Ludwig
9966f6b0a4
Fixed issue where space before or after mail led to "Invalid e-mail" error
2015-09-08 00:08:32 +02:00
Kevin Hagerty
a59b3482e8
fix HTML for the order total column
...
the HTML generated now uses get_formatted_order_total, same solution used for issue #9047
2015-09-07 17:30:55 -04:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Manos Psychogyiopoulos
e3dad9106f
elseif
2015-09-07 19:17:33 +03:00
Manos Psychogyiopoulos
d9d11974fe
introduce context in transient with price filters
2015-09-07 19:13:41 +03:00
Mike Jolley
821434cbb7
Fix geolocation redirect with querystring
2015-09-07 16:58:05 +01:00
Mike Jolley
a056e3e649
Unslash key description
...
Closes #9068
2015-09-07 16:29:03 +01:00
Mike Jolley
358f3f79fa
Don't use extract() in add_rate
...
#9057
2015-09-07 16:02:23 +01:00
Mike Jolley
38a5d04c53
woocommerce_save_account_details_required_fields hook
...
Closes #9056
2015-09-07 15:21:57 +01:00
Mike Jolley
3e0986bce0
Merge pull request #9053 from khag7/khag7-patch-1
...
Improve order total formatting
2015-09-07 14:43:49 +01:00
Mike Jolley
50e4a68235
Merge pull request #9028 from LeGaS/patch-1
...
Count only published variations
2015-09-07 14:43:01 +01:00
Mike Jolley
ee0b0ba088
Merge pull request #9003 from krautnerds/fix-api-v2-item-meta-keys
...
Restored wc<2.4 behavior of order item meta keys
2015-09-07 14:36:17 +01:00
Mike Jolley
27ac395496
Use geolocation class IP function
...
Fixes #9048
Closes #9050
2015-09-07 14:24:00 +01:00
Mike Jolley
ae849c7adb
Merge pull request #9054 from khag7/khag7-patch-2
...
use the needs_payment function
2015-09-07 14:19:48 +01:00
Mike Jolley
13b85f89a6
Tweak wc_create_page to work with trashed pages...
...
… and to check post IDs are valid pages with correct post statuses.
Fixes #9061
Closes #9062
Closes #9063
2015-09-07 14:17:22 +01:00
Mike Jolley
bf0cb28d36
esc_html
...
Closes #9065
2015-09-07 13:26:43 +01:00
Mike Jolley
174967dd6b
Merge pull request #9066 from dominic-p/query-id-check
...
Check specifically for Post IDs in WC Query verbose rules fix
2015-09-07 13:22:29 +01:00
James Koster
4aff861626
responsive orders table in dashboard. closes #8996
...
Also removes unnecessary tooltip on order row.
2015-09-07 12:35:30 +01:00
Mike Jolley
1c68137cf9
Only run maybe_set_cart_cookies if cart was loaded
2015-09-07 11:38:24 +01:00
Dominic
358336546e
Check specifically for Post IDs in WC Query
...
The `WP_Query::queried_object_id` property can reference either a post
or a term ID. This way, we ensure that we are check for posts only.
2015-09-07 02:17:01 -07:00
Kevin Hagerty
164b39ea42
Use the needs_payment function
...
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:09:47 -04:00
Kevin Hagerty
e4b092fe10
Use the needs_payment function
...
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:06:57 -04:00
Kevin Hagerty
3671bcf39d
Improve order total formatting
...
The function get_formatted_order_total already provides formatted HTML with indication of a prior refund. No need to do that logic and formatting again.
2015-09-05 07:48:24 -04:00
Mike Jolley
991bd96fb6
Redirect 'not right now' to referer
2015-09-04 16:02:44 +01:00
Mike Jolley
b111331686
Allow line breaks in non-variation attributes
2015-09-04 14:00:42 +01:00
James Koster
8eebc7c900
Free is an amount!
...
All product prices are wrapped in `span class=“amount”`. To make
themers lives easier let’s be consistent. When the product is free the
price should still be wrapped.
2015-09-04 11:19:52 +01:00
Mike Jolley
d90d562b42
Leave excl function alone
2015-09-04 10:57:22 +01:00
Mike Jolley
e08f8d8902
Apply woocommerce_adjust_non_base_location_prices to all prices
2015-09-04 10:48:50 +01:00
Mike Jolley
31ed6c2531
woocommerce_adjust_non_base_location_prices test (false for now, should be true for current behavior)
2015-09-04 10:33:51 +01:00
Mike Jolley
bbd95bab7b
Merge pull request #9033 from jackgregory/is-layered-nav-active
...
add woocommerce_is_layered_nav_active filter
2015-09-04 10:08:18 +01:00
Mike Jolley
8596cb9322
Merge pull request #9039 from krautnerds/fix-api-key-bulk-revoke-for-translated-woocommerce
...
Don't use translated key for name in bulk action checkbox
2015-09-03 23:16:28 +01:00
Mike Jolley
797f2fab62
decode quotes
...
#9040
2015-09-03 23:15:06 +01:00
Florian Ludwig
6f3a221c62
Removed senseless sprintf argument
2015-09-03 22:21:23 +02:00
Florian Ludwig
2b6aecb262
Don't use translated key for name in bulk action checkbox
...
Otherwise the translation will break the code in
https://github.com/woothemes/woocommerce/blob/master/includes/admin/clas
s-wc-admin-api-keys.php#L122
We shouldn’t use the translated string here in my opinion.
2015-09-03 22:12:55 +02:00
Manos Psychogyiopoulos
68e24c8f8a
no filters allowed when generating variable product price transients
2015-09-03 19:04:31 +03:00
Mike Jolley
8149213c4b
Add monthly cron schedule
...
@claudiosmweb
2015-09-03 16:21:53 +01:00
Mike Jolley
889d40b8aa
Add data attribute to leave options visible
...
Closes #9017
2015-09-03 15:38:42 +01:00
Jack Gregory
e75b462e86
add woocommerce_is_layered_nav_active filter
2015-09-03 15:09:21 +01:00
Mike Jolley
fad48bf800
Add filters to control shipped via text
2015-09-03 15:05:10 +01:00
Szabolcs Légrádi
6bb0dd864b
Do not count trashed product variations
2015-09-02 23:11:28 +02:00
Szabolcs Légrádi
68460063a0
Count only published variations
2015-09-02 22:58:07 +02:00
Mike Jolley
b4e879f30e
Merge pull request #8993 from jackgregory/filter-dropdown-variation-args
...
add woocommerce_dropdown_variation_args filter
2015-09-02 14:01:39 +01:00
Jack Gregory
16cdbb4ff3
update woocommerce_dropdown_variation_attribute_options_args filter naming
2015-09-02 12:39:23 +01:00
Mike Jolley
d4c8611ec8
Merge pull request #8972 from didi3r/patch-1
...
Hide "Our Bank Details" heading when no bacs registered
2015-09-02 12:24:22 +01:00
Mike Jolley
c4ca7abd4c
Check home URL not this page
...
Fixes #8963
2015-09-02 12:23:53 +01:00
Mike Jolley
2023910400
Log refund response.
2015-09-02 11:36:42 +01:00
Mike Jolley
a27aeaaa6f
Escape add to cart messages to stop translations from breaking cart events.
2015-09-02 10:59:17 +01:00
Mike Jolley
cf7a9c3913
Case insentiive matching in cache helper
...
@georgestephanis
2015-09-01 16:40:17 +01:00
Mike Jolley
dd7c32c22c
Added 'false' check in variation admin
...
@claudiosmweb Closes #8966
2015-09-01 16:35:13 +01:00
Mike Jolley
c65d227105
Merge pull request #9011 from woothemes/WPprodigy-patch-1-1
...
Allow for multiple email recipients
2015-09-01 15:46:46 +01:00
Mike Jolley
f7e4bf224d
Exclude cart and account pages from geolocation
...
Closes #8967
2015-09-01 15:41:05 +01:00
Mike Jolley
66c0d8f009
Swiss
...
Fixes #9001
2015-09-01 13:50:14 +01:00
Mike Jolley
91ac7fc974
To prevent discounts being applied in 'random' order (based on order added to cart), sort cart items based on subtotal during calculate_totals.
...
Closes #8987
@claudiosmweb @georgestephanis does this change look sane to you folks?
2015-09-01 13:16:55 +01:00
Caleb Burks
c53248896e
Allow for multiple email recipients
...
Allow multiple emails to be used for the low stock / out of stock email.
2015-09-01 07:11:41 -05:00
Mike Jolley
6728f5c1fe
singular_name context
...
Closes #8988
2015-09-01 12:42:45 +01:00
Florian Ludwig
4e0961333f
Restored wc<2.4 behavior of order item meta keys
...
The previous version of woocommerce showed the machine readable names
in item_meta['key’] especially for the custom variation attributes but
after 2.4 it shows only meta ids in the key.
This commit reverts the behavior to the prior 2.4 behavior.
2015-08-31 17:59:41 +02:00
Mike Jolley
07237d9a09
Set charset when doing html_entity_decode
...
@claudiosmweb Closes #8964
2015-08-31 12:29:36 +01:00