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
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
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
Max Rice
0fd7e3376d
Hide webhook comments
...
Part of #5564
2014-07-30 16:23:41 -04:00
Max Rice
572becdcde
Introduce WC_Webhook class
...
Part of #5564
2014-07-30 16:23:22 -04:00
Max Rice
9536d98ade
Add webhooks REST API endpoint
...
Part of #5564
2014-07-30 16:22:58 -04:00
Max Rice
81297cf94d
Add shop_webhook custom post type
...
Part of #5564
2014-07-30 16:22:40 -04:00
Max Rice
64ddf83184
Add coupon description to REST API coupon response
2014-07-30 16:19:35 -04:00
thenbrent
2d47d6b43b
Improve display of multiword product attributes
...
Instead of displaying a variation's custom product attributes like this:
`name-with-dashes: attribute-with-dashes`
Display it like this:
`Name With Dashes: Attribute With Dashes`
2014-07-30 12:41:14 -07:00
claudiosmweb
a0bd72b9f3
Hide variation stock when manage stock is unchecked
...
closes #5935
@mikejolley
2014-07-30 15:32:06 -03:00
claudiosmweb
519de5be59
added alert about changing the product type that has variations
...
closes #5864
@mikejolley
2014-07-30 15:04:04 -03:00
Mike Jolley
b72d33f563
Move orderby logic out of template file
...
cc @jameskoster @claudiosmweb
2014-07-30 17:23:28 +01:00
Mike Jolley
cab8f8c9dd
Only show default ordering option when relevant
...
Closes #5893
2014-07-30 17:23:28 +01:00
Mike Jolley
0130caec2b
indentation
2014-07-30 17:07:35 +01:00
Mike Jolley
a5967ce4f9
Merge pull request #5869 from wilgert/patch-1
...
Update class-wc-coupon.php
2014-07-30 17:06:36 +01:00
Mike Jolley
61df5d5534
Check for array
...
Closes #5890
2014-07-30 17:05:31 +01:00
Mike Jolley
dab9a9be1f
Merge pull request #5788 from kilbot/patch-1
...
Add woocommerce_product_visibility_options filter
2014-07-30 17:03:13 +01:00
Mike Jolley
75a6be58b9
Merge pull request #5755 from doublesharp/patch-1
...
Corrected duplicated settings_page() content
2014-07-30 17:01:19 +01:00
Mike Jolley
80a33b83d7
Merge pull request #5838 from danielvonmitschke/master
...
adding default product visibility filter hook
2014-07-30 12:58:50 +01:00
Mike Jolley
ab5af6f930
Merge pull request #5827 from grey-rsi/master
...
class-wc-ajax.php
2014-07-30 12:20:42 +01:00
Mike Jolley
d41cf9552f
Merge pull request #5846 from corsonr/attributes_do_action
...
Add attributes do_action in products settings
2014-07-30 12:20:29 +01:00
Mike Jolley
4203ed77e3
Merge pull request #5842 from BFTrick/get-a-job
...
Adding an Employment Easter Egg
2014-07-30 12:19:11 +01:00
Mike Jolley
688b31395f
Merge pull request #5933 from barrykooij/bugfix/wc_processing_order_count
...
Use correct variable and correct property when counting processing order...
2014-07-30 12:16:41 +01:00
Mike Jolley
e7e9de4cbd
Merge pull request #5934 from barrykooij/bugfix/fix-order-metabox-notices
...
Fix notices, added isset() checks around $legacy_order
2014-07-30 12:16:28 +01:00
Mike Jolley
305c187015
Fix queries on shop page
2014-07-30 12:11:42 +01:00
Mike Jolley
368e6b9412
Round shipping quote totals to store DP setting
...
Fixes #5888
2014-07-30 11:04:01 +01:00
Mike Jolley
2cb66fe4b9
Prevent empty attributes in permalinks
...
Closes #5714
2014-07-30 10:22:15 +01:00
Barry Kooij
e49237c692
Added isset() checks around $legacy_order, var is only set if 'woocommerce_calc_taxes' option is 'yes'.
2014-07-30 11:13:09 +02:00
Barry Kooij
a9e3c3bbe4
Use correct variable and correct property when counting processing orders.
2014-07-30 10:39:37 +02:00
claudiosmweb
70541f85e7
fixed the woocommerce_order_item_needs_processing filter
2014-07-29 15:08:08 -03:00
claudiosmweb
1cce388e1e
added copy for support button, closes #5865
2014-07-29 12:06:58 -03:00
Mike Jolley
1b41eef5f6
Ensure add-to-cart is not present when redirecting after a deletion.
...
Fixes #5645
2014-07-29 15:25:43 +01:00
Mike Jolley
dd61317395
Merge pull request #5904 from maxrice/rest-api-remove-xml
...
Remove XML response from v2 REST API
2014-07-29 13:20:05 +01:00
Mike Jolley
98030c2cfc
Merge pull request #5907 from claudiosmweb/improve-db-queries-product-post-class
...
Replace wp_get_post_terms() for get_the_terms() in wc_product_post_class()
2014-07-29 13:19:54 +01:00
Mike Jolley
ae6dceeace
Merge pull request #5908 from maxrice/fix-issue-5423
...
Add item meta to REST API orders response
2014-07-29 13:19:38 +01:00
Mike Jolley
6a092ddd37
Merge pull request #5913 from maxrice/feature-issue-5806
...
Add product categories endpoint to REST API
2014-07-29 13:16:45 +01:00
Mike Jolley
be757abf61
Merge pull request #5916 from maxrice/feature-rest-api-order-notes
...
Improve order notes endpoint
2014-07-29 13:16:38 +01:00
Mike Jolley
2201a93981
Merge pull request #5914 from maxrice/feature-issue-5720
...
Add orderby filtering to REST API resource endpoints
2014-07-29 13:15:53 +01:00
Mike Jolley
c465c7235d
Merge branch 'credit-notes'
...
Conflicts:
includes/abstracts/abstract-wc-order.php
includes/class-wc-order-factory.php
includes/class-wc-post-types.php
includes/wc-formatting-functions.php
includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Max Rice
76be03010c
Improve order notes endpoint
...
This commit improves the order notes endpoint with full read/write
capabilities:
* GET /orders/#{order_id}/notes - get all notes for an order
* GET /orders/#{order_id}/notes/#{id} - get single order note
* POST /orders/#{order_id}/notes - create an order note
* PUT /orders/#{order_id}/notes/#{id} - edit an order note
* DELETE /orders/#{order_id}/notes/#{id} - delete an order note
2014-07-28 23:39:07 -04:00
Max Rice
47ccd78b21
Allow using meta_value_num with resource orderby
...
Part of #5720
2014-07-28 19:49:56 -04:00
Max Rice
bb651761d0
Add orderby filtering to REST API resource endpoints
...
Adds orderby filtering to all endpoints using default WP orderby
parameters.
Closes #5720
2014-07-28 19:40:28 -04:00
Max Rice
323bcbf848
Add order (desc/asc) to REST API customers endpoint
...
Part of #5720
2014-07-28 19:38:21 -04:00
Max Rice
7f3b67272a
Adhere to WP code standards
2014-07-28 19:34:41 -04:00
Max Rice
80368dc105
Add product categories endpoint to REST API
...
This commit adds two new endpoints:
* GET /products/categories - returns a list product categories
* GET /products/category/#{id} - returns the product category for #{id}
Closes #5806
2014-07-28 19:01:50 -04:00
Max Rice
7d597a36d0
Add item meta to REST API orders response
...
Fixes #5423
2014-07-28 13:33:03 -04:00
Max Rice
28449cfab2
Add WC_Order_Item_Meta::get_formatted()
...
This commit adds a helper method for plugins (and core) to use for
getting formatted item meta in an array, rather than a flattened string.
Part of #5423
2014-07-28 13:32:38 -04:00
claudiosmweb
cb1ca6e341
replaced wp_get_post_terms() for get_the_terms() in wc_product_post_class(), closes #5905
2014-07-28 14:05:36 -03:00
Max Rice
8ff7202c5c
Remove XML response from v2 REST API
2014-07-28 12:16:34 -04:00
Max Rice
2ea771be1f
Fix SQL error in v1 customers response
2014-07-28 12:16:04 -04:00
Mike Jolley
8a6831f33b
Hide tax columns for legacy orders
...
@claudiosmweb
2014-07-28 17:08:11 +01:00
Bryce
1ffa2dd867
Updated to employ WordPress coding standards
2014-07-28 22:16:35 +07:00
Bryce
16fad7469b
Admin Views HTML Headers, Stop Direct Access
...
Also a couple small formatting improvements
2014-07-28 21:50:11 +07:00
claudiosmweb
7c141fcd41
prevented some errors when the order has no taxes
2014-07-28 10:59:55 -03:00
claudiosmweb
fda7a5565c
removed extra td element in refunds
2014-07-28 10:40:08 -03:00
Mike Jolley
42ac0c0368
Fix refund table alignment
2014-07-28 11:45:16 +01:00
Mike Jolley
bf86072cce
Interface tweaks
...
#3164
2014-07-28 11:41:52 +01:00
Mike Jolley
cdc0efed75
Merge pull request #5843 from maxrice/feature-orders-endpoint-issue-4160
...
Create/Edit/Delete orders via the REST API
2014-07-28 09:18:49 +01:00
Mike Jolley
708861421a
Merge pull request #5839 from maxrice/api-versioning
...
Update REST API version to v2
2014-07-28 09:18:41 +01:00
Max Rice
698f6499f6
Add REST API create/edit order actions & filters
...
Part of #4160
2014-07-27 23:58:01 -04:00
Max Rice
5be324a543
Add edit order REST API method
...
Part of #4160
2014-07-27 23:36:32 -04:00
Max Rice
315787e3d6
Refactor create order method
...
* handle errors through WC_API_Exception
* abstract order item creation
Part of #4160
2014-07-27 23:35:50 -04:00
Max Rice
d919ed9d64
Tweak REST API order response
...
* se WC_Order::get_order_currency() for currency
* use new WC_Order::get_subtotal() for subtotal
* add order item ID and rate ID to tax lines
Part of #4160
2014-07-27 23:33:35 -04:00
Max Rice
f656d57282
Add WC_Order::get_order_subtotal()
...
Convenience method to return the order subtotal
Part of #4160
2014-07-27 23:31:26 -04:00
Max Rice
3cc9952fea
Include order item ID and rate ID in WC_Order::get_tax_totals()
...
Part of #4160
2014-07-27 23:31:02 -04:00
Max Rice
f4feefc100
Fix WC_Order::get_user()
2014-07-27 23:30:21 -04:00
Max Rice
e47ac33eb1
Add calculate_shipping() method to WC_Abstract_order
...
When the update_shipping() method is used, the order shipping amount is
not properly calculated unless the shipping costs are summed.
Part of #4160
2014-07-27 23:29:40 -04:00
Max Rice
1598d1b539
Add update methods to WC_Abstract_Order
...
These methods compliment the existing add_*() methods and provide a
consistent interface to add and update items for the order.
Part of #4160
2014-07-27 23:28:25 -04:00
Max Rice
cca54879fa
Fix misc docblocks
2014-07-27 23:23:59 -04:00
Max Rice
b192bd46f8
Add wc_update_order_item() function
2014-07-27 23:21:16 -04:00
Max Rice
c9342d6344
Add WC_API_Exception class
...
Part of #4160
2014-07-27 23:20:48 -04:00
claudiosmweb
acaee93236
fixed refunds cancel button action
2014-07-25 13:32:16 -03:00
Mike Jolley
5e663a7fa8
Show refunded line items inline
2014-07-25 16:48:19 +01:00
Mike Jolley
f4e7211d3a
Fix top seller on dashboard
2014-07-25 15:48:37 +01:00
Mike Jolley
a9e30766d6
fix dashboard total
2014-07-25 15:47:51 +01:00
Mike Jolley
029bbbec39
Updated reports
2014-07-25 15:46:19 +01:00
Mike Jolley
710a570525
Coded in Restore stock option
2014-07-25 11:29:24 +01:00
Mike Jolley
a7eaefc374
Change button label for calc taxes
2014-07-25 10:48:47 +01:00
claudiosmweb
ca2dfdd7c1
synchronized the trash and delete actions between orders and refunds #3164
2014-07-24 18:39:59 -03:00
claudiosmweb
e634efa958
fixed tax calc when exists tax columns
2014-07-24 18:09:13 -03:00
claudiosmweb
2d61126502
added add_shipping and add_fee ajax actions
2014-07-24 17:55:25 -03:00
claudiosmweb
93b464cb29
improved the add_order_tax ajax method
2014-07-24 17:37:02 -03:00
claudiosmweb
5b3f69de0a
fixed the "calculate tax" action #3164
2014-07-24 17:33:26 -03:00
Mike Jolley
00af832203
Sales by product report
2014-07-24 17:11:25 +01:00
claudiosmweb
7328212c03
fixed the get refunds method
2014-07-24 12:09:03 -03:00
Mike Jolley
a10204894d
Clear transients after refunding
2014-07-24 16:03:52 +01:00
Mike Jolley
873f36ca5c
Pass order_types to reporting query functions
2014-07-24 15:55:06 +01:00
Mike Jolley
19b6922044
Refund line items and taxes
2014-07-24 15:34:14 +01:00
Mike Jolley
e38dcf79bb
Show refund boxes on click
2014-07-24 10:56:32 +01:00
Mike Jolley
0b231f2e03
Calc refund amounts and total via javascript
2014-07-24 10:53:29 +01:00
Mike Jolley
1ecfc59dfe
Remove refund qty column
2014-07-24 10:22:04 +01:00
Mike Jolley
e9b3d67ab7
Coupon template not needed
2014-07-24 10:21:57 +01:00
Mike Jolley
13f4f889a4
woocommerce_admin_order_item_values + refund fields
2014-07-24 10:21:47 +01:00
claudiosmweb
a46ef1fced
improved the shipping order items
2014-07-23 19:30:55 -03:00
claudiosmweb
a3d0d5903e
removed a test
2014-07-23 19:28:57 -03:00
claudiosmweb
26e50b7caf
fixed post_type in reports
2014-07-23 14:17:01 -03:00
claudiosmweb
23628ad430
fixed undefined offset in wc_create_refund()
2014-07-23 13:56:43 -03:00
Mike Jolley
11835826de
A start on negative line items
...
@claudiosmweb
2014-07-23 17:41:35 +01:00
Mike Jolley
3aa9475e39
Coupon code display
2014-07-23 11:47:02 +01:00
Mike Jolley
134f31abb9
Taxes were stored backwards
...
cc @claudiosmweb
2014-07-23 11:37:02 +01:00
Mike Jolley
4a306beef5
Max 100 taxes displayed, but show text input
2014-07-23 11:30:06 +01:00
claudiosmweb
ae1881de06
fixed the line item quantity calcule #3164
2014-07-22 18:08:24 -03:00
claudiosmweb
8edbd8fed5
fixed undefined variable $can_be_edited when add new line items via ajax
2014-07-22 17:33:49 -03:00
claudiosmweb
b56b60f191
stopped order editing when the status is not equal to pending or on-hold #3164
2014-07-22 16:25:37 -03:00
Mike Jolley
ab36ec12d5
Merge pull request #5822 from helgatheviking/fix/add-to-cart
...
add_to_cart() return $cart_item_key
2014-07-22 18:32:55 +01:00
Kathy Darling
7e0121a0d9
update docblock for add_to_cart() method
2014-07-22 12:25:12 -04:00
Mike Jolley
388e2eec49
removed display block
2014-07-22 16:46:28 +01:00
Mike Jolley
249f18f70d
Merge branch 'credit-notes' of https://github.com/woothemes/woocommerce into credit-notes
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
2014-07-22 16:44:23 +01:00
Mike Jolley
3e4506c376
Clean up total/subtotal display
2014-07-22 16:44:02 +01:00
claudiosmweb
7b5b1fc845
prevented that exist duplicate tax rate columns #3164
2014-07-22 12:42:17 -03:00
claudiosmweb
954a5ddc23
only show refund via button when gateway supports refunds #3164
2014-07-22 12:13:35 -03:00
Mike Jolley
01950bebdc
Add confirmation before deleting tax column #3164
2014-07-22 15:26:18 +01:00
Mike Jolley
559ff43c42
Shipping should be displayed before fees
2014-07-22 14:42:12 +01:00
Mike Jolley
414bc4e314
Dashes when there is no tax
2014-07-22 14:42:04 +01:00
Mike Jolley
b032c857ee
Fix delete of shipping and fee line items. Remove checkbox for refunds.
2014-07-22 14:38:07 +01:00
Mike Jolley
93155c9e11
Do not use before init.
...
#3164
2014-07-22 14:30:42 +01:00
Mike Jolley
550db70d77
Line item icons
2014-07-22 14:27:47 +01:00
Mike Jolley
6e0a880699
Group line items by type
2014-07-22 14:18:11 +01:00
Mike Jolley
c65cd44aef
Fix input styling
2014-07-22 11:56:52 +01:00
Mike Jolley
0c5be5f054
Moved add tax button, and tidied up tax column display
2014-07-22 11:54:59 +01:00
Mike Jolley
2155b30065
Merge pull request #5872 from Ninos/master
...
Add filter: wc_get_template
2014-07-22 10:48:12 +01:00
Mike Jolley
0f7f3ee66a
Merge pull request #5851 from BFTrick/abstract-settings-typos
...
Fixing Typos in Abstract Settings Class
2014-07-22 10:37:24 +01:00
Ninos Ego
7b24853afc
Add filter: wc_get_template
...
Allow 3rd party plugin filter template file from their plugin
2014-07-22 03:05:25 +02:00
wilgert
0b032ab469
Update class-wc-coupon.php
...
add middle statement to ternary operator has ommitting this is only supported since PHP 5.3 and WooCommerce requires >5.2.4
2014-07-21 15:59:20 +02:00
wilgert
6ccd084e52
Update class-wc-coupon.php
...
If you loaded custom coupon data using the `'woocommerce_get_shop_coupon_data'` filter. Only `$coupon->amount` was set. While the 'normal' coupons loaded from the database get both `$coupon->coupon_amount` and `$coupon->amount` set.
This change also adds `$coupon->coupon_amount` for in code generated coupons and allows functions using the `'woocommerce_get_shop_coupon_data'` filter to use either `amount` or `coupon_amount`.
2014-07-21 15:54:10 +02:00
claudiosmweb
ef445aa1d7
removed a test ¬¬
2014-07-21 00:00:18 -03:00
claudiosmweb
299c12bd57
fixed order get_total_refunded() method
2014-07-20 23:48:23 -03:00
claudiosmweb
d2340a5cef
fixed refund calcule
2014-07-20 23:26:40 -03:00
claudiosmweb
098919f469
removed some order totals old stuff
2014-07-20 22:59:42 -03:00
claudiosmweb
144d094ad2
created method for delete order tax
2014-07-20 22:57:23 -03:00
claudiosmweb
d875cfa1ac
created ajax method to add new taxes
2014-07-20 22:36:12 -03:00
claudiosmweb
3e287ff19c
fixed calculate total action
2014-07-20 21:12:39 -03:00
claudiosmweb
eed6ca4405
removed order totals meta box
2014-07-20 20:53:55 -03:00
claudiosmweb
2d7e1cc51a
added method to save all order taxes
2014-07-20 20:53:43 -03:00
claudiosmweb
5152457d9d
improved the saving the new tax data
2014-07-20 01:28:16 -03:00
claudiosmweb
2cfebdc6c5
save/update shipping taxes
2014-07-20 00:56:38 -03:00
claudiosmweb
3a28c56876
save and display shipping taxes in order items meta box
2014-07-20 00:32:52 -03:00
claudiosmweb
6176cb6b77
allow multiple taxes columns in order items
2014-07-20 00:21:33 -03:00
claudiosmweb
93cf3c88bd
initial implementation of order items taxes
2014-07-19 01:08:02 -03:00
claudiosmweb
50113fa531
fixed "Invalid argument supplied for foreach()" warning in line 127
2014-07-19 00:16:34 -03:00
claudiosmweb
794548e923
added tiptip for order totals
2014-07-18 20:27:10 -03:00
msdesign21
14f5524ffd
Please 'copy and paste' report
...
Updated description when you 'Get System Report' to specify customers should 'copy and paste' information.
2014-07-18 14:55:14 -06:00
claudiosmweb
e0aeacb734
added action to calculte the order total and edit discount and total
2014-07-18 17:24:34 -03:00
claudiosmweb
f3ef446678
improved the order totals display
2014-07-17 18:17:42 -03:00
claudiosmweb
d321395946
created new methods to save and load the order items in shop_order screen
2014-07-17 17:17:54 -03:00
claudiosmweb
2f4b98d330
fixed erros while add a new shipping order item
2014-07-17 15:48:37 -03:00
claudiosmweb
589aa9ddd4
fixed refund qty in order fee item
2014-07-17 15:48:03 -03:00
claudiosmweb
501cc29bd9
hide the order totals when active the refunds panel
2014-07-16 23:08:59 -03:00
claudiosmweb
af235e08f6
moved refunds to order items
2014-07-16 17:12:33 -03:00
claudiosmweb
d7133035e1
added order items add shipping cost button
2014-07-16 15:41:18 -03:00
claudiosmweb
04e8fbcb5e
added new add products order items action
2014-07-16 15:11:48 -03:00
claudiosmweb
3ca145ac85
created backbone modal dialog
2014-07-15 19:56:07 -03:00
Patrick Rauland
e735fe45e0
fixing typos in abstract settings class
2014-07-15 16:41:28 -06:00
Remi Corson
c629c86d0c
add attributes do_action
2014-07-15 10:51:20 +02:00
claudiosmweb
29bb05f51c
fixed coupon class
2014-07-14 18:04:45 -03:00
claudiosmweb
0a71c4498d
moved the coupons to order items metabox
2014-07-14 17:04:23 -03:00
claudiosmweb
f0bf3e9e7e
moved the shipping save method to order items
2014-07-14 16:32:04 -03:00
claudiosmweb
7e17443be4
added new html-order-shipping.php to work in order items metabox
2014-07-14 16:22:01 -03:00
claudiosmweb
ef2bff285a
created new order totals display in order items
2014-07-14 15:23:56 -03:00
Patrick Rauland
568c0102ae
adding get_a_job method
2014-07-14 09:18:07 -06:00
Max Rice
95aab694e4
API: implement order creation
...
part of #4160
2014-07-12 21:44:49 -04:00
Max Rice
4661cd3acf
set a proper code for wp_error
2014-07-12 21:43:27 -04:00
Max Rice
13e2495390
API: implement order deletion
...
part of #4160
2014-07-12 18:09:21 -04:00
Max Rice
8c3df8f65f
update get_woocommerce_api_url() to handle multiple versions
2014-07-12 17:51:29 -04:00
Max Rice
a4cb198cb9
implement separate handlers for v1/v2 REST API requests
2014-07-12 17:51:08 -04:00
Max Rice
54c019dd62
re-add v1 API classes
2014-07-12 17:49:43 -04:00
daniel von mitschke
b991617ff7
adding default product visibility filter hook
...
Added a filter hook ‚woocommerce_product_visibility_default’ to set the
default visibility option on new products
2014-07-12 14:30:43 +02:00
claudiosmweb
c1b8878587
removed order_type taxonomy from wc_create_refund()
2014-07-11 15:39:20 -03:00
claudiosmweb
8c77382d95
removed old order_type taxonomy stuffs and fixed some code standards
2014-07-11 15:38:23 -03:00
claudiosmweb
cdadc18665
fixed an fatal error in admin dashboard
2014-07-11 15:03:34 -03:00
Mike Jolley
822d477f72
wc_price filters suggested in #5664
...
Closes #5664
2014-07-11 16:13:03 +01:00
Mike Jolley
0ed0a41a04
Merge pull request #5833 from CFXd/move-tfoot-after-tbody-multiple-occurences
...
Move TFOOT to after TBODY element throughout templates and classes
2014-07-11 15:44:33 +01:00
Mike Jolley
9e6caec3a2
set cookies on shutdown in case of redirect.
2014-07-11 15:40:18 +01:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
Mike Jolley
2545e55b73
wc_get_order_types and wc_register_order_type
...
Uses CPT rather than terms. #3164
2014-07-11 10:42:49 +01:00
Michael Silber
32bd50c379
Move TFOOT to after TBODY element throughout templates and classes
2014-07-10 21:50:51 -04:00
claudiosmweb
664c20a2ed
fixed order status change when save
2014-07-10 17:41:53 -03:00
Mike Jolley
eca4025f5e
Delete and display refunds
2014-07-10 16:39:10 +01:00
GreY
cb59771a2d
added do_action( 'woocommerce_after_product_ordering' ); to sync product translations menu_order value
2014-07-10 17:15:31 +03:00
Mike Jolley
6862829fce
Show total available
2014-07-10 14:52:36 +01:00
Mike Jolley
280b884c28
Create refunds and process via gateway
2014-07-10 14:49:04 +01:00
Mike Jolley
d88279fe53
Start on ajax handlers
2014-07-10 13:33:05 +01:00
Mike Jolley
0e418a2961
Helper for getting tax rate percent
2014-07-10 11:01:00 +01:00
Kathy Darling
5a88e77959
add_to_cart() return $cart_item_key
2014-07-09 16:33:40 -04:00
claudiosmweb
31a8483b4f
created method to get the total amount already refunded
2014-07-08 16:59:38 -03:00
claudiosmweb
87d8cd1c95
set order_type for refunds
2014-07-08 16:41:07 -03:00
claudiosmweb
7d340abd6d
fixed the get_refunds() method in WC_Order class
2014-07-08 16:41:03 -03:00
claudiosmweb
235deeacfe
created get_refunds() method for WC_Order class
2014-07-08 15:23:22 -03:00
claudiosmweb
03d9ab0c81
created initial methods for WC_Order_Refund class
2014-07-08 15:22:58 -03:00
claudiosmweb
9d4ef6fd9b
add refund term in order_type when install
2014-07-08 14:27:46 -03:00
claudiosmweb
7e36d05c75
created order_type taxonomy
2014-07-08 14:23:11 -03:00
Claudio Sanches
9701cfe2a7
Revert "order_type taxonomy and register_order_type() function"
2014-07-08 14:10:37 -03:00
Mike Jolley
cc5b722a22
Merge pull request #5804 from claudiosmweb/feature-register-order-type
...
order_type taxonomy and register_order_type() function
2014-07-08 15:49:28 +01:00
claudiosmweb
73a273caf8
removed order_type hidden input in order actions meta box
2014-07-08 11:46:39 -03:00
claudiosmweb
840def82e7
fixed tax default value
2014-07-08 11:44:12 -03:00
Mike Jolley
2e59b1c9ce
Merge pull request #5793 from maxrice/fix-disappearing-checkout-notices
...
Only print checkout notices when not reloading the checkout
2014-07-08 15:35:49 +01:00
Mike Jolley
58d17216c1
Merge pull request #5791 from EmilEriksen/master
...
pass to get_subtotal_to_display(). Fixes #5790
2014-07-08 15:34:28 +01:00
claudiosmweb
1ba7788991
fixed refund tax
2014-07-08 11:34:09 -03:00
claudiosmweb
09cb28a7bb
created initial refund class and function
2014-07-08 11:32:47 -03:00
Mike Jolley
2826da47f6
Merge pull request #5801 from coenjacobs/check-right-order-status
...
Correct order status for checking downloads
2014-07-08 15:28:55 +01:00
Mike Jolley
2282d76efb
More UI / Split up meta box scripts
2014-07-08 14:14:29 +01:00
Coen Jacobs
f427ebaf7c
Updated Turkish Lira symbol
2014-07-08 14:34:42 +02:00
Mike Jolley
5c0ea16a39
More refund UI -show qty boxes and totals
2014-07-08 10:51:10 +01:00
claudiosmweb
16953e96f8
save the order type when create a order with wc_create_order()
2014-07-07 17:23:43 -03:00
claudiosmweb
90110f300f
added order_type when save the order data
2014-07-07 17:11:40 -03:00
claudiosmweb
72aae0e69d
created order_type taxonomy and register_order_type() function
2014-07-07 16:19:51 -03:00
Mike Jolley
fdccaa21d3
Rough, non-functioning example of the UI for refund total and add items in the order items panel
...
#3164
2014-07-07 16:45:08 +01:00
Coen Jacobs
93bd5a04df
Correct order status for checking downloads
2014-07-07 13:30:07 +02:00
Mike Jolley
5b6c574664
Use get_transaction_id
2014-07-07 11:44:35 +01:00
Mike Jolley
f6b78be21c
Prevent notices in factory
2014-07-07 11:44:27 +01:00
Mike Jolley
8a1d7707ac
PayPal implementation of Process_refund()
...
#3164
2014-07-07 11:44:15 +01:00
Mike Jolley
664dad3766
Process_refund()
...
#3164
2014-07-07 11:43:27 +01:00
Mike Jolley
979f2c0b48
Get transaction ID method
2014-07-07 11:43:06 +01:00
Max Rice
10046cb8a1
Only print checkout notices when not reloading the checkout
...
Any notices that are added during checkout are immediately lost when
the checkout is forced to reload. This commit fixes that by only
printing the notices if the checkout is not being reloaded, otherwise
they’re printed on the page reload and properly displayed to the user.
2014-07-04 17:22:58 -04:00
EmilEriksen
2f3793e49b
pass to get_subtotal_to_display(). Fixes #5790
2014-07-04 20:29:17 +02:00
Mike Jolley
72396bf987
Add an order action to 'create credit note'
2014-07-04 15:20:29 +01:00
Mike Jolley
0b05f10995
Merge pull request #5787 from splashingpixels/bacs-html
...
moved h3 bank account title out of UL element for correctness
2014-07-04 11:04:14 +01:00
Mike Jolley
170399e5c3
Filter is_valid_for_product even when not relevant.
...
#5681
2014-07-04 11:03:12 +01:00
Paul Kilmurray
8c2f7a1388
Add woocommerce_product_visibility_options filter
...
Matches filter used in class-wc-admin-post-types.php
2014-07-04 14:42:14 +08:00
splashingpixels
63371ac520
moved h3 bank account title out of UL element for correctness
2014-07-03 11:54:36 -07:00
Mike Jolley
abe0d0004a
Merge pull request #5678 from coenjacobs/order-factory-refactor
...
Order factory refactor implementation (take two)
2014-07-03 15:14:43 +01:00
Mike Jolley
a4346d9c90
Fix shop page when using verbose page rules
...
cc @claudiosmweb
2014-07-03 15:14:00 +01:00
Mike Jolley
5946e3fd7c
$key should be $transient_name
...
#5777
2014-07-03 13:02:19 +01:00