Commit Graph

8830 Commits

Author SHA1 Message Date
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 5d2833bc33 Merge pull request #5931 from splashingpixels/rich-snippets
corrected currency rich snippets for price
2014-07-30 12:17:21 +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 39469b89d7 Fix pagination when add-to-cart is in the URL
Fixes #5857
2014-07-30 10:35:52 +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
splashingpixels 3b0d55dbf7 corrected currency rich snippets for price 2014-07-29 22:01:46 -07:00
Claudio Sanches a45ff0b6de Merge pull request #5927 from claudiosmweb/fix-need-processing-filter
fixed the woocommerce_order_item_needs_processing filter, closes #5877
2014-07-29 15:08:41 -03:00
claudiosmweb 70541f85e7 fixed the woocommerce_order_item_needs_processing filter 2014-07-29 15:08:08 -03:00
Claudio Sanches 678b43be42 Merge pull request #5924 from claudiosmweb/fix-variable-bulk-edit
fix numbers in variation bulk edit
2014-07-29 14:29:12 -03:00
claudiosmweb d12bce4fce fixed variation bulk edit, closes #5847 2014-07-29 14:28:22 -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
southan 2ad57033f6 Update to fix #5911
Missed get_term_by calls with slug, reverted to wc_get_product_terms (get_the_terms, whilst great for performance, bypasses all the special sorting implemented by the former).
2014-07-29 15:02:18 +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 caff9658b9 Merge pull request #5911 from claudiosmweb/improve-breadcrumbs
Improve product_cat queries in breadcrumbs
2014-07-29 13:19:08 +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 df824f653d Readme update 2014-07-29 13:14:27 +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
claudiosmweb 53494ff91c improved the product_cat query in product single page 2014-07-28 17:57:11 -03:00
claudiosmweb 0b559b3997 improved the product_cat query in breadcrumbs, closes #5906 2014-07-28 17:44:54 -03: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 601789bf15 Merge pull request #5903 from bryceadams/master
Admin Views HTML Headers, Stop Direct Access & Formatting
2014-07-28 17:11:57 +01: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