Mike Jolley
ec4a61d6e2
Only run wc_page_endpoint_title on frontend
...
Closes #7881
2015-04-10 16:20:36 +01:00
Mike Jolley
7846513382
deprecate woocommerce_product_reviews_tab
...
Closes #7877
2015-04-10 16:07:33 +01:00
Andrew Benbow
45c76cd0cb
Update class-wc-gateway-paypal-request.php
2015-04-10 15:47:28 +01:00
Mike Jolley
2e2ec824f0
Set field required class
...
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley
36a49f87c2
Improve save_attributes ajax function to correctly save text attributes.
...
Closes #7832
2015-04-10 14:50:23 +01:00
Gerhard
c18c873b99
Ensure $wp->request has a trailing slash to avoid pagination issues.
2015-04-10 15:34:09 +02:00
Mike Jolley
12dde04e16
wc_product_cat_class functions
...
Closes #7923
2015-04-10 13:17:30 +01:00
Mike Jolley
2d99e060a1
Merge branch 'discount-rounding-mode'
2015-04-10 11:06:53 +01:00
Mike Jolley
2ddd07b252
FIx fixed product discount
2015-04-10 10:55:40 +01:00
Mike Jolley
5b1ea0dea1
Remove comments
2015-04-10 10:44:13 +01:00
Mike Jolley
68194bf0ed
Round discount totals
2015-04-10 10:28:46 +01:00
Mike Jolley
ed6fe062a7
Merge pull request #7931 from woothemes/fix/api-check_permission
...
[2.3] Check for edit_post cap if the post type is revision
2015-04-10 10:14:19 +01:00
Barry Kooij
4650c2300a
Simply deny all access to revisions
2015-04-10 11:03:45 +02:00
Barry Kooij
64c79ffe1e
Check for edit_post cap if the post type is revision
2015-04-10 10:32:20 +02:00
Dominic
be8e61161b
Prevent notices if variation_id isn't set
...
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
Nicola Mustone
2fa4333ad7
remove 0 values from featured array
2015-04-09 16:48:26 +02:00
Nicola Mustone
8046aa58a2
missing {}
2015-04-09 16:34:33 +02:00
James Koster
56b1699e14
placeholder. closes #7885
2015-04-09 15:17:59 +01:00
James Koster
aad06e7f1c
[2.3] cart totals hooked into action
2015-04-09 15:15:37 +01:00
Mike Jolley
1f3365f206
Prevent infinite recursion by calling get_cart_from_session once
...
Closes #7852
A check was aded to prevent get_cart() usage before wp_loaded so all WC
components have a chance to load prior to the cart.
This should solve the edge-case recursion bug by first checking if the
woocommerce_cart_loaded_from_session action has already run. This is
triggered when loading the cart for the first time.
2015-04-09 12:49:20 +01:00
Mike Jolley
0cff7e57cd
Run ajax events during template_redirect
...
Found cases where if you used get_posts during parse_query, you would
get infinite loops.
2015-04-09 12:47:37 +01:00
Mike Jolley
a6692c4722
Clarify delete message
...
Closes #7917
2015-04-09 12:05:07 +01:00
Mike Jolley
33d94aaea4
[2.3] Use single logging method for paypal classes
...
Closes #7801
2015-04-09 12:00:42 +01:00
Mike Jolley
c8c276d058
Show .org plugin version
...
Closes #7866 Fixes #7863
2015-04-09 11:26:56 +01:00
Nicola Mustone
c8687d35d8
methods don't return anything
2015-04-08 16:28:06 +02:00
Nicola Mustone
5e758bb8f9
conditions improvement
2015-04-08 14:34:50 +02:00
Mike Jolley
204c65ca6a
Merge pull request #7836 from aelia-co/master
...
Added support for JOIN types in WC_Admin_Report
2015-04-08 12:11:04 +01:00
Mike Jolley
44a6952e16
Merge pull request #7331 from shivapoudel/bulk-message
...
Bulk message
2015-04-08 12:10:56 +01:00
Mike Jolley
50575c2355
Merge pull request #7872 from WPprodigy/patch-1
...
Enhanced Error Message
2015-04-08 11:55:24 +01:00
Mike Jolley
26e7a5c705
Merge pull request #7865 from SiR-DanieL/scrutinizer-issues
...
Fix scrutinizer issues
2015-04-08 11:53:44 +01:00
James Koster
cd20ce6789
variation images. closes #7844
2015-04-08 10:19:23 +01:00
James Koster
f6346c705c
Merge pull request #7889 from shivapoudel/tweak-backbone-modal
...
Tweak backbone modal
2015-04-08 10:02:42 +01:00
roykho
96ca19d170
fixed flatrate per item and per class if no additional costs added, it doesn't correctly fallback to base cost closes #7851
2015-04-07 07:23:00 -07:00
Barry Kooij
99f5aa0dfa
Merge pull request #7879 from dannyvankooten/master
...
Changing all inefficient selectors of $('body') to $(document.body), whi...
2015-04-07 16:09:00 +02:00
shivapoudel
227c83a084
Use of <button> instead of <a> for modal-close
...
This was the clone of themes.php modal close button
2015-04-04 13:57:20 +05:45
shivapoudel
29f584ba98
Fix - Unusual slightly dark box on the backdrop of modal right side
2015-04-04 13:51:10 +05:45
Claudio Sanches
2fb06e4c29
[API] Fixed the position type for attributes and images
2015-04-03 15:01:41 -03:00
Danny van Kooten
88f2e690bb
Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ).
2015-04-03 14:21:47 +02:00
Caleb Burks
3728f8b001
Enhanced Error Message
...
As pointed out by jnachtigall (https://github.com/woothemes/woocommerce/issues/7870 ), this could help customers who may have accidentally mis-typed the coupon.
2015-04-01 16:56:10 -07:00
James Koster
944723d7ac
tel input #7827
2015-04-01 17:36:58 +01:00
Nicola Mustone
d2d2bf60b0
revert typecasting format
2015-04-01 17:28:51 +02:00
Mike Jolley
5bce366d40
Merge pull request #7749 from javorszky/download-filter
...
Adds filter to download permissions results
2015-04-01 16:27:07 +01:00
Nicola Mustone
765b1e2e7d
wrong var
2015-04-01 15:35:53 +02:00
Nicola Mustone
85fd634861
fix scrutinizer issues
2015-04-01 15:33:56 +02:00
Mike Jolley
c19f2e573e
[2.3] Only automatically cancel orders created via checkout + allow post_parent to be set
2015-04-01 14:21:10 +01:00
Gabor Javorszky
5f8f1fc10f
Add null date check for download permissions
...
Fixes #7861
* implements check if `access_expiry` is 0 epoch
Sadly there's no way to circumvent WordPress's sanitization without using raw query in `WC_Meta_Box_Order_Downloads::save`, but it's a lot easier to check for 0 epoch.
2015-04-01 01:04:22 +02:00
Nicola Mustone
b6991d869a
typo
2015-03-31 17:22:21 +02:00
Mike Jolley
06f2ac2f09
[2.3] Remove rounding from shipping cost to greater precision with taxes
2015-03-31 13:59:17 +01:00
Claudio Sanches
e196ab49f4
Merge pull request #7856 from kilbot/master
...
Use wc_stock_amount format function in REST API orders output
2015-03-31 09:58:00 -03:00
Mike Jolley
c410771de2
[2.3] Calculate taxes should save _line_tax_data
2015-03-31 13:21:10 +01:00
Mike Jolley
20850bc742
Fix last_month logic which breaks in feb
2015-03-31 13:13:16 +01:00
Mike Jolley
b603bde738
[2.3] Respect show_in_admin_all_list
2015-03-31 13:13:16 +01:00
Paul Kilmurray
c8d52c7c2d
Use wc_stock_amount format function
...
This allows the REST API to honour the `woocommerce_stock_amount` filter, eg: for decimal quantity values
2015-03-31 18:36:27 +08:00
Gabor Javorszky
e76749de03
Adds filter to download permissions results
...
The justification for this filter is that Subscriptions will be saving download permissions on the subscription itself, not the original order. This filter would allow us in the future to remove the entry for a file for the original order if the same file has a subscription associated with it.
2015-03-30 14:19:47 +02:00
Mike Jolley
36a916ff2f
Merge pull request #7772 from SiR-DanieL/patch-7
...
Added REST API version in system status
2015-03-30 10:34:27 +01:00
Mike Jolley
c6dae2b286
Merge pull request #7834 from SiR-DanieL/scrutinizer-issues
...
Small tweaks and style fixes
2015-03-30 10:33:27 +01:00
Nathaniel Schweinberg
7de9f02574
fixed variable typo
2015-03-28 09:28:31 -05:00
Nathaniel Schweinberg
9c9b494d0f
Check if product is object before adding to array. Prevents non-object fatal errors
2015-03-28 09:09:43 -05:00
Diego Zanella
d420fcca29
Merge remote-tracking branch 'upstream/master'
2015-03-27 18:09:58 +00:00
Diego Zanella
76a0ef1e9f
Improved handling of JOIN clauses
...
* Refactored report logic to allow developers to specify the type of JOIN to use when fetching report data. Ref https://github.com/woothemes/woocommerce/issues/7818 .
2015-03-27 17:02:14 +00:00
Nicola Mustone
95cdb0390f
fix related products error
2015-03-27 17:52:21 +01:00
Nicola Mustone
15ef65ea54
split WC_Customer constructor
2015-03-27 17:43:04 +01:00
Nicola Mustone
214a0b669f
splitted get_related for complexity
2015-03-27 17:28:26 +01:00
Nicola Mustone
dedd92d4e6
wrong comments
2015-03-27 17:11:25 +01:00
Nicola Mustone
1275346360
typo
2015-03-27 17:10:00 +01:00
Nicola Mustone
4867d635c0
fix save_template code
2015-03-27 16:59:25 +01:00
Nicola Mustone
0466fcb4e2
split process_admin_options for WC_Email
2015-03-27 16:51:30 +01:00
Mike Jolley
65bc9db763
Tweak get_coupon() method
...
Closes #7830
2015-03-27 15:36:53 +00:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00
Mike Jolley
f23f1bbd27
format values to prevent issues due to floats
...
Closes #7822
2015-03-27 15:15:00 +00:00
Mike Jolley
f55e7d6969
wc_customer_bought_product transient
...
Closes #7322
2015-03-27 13:17:54 +00:00
Mike Jolley
97c1a32aa7
Small improvement to #7322
2015-03-27 13:08:27 +00:00
Mike Jolley
7bbd0261d7
Show full category hierarchy in permalinks.
...
Closes #6158
2015-03-27 13:08:27 +00:00
James Koster
33a3940501
email input
2015-03-27 11:49:36 +00:00
Mike Jolley
23932dbfca
Default calculate_taxes to base
...
Closes #7765
2015-03-27 10:42:26 +00:00
Mike Jolley
9638d16d82
Define update file
2015-03-25 11:11:08 +00:00
Mike Jolley
db8fb5afbe
missing semicolon
2015-03-25 11:10:36 +00:00
Claudio Sanches
d08e099bfc
[API] List only approved comments in products reviews, closes #7809
2015-03-24 14:38:08 -03:00
Mike Jolley
ca934ba0d9
Add get methods for length, width, height and add filters
...
Closes #7617
2015-03-24 16:52:26 +00:00
Mike Jolley
557a304326
Merge branch 'coupon-calc'
2015-03-24 15:52:38 +00:00
Mike Jolley
aed8ae36cf
woocommerce_calc_discounts_sequentially option to keep backwards compatible
2015-03-24 15:51:53 +00:00
Mike Jolley
b35e7f7d4a
Cast product IDs to int when adding to cart
...
Closes #7245
2015-03-24 12:56:13 +00:00
Mike Jolley
5e538b88e7
Use undiscounted price for coupons
2015-03-24 12:55:28 +00:00
Mike Jolley
a49ac39519
Tweak note wording for clarity
...
Closes #7239
2015-03-24 11:27:33 +00:00
Mike Jolley
77e7de0ef7
Add note about #7555
...
Closes #7555
2015-03-24 10:28:53 +00:00
Claudio Sanches
931679bc82
Fixed the _wc_file_urls sanitization
2015-03-23 11:43:34 -03:00
Claudio Sanches
1600bcdae3
Fixed coding standards for #7793
2015-03-23 11:41:37 -03:00
Claudio Sanches
b3492c310d
Merge pull request #7793 from Nils-Fredrik/master
...
[API] Query products by SKU #7592
2015-03-23 11:39:32 -03:00
Mike Jolley
70bf6fc842
[2.3] prices_include_tax boolean fix
...
Closes #7788
2015-03-23 13:35:40 +00:00
Mike Jolley
a2353ca8ff
Merge pull request #7798 from nguyenvanduocit/master
...
Add $the_order to woocommerce_order_class filter
2015-03-23 13:13:41 +00:00
Mike Jolley
2726c270b8
Merge pull request #7785 from SiR-DanieL/refund-mail
...
Added customer order refunded email
2015-03-23 13:07:23 +00:00
Mike Jolley
ea910f7d4f
Merge branch 'wc-ajax-endpoint'
2015-03-23 12:53:53 +00:00
Nguyễn Văn Được
3b3c6754cb
Add $the_order to woocommerce_order_class filter
...
My be developer using another class to wrap the order. and in this case, the value of $classname allway is false. Send $the_order to filter is the solution.
2015-03-23 15:22:02 +07:00
nils-fredrik@maksimer.no
686c40919b
Fix for #7592
...
Added sku filter to the /products endpoint.
Will let you search for products by sku without using the
/products/sku/<sku> endpoint. Its now possible to search for product
skus with specialchars like / and -.
2015-03-21 18:53:00 +01:00
Nicola Mustone
00d8b11a3f
version 2.4.0
2015-03-20 17:55:50 +01:00
Nicola Mustone
f82f3572c4
again coding standards
2015-03-20 16:37:57 +01:00
Nicola Mustone
38afee0d12
conding standards
2015-03-20 16:37:16 +01:00
Nicola Mustone
c593e4ca50
added customer order refunded email
2015-03-20 16:31:31 +01:00
Mike Jolley
17fb3874e6
[2.3] Ensure coupon taxes are reset when calculating totals.
...
Fixes #7780
2015-03-20 15:03:50 +00:00
Mike Jolley
17ca08c020
add endpoints on install
2015-03-20 14:20:12 +00:00