Claudio Sanches
8ff08e70af
Fixed the WC_Abstract_Order::get_user_id() return type and fixed the orders customer_id
2015-01-26 14:41:19 -02:00
Claudio Sanches
4774646a0e
[API] Removed cart_discount, we have now only total_discount
2015-01-26 14:24:59 -02:00
Mike Jolley
0f5c6c4219
Add error handler/debug info in checkout ajax #7176
2015-01-26 14:24:03 +00:00
Mike Jolley
54e025939b
Use get_post_status to avoid out of date order data.
...
Partly related to #7208
2015-01-26 13:07:29 +00:00
Mike Jolley
7e1ca1d3a3
Option to choose EITHER PDT or IPN
...
Closes #7208
2015-01-26 12:58:33 +00:00
Mike Jolley
0b252d03f4
Added conditional to unset session itself
...
Closes #7182
2015-01-26 11:42:24 +00:00
Mike Jolley
2a95402d22
Merge pull request #7201 from thenbrent/fix_wc_product__isset
...
[2.3] Do not set WC_Product property when calling __get()
2015-01-26 11:38:21 +00:00
Jason Conroy
eae7bde755
Allow devs to filter is_checkout()
...
This is useful for extensions like WooCommerce One Page Checkout where the "checkout" may not be the default one used by WooCommerce core.
2015-01-24 21:35:35 +11:00
Brent Shepherd
95d87e28d6
Do not set property when calling __get()
...
SHA: 100b95a
tweaked the `__get()` magic method in `WC_Product` to:
* only call `get_post_meta()` once; and
* set `$this->$key` to save the overhead of calling `__get()` every
time that property needs to be accessed.
However, in the process, it also set an empty value (`''`) - the default
return value of `get_post_meta()` for every single value accessed on
the product object, meaning that any calls to `isset()` after attempting
to get that value would return `true`, even if `metadata_exists()` for
that property would return false (and no value is set in memory).
2015-01-23 15:01:10 -08:00
Claudio Sanches
177bcbe7d5
Removed unused code
2015-01-23 16:34:43 -02:00
Claudio Sanches
04c584ccf6
Added properties docs for abstract product class
2015-01-23 15:51:33 -02:00
Claudio Sanches
560d7d24ee
Fixed the tracking opt-out
2015-01-23 15:20:09 -02:00
Mike Jolley
e52611bbc3
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
Conflicts:
includes/class-wc-tracker.php
2015-01-23 16:38:44 +00:00
Mike Jolley
5ffaf97397
Only load tracking during cron and move notices to notices class
2015-01-23 16:36:52 +00:00
Claudio Sanches
a1462ccf26
Merge pull request #7198 from splashingpixels/theme-support-notice
...
fixed theme-support notice closes #7196
2015-01-23 14:32:51 -02:00
Claudio Sanches
71558c449f
Improved the WC_Tracker::get_theme_info() version compare
2015-01-23 14:29:10 -02:00
Claudio Sanches
b1c5e19d56
Improved the system status report script
2015-01-23 14:19:06 -02:00
splashingpixels
6c61bf8c4c
fixed theme-support notice closes #7196
2015-01-23 08:15:31 -08:00
Mike Jolley
a9103ad01a
Opt-in tracking: move link out of localisation
2015-01-23 15:37:53 +00:00
Gerhard
d09df4fc0f
Merge branch '6711-opt-in-tracking'
2015-01-23 17:31:01 +02:00
Gerhard
8610ca6aef
Merge branch 'master' into 6711-opt-in-tracking
...
Conflicts:
includes/admin/class-wc-admin-status.php
2015-01-23 17:30:11 +02:00
Gerhard
afca781480
Add link to tracking doc.
2015-01-23 17:15:55 +02:00
Scrutinizer Auto-Fixer
19f660171e
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
Mike Jolley
7f2a943075
Docblocks
2015-01-23 14:35:17 +00:00
Mike Jolley
8db443799b
Remove void/access public docblocks
2015-01-23 14:01:00 +00:00
Mike Jolley
1163e2af0b
Leave session data alone before calculation #7182
2015-01-23 13:58:38 +00:00
Claudio Sanches
9f4e3ed409
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-23 11:49:00 -02:00
Claudio Sanches
f0c63b1fee
Restore all items from session, closes #7180
2015-01-23 11:48:49 -02:00
Mike Jolley
09ae877b96
defined check
2015-01-23 13:29:23 +00:00
Mike Jolley
2d707689d9
Add transient cache to webhooks Closes #7184
2015-01-23 13:28:30 +00:00
Mike Jolley
b289c9446c
WC_INSTALLING constant - don't create options for any gateways/shipping methods during install.
2015-01-23 13:05:38 +00:00
Claudio Sanches
517fe717dd
Fixed chmod
2015-01-23 10:59:41 -02:00
Claudio Sanches
da16c4ac29
Improved emogrifier emogrify()
2015-01-23 10:46:06 -02:00
Claudio Sanches
ea908283a3
Make emogrifier works with PHP 5.2, closes #7179
2015-01-23 10:41:15 -02:00
Mike Jolley
586025b17e
Ensure settings are installed for all sections and subsections
...
Fixes #7181
2015-01-23 12:36:22 +00:00
Mike Jolley
2584041700
wc_price enhancements
...
- Renamed some 2.3 methods for consistency
- Allow more args to be passed to wc_price to control output
- Filter wc_price args which Closes #7188
- wc_get_price_decimal_separator function
- wc_get_price_thousand_separator function
- wc_get_price_decimals function
2015-01-23 11:50:32 +00:00
Mike Jolley
186f223d92
Fix indents in #7174
2015-01-23 11:17:27 +00:00
Mike Jolley
69bf2afda9
Merge pull request #7174 from aelia-co/master
...
Added/altered product filters to make them work consistently
2015-01-23 11:16:27 +00:00
Mike Jolley
5695f514ed
get_session_data() check to see if user has session before getting option
...
Closes #7185
2015-01-23 11:14:30 +00:00
Mike Jolley
e8d47748ea
Session handler doc blocks
2015-01-23 11:14:30 +00:00
Gerhard
b4997a7da4
Update tracker notice message.
2015-01-23 12:27:19 +02:00
Gerhard
efb15ab1c4
Adjust user agent string
2015-01-23 09:15:16 +02:00
Gerhard
4e8b7327ca
Switch to https for encryption.
2015-01-23 09:13:07 +02:00
Claudio Sanches
eb68b1d688
[API] Fixed the products reviews ID type
2015-01-22 22:04:03 -02:00
Claudio Sanches
78fe840499
[API] Fixed the properties for save downloadable files in products endpoint #5942
2015-01-22 19:20:05 -02:00
Claudio Sanches
3561c63ec1
[API] Fixed the default_attributes name and prevent errors with the old param
2015-01-22 18:49:09 -02:00
Claudio Sanches
bfb5329a55
[API] Fixed the WC_API_Products::get_attribute_taxonomy_by_slug()
2015-01-22 18:38:39 -02:00
Claudio Sanches
ece4f00a71
[API] Prevent "PHP Notice: Trying to get property of non-object" errors
2015-01-22 17:22:21 -02:00
Diego Zanella
dbeeb6d7b5
Fixed bug in is_on_sale() method
2015-01-22 16:05:59 +00:00
Mike Jolley
6b39849be2
Functions: wc_price_decimal_separator, wc_price_thousand_separator with defaults.
...
Closes #7167
2015-01-22 16:05:47 +00:00
Claudio Sanches
1dafa5d3cd
[API] Fixed the download limit and expiry to accept empty string as unlimited/never value
2015-01-22 11:15:52 -02:00
Diego Zanella
04bf4fecd2
Added/altered product filters to make them work consistently
...
* WC_Product_Variable::get_variation_regular_price() now always calls the "woocommerce_get_variation_regular_price" filter (removed early exit).
* WC_Product_Variable::get_variation_sale_price() now always calls the "woocommerce_get_variation_sale_price" filter (removed early exit).
* WC_Product_Variable::is_on_sale() now calls the "woocommerce_product_is_on_sale" filter.
* WC_Product_Grouped::is_on_sale() now calls the "woocommerce_product_is_on_sale" filter.
2015-01-22 13:02:43 +00:00
James Koster
44fd8f69cf
child theme context. closes #7173
2015-01-22 10:36:15 +00:00
Claudio Sanches
bdf88d2323
[API] Allow edit the comment status in products endpoint using the reviews_allowed param
2015-01-21 21:09:08 -02:00
Claudio Sanches
ffbafbf652
Prevent errors in webhook log display
2015-01-21 14:25:33 -02:00
Mike Jolley
e3b360c138
Tweak to process_reset_password
2015-01-21 14:59:44 +00:00
Mike Jolley
204d1ae166
2 empties as PHP < 5.5 doens't like the join
2015-01-21 14:25:59 +00:00
Mike Jolley
064f2ebe17
Fix multiple product section in coupon section. Fixes #7170
2015-01-21 14:24:39 +00:00
Mike Jolley
10dac6fedd
process_lost_password/process_reset_password
2015-01-21 14:15:52 +00:00
Claudio Sanches
ec6039794a
[API] Fixed the datetime format for WC_API_Customers::get_customer_downloads()
2015-01-21 10:38:33 -02:00
Claudio Sanches
de4d70d16a
Fixed the product_id type in wc_get_customer_available_downloads()
2015-01-21 10:21:42 -02:00
Claudio Sanches
5a8ecf3947
Merge pull request #7168 from woothemes/utm-links
...
Storefront Notice Fixes
2015-01-21 09:10:20 -02:00
Mike Jolley
59b902b50d
Refactor menu_highlight
2015-01-21 11:06:55 +00:00
Gerhard
d2b6673eef
Add utm params to the storefront link
2015-01-21 07:33:22 +02:00
Gerhard
07d728f851
Link to storefront and not hightwind in theme search.
2015-01-21 07:25:01 +02:00
Claudio Sanches
4e2ae38233
[API] Fixed the expiry date when create a new coupon
2015-01-20 17:57:27 -02:00
Claudio Sanches
183d6ce62c
[API] Fixed create coupon attributes
2015-01-20 17:03:21 -02:00
Mike Jolley
51c6f7f670
Clean up process_registration()
2015-01-20 16:05:08 +00:00
Mike Jolley
2d8f021cc7
Optimise the admin notices class.
...
@claudiosmweb
2015-01-20 15:23:34 +00:00
Mike Jolley
91de767442
Product constructor setting post incorrectly
2015-01-20 14:00:30 +00:00
Mike Jolley
22f68af061
These should be arrays
2015-01-20 13:50:25 +00:00
Mike Jolley
5404006b29
MAP Url method
2015-01-20 13:31:02 +00:00
Mike Jolley
de4129f9b2
WP_POST docs
2015-01-20 13:20:22 +00:00
Mike Jolley
5ab35bf212
Protected variables
2015-01-20 13:01:19 +00:00
Mike Jolley
baea8f9ad4
Product class properties
2015-01-20 13:00:56 +00:00
Mike Jolley
803066d6a6
There is no content_type
2015-01-20 12:49:09 +00:00
Mike Jolley
b941636068
Deprecate unused and pointless get_billing_address() get_shipping_address() methods
...
@claudiosmweb
2015-01-20 12:39:21 +00:00
Mike Jolley
df66e0bcc8
Docblocks and code fixes in order class
2015-01-20 12:34:40 +00:00
Mike Jolley
2e624995b4
More magic properties and variable declarations in order class
2015-01-20 12:07:33 +00:00
Mike Jolley
2693e110c6
Correct @var syntax.
2015-01-20 11:35:59 +00:00
Mike Jolley
ea13b90340
Define magic properties for address data
2015-01-20 11:23:17 +00:00
Mike Jolley
c0bea39c95
Seeing if magic properties are recognised
2015-01-20 11:06:15 +00:00
Mike Jolley
562743e847
Another @var declaration
2015-01-20 10:52:08 +00:00
Mike Jolley
0e4026941b
Move $current_tab to where used
2015-01-20 10:41:26 +00:00
Mike Jolley
0e9bb50aae
Docblock experiments continued...
2015-01-20 10:29:54 +00:00
Mike Jolley
bc45f7755f
Testing to see if scruitinizer recognises docblock
2015-01-20 10:01:28 +00:00
Mike Jolley
8e9539b0c2
scrutinizer issues in sales-by-category report
2015-01-20 09:53:33 +00:00
Mike Jolley
a494bf84de
Check if already set before setting in WC_Session.
...
Prevents unintended dirty sessions. Fixes #6846
2015-01-20 09:46:57 +00:00
Mike Jolley
7f2a6b5e41
Fix pagination by preventing old query args from being re-added to the link
...
Fixes #7164
2015-01-20 09:43:56 +00:00
Mike Jolley
0b393b7e82
Add comment #7163
2015-01-20 09:43:56 +00:00
Mike Jolley
0539431dd9
Merge pull request #7165 from maxrice/tweak-avatar-comment-types
...
Support avatars for the `review` comment type
2015-01-20 08:45:06 +00:00
Max Rice
96bc2ff25e
Support avatars for the `review` comment type
2015-01-20 00:26:33 -05:00
Brent Shepherd
f9f3054c22
Restore $theorder
...
SHA: 74ba11c189
removed instantiation of `$theorder` global in `WC_Meta_Box_Order_Actions::output()`
as it was mistaken for unused code. However, some callbacks attached to hooks in that function may
actually rely on that global to determine if actions should be displayed for certain orders.
2015-01-19 17:12:26 -08:00
Claudio Sanches
ab3553a6fd
Select2 translatable, closes #7159
2015-01-19 17:31:22 -02:00
Claudio Sanches
18b55a429e
[API] Added price_num_decimals to the index, closes #7149
2015-01-19 16:09:44 -02:00
Mike Jolley
f75a5d3a83
Merge pull request #7153 from helgatheviking/fix/php-notice-on-parse-query
...
changes tax_query to false for downloadable and virtual product filters
2015-01-19 14:51:23 +00:00
Mike Jolley
3716329b16
Prevent error when user does not exist
2015-01-19 14:50:06 +00:00
Mike Jolley
0d64e3854d
Add tooltips for manual and auto refunds Closes #7117
2015-01-19 14:50:06 +00:00
Mike Jolley
a9301323b5
Merge pull request #7113 from grey-rsi/master
...
add filters in admin reports
2015-01-19 14:05:58 +00:00
Kathy Darling
631099d6b2
changes tax_query to false for downloadable and virtual product filters. fixes #7152
2015-01-19 14:39:59 +01:00
Claudio Sanches
505501912f
Fixed "PHP Notice: Undefined variable: metabox_class" error for non-taxonomy attributes
2015-01-19 11:38:47 -02:00
Claudio Sanches
07e6996bf1
[API] Fixed the default attributes saving
2015-01-19 11:33:33 -02:00
Mike Jolley
33e046a4d0
Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
...
Closes #7151
2015-01-19 13:19:44 +00:00
Claudio Sanches
847720fe68
[API] Fixed attributes save for variations in products endpoint
2015-01-19 11:11:30 -02:00
Claudio Sanches
b6925d49ef
[API] Fixed errors when the description and short_description is empty in products endpoint
2015-01-19 10:52:44 -02:00
Mike Jolley
20a2b2d079
API: Product Prices should use store precision settings.
...
Fixes #7149
2015-01-19 11:35:12 +00:00
Mike Jolley
3590bfb198
Standard tax class is empty. Fixes #7142
2015-01-19 11:30:30 +00:00
Mike Jolley
ee8b3f22c3
Return WP_USER from check_password_reset_key
...
Closes #7134
2015-01-19 10:53:33 +00:00
Mike Jolley
53f32416c5
Ensure product exists before is_visible check
...
Closes #7146
2015-01-19 10:43:43 +00:00
Mike Jolley
bbfe9f273b
Merge pull request #7148 from SiR-DanieL/patch-3
...
Clearer coupon option description
2015-01-19 10:05:41 +00:00
Nicola Mustone
47b0c4cb97
clearer coupon option description
2015-01-19 09:18:44 +01:00
Max Rice
2d974987dc
Check strings using hash_equals
...
time-constant string comparison to prevent timing attacks
2015-01-19 00:34:09 -05:00
Max Rice
512d77fb4c
code standards
2015-01-19 00:33:38 -05:00
Max Rice
1f62a53e0e
Add hash_equals() function
2015-01-19 00:11:41 -05:00
Claudio Sanches
b896c5063f
Stop erros when the user does not exist in wc_customer_bought_product() function, closes #7145
2015-01-19 00:25:32 -02:00
shivapoudel
16047b7808
Added Nepal(NP) country locale used by the checkout
2015-01-19 00:45:19 +05:45
shivapoudel
5ce1e1e8a6
Refactor WC_Countries Class
2015-01-19 00:44:17 +05:45
Mike Jolley
36841589cf
Merge pull request #7123 from splashingpixels/variation-price-issue
...
correctly display FREE if all prices are zero ref #6929
2015-01-16 16:14:02 +00:00
splashingpixels
eee5d16844
changed comparison type to non strict in case a string is passed
2015-01-16 06:52:49 -08:00
Claudio Sanches
bd468b7ac1
Fixed a typo
2015-01-16 10:47:29 -02:00
Claudio Sanches
7062bbcd1a
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-16 10:32:53 -02:00
Claudio Sanches
f39c76beaa
Created the wc_format_content() function, closes #7126
2015-01-16 10:32:41 -02:00
splashingpixels
187f6729e9
correctly display FREE if all prices are zero ref #6929
2015-01-15 20:19:33 -08:00
Brent Shepherd
ed0593fc4a
Set variable product virtual/downloadable property
...
Based on whether all children are virtual/downloadable.
Fixes #7072 .
2015-01-15 17:06:09 -08:00
Claudio Sanches
a82aa2bd13
Fixed refund amount when product dont have taxes
2015-01-15 16:57:33 -02:00
Claudio Sanches
b3d6f6358e
Fixed the selected attributes in product variations panel, closes #7115
2015-01-15 16:01:55 -02:00
Mike Jolley
5612d54058
Refactor attribute save code
2015-01-15 16:32:13 +00:00
Mike Jolley
5b7d03271e
Pass reference to extract
2015-01-15 16:32:13 +00:00
Mike Jolley
d37e6d424a
Set $loop = 0;
2015-01-15 16:32:13 +00:00
Mike Jolley
a52f94fb42
$order_taxes check
2015-01-15 15:19:19 +00:00
Mike Jolley
fef41c149c
@uses WP_POST
2015-01-15 15:03:12 +00:00
Mike Jolley
dc902ecfed
form_fields docblock
2015-01-15 15:03:12 +00:00
Claudio Sanches
eda9eb07d4
Fixed quick/bulk edit product weight placeholders
2015-01-15 11:47:20 -02:00
Sergey
cb3ede640d
remove do_action
2015-01-15 15:13:12 +02:00
Claudio Sanches
26ea24ae4c
Removed useless data-tip in webhooks save button
2015-01-15 09:44:29 -02:00
Claudio Sanches
eeea3f0146
Fixed a typo in webhooks table list
2015-01-15 09:35:13 -02:00
Claudio Sanches
6ed21bb0cc
Removed ilegal brackets from context/msgctxt
2015-01-15 09:22:32 -02:00
Mike Jolley
c8699f6f76
Don't fire deprecated notice during ajax events
...
Closes #7110
2015-01-15 10:47:19 +00:00
matttallan
5265e432b3
Change wc-api-order private methods to protected.
2015-01-15 11:28:07 +10:00
Claudio Sanches
b174d7c179
Stopped error when users use the woocommerce_enqueue_styles filter in the wrong way #7104
2015-01-14 12:32:34 -02:00
Claudio Sanches
8928029ecb
Updated the docblocks in class-wc-cart.php
2015-01-14 10:40:35 -02:00
Claudio Sanches
0b4074cf22
Merge pull request #7103 from woothemes/cart-undo
...
Cart undo
2015-01-14 10:38:31 -02:00
Mike Jolley
298ddb19ad
Save removed items to session
2015-01-14 12:36:03 +00:00
Claudio Sanches
11150a54c5
Fixed a typo
2015-01-14 10:24:01 -02:00
Claudio Sanches
b232e99034
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-14 10:17:22 -02:00
Mike Jolley
e1c54687ac
Minor issues with variables
2015-01-14 12:17:19 +00:00
Claudio Sanches
6b8ce0c3fd
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-14 10:17:10 -02:00
Mike Jolley
206a650488
Tidy variation output
2015-01-14 12:17:09 +00:00
Claudio Sanches
ebf5763fd6
Added message about WooCommerce Colors plugin, closes #7099
2015-01-14 10:17:03 -02:00
Mike Jolley
8d8e57cbf5
Use @var to define vars passed in
2015-01-14 11:46:03 +00:00
Mike Jolley
32f2a44091
define @global
2015-01-14 11:32:00 +00:00
Mike Jolley
d70912c891
Define: $net_order_amounts
2015-01-14 11:28:00 +00:00
Mike Jolley
fcebc3b781
Missing Brackets in cart class
2015-01-14 11:16:21 +00:00
Claudio Sanches
9c52a70597
Fixed webhooks status description
2015-01-13 22:09:54 -02:00
Claudio Sanches
8e417f7c0f
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-13 17:55:55 -02:00
Claudio Sanches
b55ecea6ba
Used wp_unslash() instead of stripslashes_deep()
...
The WordPress documentation recommends:
"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
MindyPostoff
72118fb28e
Update class-wc-email-customer-completed-order.php
2015-01-13 13:44:35 -05:00
Claudio Sanches
3ddcc68a19
includes/admin/meta-boxes/class-wc-meta-box-webhook-data.php
...
Removed old webhook file
2015-01-13 16:32:54 -02:00
Claudio Sanches
64f1f7f919
Fixed textdomains
2015-01-13 15:39:26 -02:00
Mike Jolley
04cb8c90c8
contributors
2015-01-13 16:16:01 +00:00
Mike Jolley
45b4364d90
Welcome page update Closes #7089
2015-01-13 16:12:54 +00:00
Mike Jolley
147258d5b8
Fix cart coupon on-sale checks for variations.
...
Closes #7078
2015-01-13 16:12:54 +00:00
Claudio Sanches
46769e89e2
Fixed doc comments for products api class
2015-01-13 13:44:30 -02:00
Claudio Sanches
22da603567
Simplify commerce hosted payments feature
2015-01-13 13:40:43 -02:00
Claudio Sanches
ecf7bd9f9a
[API] Show and use slug for attributes in products endpoint, closes #6537
2015-01-13 13:24:28 -02:00
Claudio Sanches
2d768f9553
Stop "Undefined variable: thepostid" error when add a new attribute
2015-01-13 13:09:43 -02:00
Sergey
b3e9b1e6d8
add do_action in wc_price function and filters in admin reports
2015-01-13 15:34:48 +02:00
Mike Jolley
4785684b92
Prices include tax require taxes enabled.
2015-01-13 12:54:31 +00:00
Mike Jolley
03043a7c02
Expiry date along with download details
...
Closes #7096
2015-01-13 12:29:37 +00:00
Mike Jolley
550e569a29
Tweak placement and styling of view link. #7065
2015-01-13 12:27:07 +00:00
Mike Jolley
9b8c23e2bd
Merge pull request #7065 from pagelines/master
...
Link to find all customers orders from order page.
2015-01-13 12:16:51 +00:00
Bryce
f3328ac601
Shows VN postcode field and moves before city
...
Closes #7094
2015-01-13 10:18:48 +07:00
Claudio Sanches
20470db763
Add select2 to State/Country user meta fields in admin profile #6359
2015-01-12 17:15:37 -02:00
Claudio Sanches
3cddfb44e9
Improved the woocommerce_api_query_args filter #7081
2015-01-12 16:46:30 -02:00
Claudio Sanches
695b04be61
Fixed conflits
2015-01-12 16:02:46 -02:00
Claudio Sanches
8e28c17c66
Merge pull request #7091 from woothemes/chosen-to-select2
...
Chosen to select2
2015-01-12 15:47:31 -02:00
Claudio Sanches
9a6dc0bf41
Added select2 for all settings fields
2015-01-12 15:45:47 -02:00
Mike Jolley
4769d27415
Added missing global $wpdb;
2015-01-12 17:18:17 +00:00
Claudio Sanches
017831f1c6
Fixed the backbone modal
2015-01-12 15:11:01 -02:00
Mike Jolley
2c32f6cdd0
Add functions to get money spent/order count for customers and fix in API Closes #7083
2015-01-12 17:09:46 +00:00
Mike Jolley
643892bd33
modify_user_query use 24 hour date format.
...
Closes #7082
2015-01-12 17:09:46 +00:00
Mike Jolley
2a5fdb0eac
Merge pull request #7086 from ChromeOrange/master
...
Update abstract-wc-order.php
2015-01-12 16:46:08 +00:00
Mike Jolley
8110a8376b
Upsells and cross sells select2
2015-01-12 16:39:49 +00:00
Mike Jolley
50c6e1e4a0
select2 settings
2015-01-12 16:29:01 +00:00
Mike Jolley
0fdd24c526
Select2 frontend
2015-01-12 16:16:13 +00:00
Claudio Sanches
4be3c9831e
Added the woocommerce_api_query_args filter, closes #7081
2015-01-12 13:59:27 -02:00
Claudio Sanches
60b23e6f6f
Merge branch 'chosen-to-select2' of github.com:woothemes/woocommerce into chosen-to-select2
2015-01-12 13:48:43 -02:00
Mike Jolley
9852d9c6ec
Order data JS select2 + refactor
2015-01-12 15:43:13 +00:00
Claudio Sanches
0376da2ea9
Added hosted payments support for pre-orders and subscriptions
2015-01-12 11:43:27 -02:00
Mike Jolley
2e82cbb311
Customer ajax searches
2015-01-12 13:04:19 +00:00
Andrew Benbow
fa8aeb605c
Update abstract-wc-order.php
2015-01-12 12:34:53 +00:00
Mike Jolley
1fa26f1f6e
Product searches select2
2015-01-12 11:56:44 +00:00
Claudio Sanches
b7eafa1c49
Added the new redirect-url param in the simplify commerce button
2015-01-12 09:53:19 -02:00
Nicola Mustone
f00cd875f1
Typo
2015-01-12 12:31:42 +01:00
Claudio Sanches
f3e5c03b38
Repositioned the "move to trash" and "save" buttons
2015-01-12 09:27:09 -02:00
Claudio Sanches
56c49daea8
Added empty trash action
2015-01-09 23:03:22 -02:00
Claudio Sanches
052380e191
Added webhooks search field
2015-01-09 22:41:33 -02:00
Claudio Sanches
9fa5ad756e
Fixed a typo
2015-01-09 22:25:04 -02:00
Claudio Sanches
572d451aa6
Created webhooks bulk actions
2015-01-09 22:08:45 -02:00
Claudio Sanches
c71869cd6e
Added method to create webhooks on settings page
2015-01-09 16:21:19 -02:00
Claudio Sanches
2626275782
Edit and deleted webhooks
2015-01-09 15:42:01 -02:00
Mike Jolley
4b7f97c1de
Attributes
2015-01-09 16:53:47 +00:00
Mike Jolley
5f5d8076d4
sales by cat select2
2015-01-09 16:43:35 +00:00
Mike Jolley
f18b2c6c93
Added and enqueued select2 to admin
2015-01-09 16:39:10 +00:00
pilyounghur
b97453b4a1
wc API - enable html tags for description
...
use API , enable html tags description and short_description
before : strip all tags , change : user selectable html tags.
2015-01-09 21:12:47 +09:00
Simon
42c570114c
Add some spaces.
2015-01-08 18:55:26 +00:00
Claudio Sanches
ba538ec36c
Disabled the shop_webhook show_ui option
2015-01-08 16:38:30 -02:00
Claudio Sanches
03193b867b
Creted new webhooks edit interface
2015-01-08 16:34:30 -02:00
Simon
4003acd1e6
Link to find all customers orders from order page.
...
Moved to master branch as instructed.
Added check to only display if valid customer.
Removed pointless ?><?php
2015-01-08 16:57:40 +00:00
Mike Jolley
64901d82e5
Clear order transients when trashing posts. Closes #7052
2015-01-08 15:48:01 +00:00
justinstern
072e722406
Support gateway objects in the $load_gateways array
...
Rather than requiring $load_gateways to be the string class names of the
payment gateways to load, support client code returning the actual
gateway instance from the 'woocommerce_payment_gateways' filter. This
affords much more fine grained control over how, when, and how often, a
payment gateway is instantiated
2015-01-07 21:11:24 -05:00
Claudio Sanches
3228fc0e67
Initial remove and restore cart methods
2015-01-07 16:52:17 -02:00
James Koster
9cf1a8e7e8
is_sold_individually() tweak. closes #7041
2015-01-07 10:03:49 +00:00
Hector Tolmo
6f4f289c7e
Update class-wc-countries.php
...
State = Region validate Chile line 667 and postcode null
2015-01-06 22:24:23 -03:00
Claudio Sanches
a4dcc9261e
Hide the old webhooks menu
2015-01-06 22:08:24 -02:00
Claudio Sanches
baca07f9d2
Added webhooks table list views
2015-01-06 22:02:33 -02:00
Claudio Sanches
22ac725ec1
Removed not useful global vars
2015-01-06 17:39:34 -02:00
Claudio Sanches
842d26bc24
Removed old webhook post type actions
2015-01-06 17:29:49 -02:00
Claudio Sanches
3c038e613f
Created initial webhooks table list in settings page
2015-01-06 17:24:32 -02:00
Mike Jolley
054d499636
Made checkout JS more modular
2015-01-06 17:49:22 +00:00
Mike Jolley
d663a7a72e
If using multisite, check user resetting password belongs to the current site
...
Closes #6725
2015-01-06 14:08:43 +00:00
Mike Jolley
06ab96f39e
Added net sales to sales by date report
...
Closes #7039
2015-01-06 13:27:44 +00:00
Mike Jolley
00238bc25b
has_notice should return bool
2015-01-06 11:29:40 +00:00
Mike Jolley
744b667ff5
Warnings if notice functions called too early Closes #7050
2015-01-06 11:11:13 +00:00
Mike Jolley
fb8f5fc750
Add notice when calling get_cart() before wp_loaded with fallback
...
#6873
2015-01-06 11:11:13 +00:00
Claudio Sanches
60694ff30d
Merge pull request #7051 from corsonr/report_status_docs_link
...
Add link to docs in status report
2015-01-06 09:08:47 -02:00
Mike Jolley
2fe06c6cb1
Merge branch 'upgrade-routine'
...
Closes #6918
2015-01-06 10:54:07 +00:00
Remi Corson
ecfb86a3f2
added link to docs in status report
2015-01-06 11:39:16 +01:00
Claudio Sanches
4f3326fe86
[API] Refactored the products endpoint to use the WC_API_Exception class #6138
2015-01-05 17:26:24 -02:00
Claudio Sanches
d71e135c27
[API] Refactored the webhooks endpoint to use the WC_API_Exception class #6138
2015-01-05 16:52:52 -02:00
Claudio Sanches
e14a5b0624
[API] Refactored the orders endpoint to use the WC_API_Exception class #6138
2015-01-05 16:40:38 -02:00
Claudio Sanches
a74efe61a9
[API] dont count coupons if the user dont have permissions
2015-01-05 16:40:27 -02:00
Claudio Sanches
678f5e67a0
[API] Refactored the customers endpoint to use the WC_API_Exception class #6138
2015-01-05 16:06:52 -02:00
Claudio Sanches
466158a0b9
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-05 15:42:37 -02:00
Claudio Sanches
a96815ced9
[API] Refactored the coupons endpoint to use the WC_API_Exception class #6138
2015-01-05 15:42:25 -02:00
Claudio Sanches
d880ee390b
Fixed some coding standards in orders api class
2015-01-05 15:41:14 -02:00
Mike Jolley
6e5ec55374
Option for get_european_union_countries() to return eu_vat countries
2015-01-05 17:29:01 +00:00
Mike Jolley
5c86e962e8
Hide restock checkbox until qty is input Closes #6937
2015-01-05 17:19:18 +00:00
Claudio Sanches
010e8ff763
Fixed the breadcrumbs class to works with attachments
2015-01-05 14:19:00 -02:00
Mike Jolley
ca29deead9
Error codes for create order function
...
Closes #6952
2015-01-05 15:45:11 +00:00
Claudio Sanches
d1f9cbfcf2
Merge pull request #6954 from SiR-DanieL/patch-2
...
Introduced woocommerce_get_product_attributes filter
2015-01-05 13:39:25 -02:00
Claudio Sanches
85d2e60767
Merge pull request #7042 from krautnerds/rest-fix-pagination-headers-customers
...
Rest 1.0/2.0 Customers - Fix missing output of pagination headers
2015-01-05 13:27:38 -02:00
Mike Jolley
d1fd2b3612
Fix zero-rated tax display and ensure tax_id is not empty when saving taxes
...
Closes #7040
2015-01-05 15:13:49 +00:00
Mike Jolley
1c696a10d3
Dev - Moved WC_Cart::get_cart_from_session() to a later hook (was init, now wp_loaded).
...
Closes #6873
2015-01-05 14:43:04 +00:00
Claudio Sanches
116e1130ae
[API] Fixed "Undefined index: limit" in customers endpoint
2015-01-05 12:36:50 -02:00
Claudio Sanches
1206e72504
Merge pull request #7012 from bhubbard/master
...
Added support for several Jetpack Features
2015-01-05 12:17:30 -02:00
Mike Jolley
cab9e14fcd
Use number format instead of round in get_item_subtotal()
...
Closes #6913
2015-01-05 11:42:10 +00:00
Mike Jolley
9299f3e0b2
Check remote_addr is set
2015-01-05 10:57:21 +00:00
Mike Jolley
f847b92a0f
Merge branch 'wc-geolocation'
2015-01-05 10:18:25 +00:00
Claudio Sanches
fc967d38f9
Merge pull request #7037 from maxrice/fix-issue-6910
...
Fix updating order paid status via REST API
2015-01-04 11:33:43 -02:00