Commit Graph

8398 Commits

Author SHA1 Message Date
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
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
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
Mike Jolley ee48dcd5fd Invalidate query transients to avoid cache flush
Part of #5777. These transients are required and cannot be predicted.

If not using an external cache system, the DB is cleared still to keep
size down after invalidation.

For these 2 transients, invalidation occurs when visibility altering
product attributes are edited.
2014-07-03 12:59:57 +01:00
Mike Jolley 3974c1028a Remove wp_cache_flush() Closes #5777
Carrying on from previous commits, the need for a wildcard delete for
products is unnecessary. This removes the $wpdb query and
wp_cache_flush()
2014-07-03 12:59:57 +01:00
Mike Jolley ad2c483370 No need to clear all transients here - only clear parent's cache
Part of #5777
2014-07-03 12:59:57 +01:00
Mike Jolley d1dbe4492e Clear comment transients only on wp_update_comment_count
Does not need to be flushed when editing a product. Part of #5777
2014-07-03 12:59:57 +01:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
Mike Jolley f8db5dff93 Merge pull request #5780 from afurculita/patch-1
Replace get_page with get_post
2014-07-03 12:19:05 +01:00
Alexandru Furculita 89718fb43b Replace get_page with get_post
get_page is deprecated since WP 3.5
2014-07-03 13:25:50 +03:00
Mike Jolley 0448165c02 woocommerce_coupon_is_valid_for_cart
Closes #5681
2014-07-02 15:03:48 +01:00
Mike Jolley 12cf9edd52 Edit account form hooks
Fixes #5676
Closes #5677
2014-07-02 14:48:23 +01:00
Mike Jolley 8b2c4a3cb3 Merge pull request #5770 from shoheitanaka/patch-5
Correct the order of Japanese address fields
2014-07-02 13:58:57 +01:00
Mike Jolley 529b471470 Merge pull request #5771 from helgatheviking/fix/order-add_product-meta
wc_add_order_item_meta() the _line_total doesn't use the correct total
2014-07-02 13:58:48 +01:00
Mike Jolley 101254a6a3 Have get_product_from_item only return variable product if it exists, and show on the order item row if the variation no longer exists.
Fixes #5536
2014-07-02 13:58:10 +01:00
Kathy Darling cf322e9625 wc_add_order_item_meta() the _line_total doesn't use the total 2014-07-01 10:48:30 -04:00
Mike Jolley e28b868000 2.1.12 readme 2014-07-01 14:35:06 +01:00
Mike Jolley f4cd30a2d5 Merge pull request #5769 from coenjacobs/repository-field-package-json
Added repository field to the package.json file
2014-07-01 09:15:12 +01:00
Mike Jolley 9dce04ce20 Merge pull request #5766 from claudiosmweb/improved-products-api
Improved the image upload and fixed the variable products in Products API
2014-07-01 09:14:57 +01:00
Shohei Tanaka 7c10c4442e Correct the order of Japanese address fields
The order was incorrect. Changing the order of the input address field.
2014-07-01 16:52:45 +09:00
Coen Jacobs 83cf09ae45 Added repository field to the package.json file
This is especially useful for the npm docs command (might use in the
future), but will also stop npm install from moaning about it...
2014-07-01 07:57:33 +02:00
claudiosmweb 49882740bb added the possibility to remove the product images by API 2014-06-30 18:02:31 -03:00
claudiosmweb 617b299d8f improved the image upload to get images by ID and save the _product_image_gallery 2014-06-30 17:58:27 -03:00
claudiosmweb d3a2307d18 improved the image upload 2014-06-30 17:31:25 -03:00
claudiosmweb 584af93aba fixed a variable override when create new variable productions 2014-06-30 16:36:13 -03:00
Mike Jolley d157277b6b Merge pull request #5758 from pmgarman/master
LESS Typos
2014-06-30 15:38:41 +01:00
Mike Jolley 3b6f7403bb Merge pull request #5760 from claudiosmweb/5670-fix-paypal-urls
Add urlencode() in return and cancel_return items in paypal params
2014-06-30 15:16:56 +01:00
Mike Jolley 137bf945ab Defer cart cookie being set 2014-06-30 15:14:32 +01:00
claudiosmweb db781a14ae added urlencode() in return and cancel_return items in paypal params, closes #5670 2014-06-30 10:51:52 -03:00
Mike Jolley 779613b062 Merge pull request #5660 from tamarazuk/upstream
Introduce 'woocommerce_get_order_item_totals_excl_free_fees' filter
2014-06-30 12:00:25 +01:00
Mike Jolley 33f40afbdb pre_get_posts is an action 2014-06-30 11:41:24 +01:00
Patrick Garman a880c6eb19 LESS Typos
:D
2014-06-29 02:04:49 -05:00
Mike Jolley 2d23172cb1 Merge pull request #5752 from claudiosmweb/feature-wc-check-for-unique-sku-function
Introduces the wc_product_has_unique_sku() function
2014-06-27 21:22:52 +01:00
Mike Jolley 13e2ffe955 Merge pull request #5754 from claudiosmweb/5753-feature-system-status-theme-support
Add theme support to system status page
2014-06-27 21:22:30 +01:00
claudiosmweb 2b1a99eca6 introduces the wc_get_core_supported_themes() function 2014-06-27 16:42:23 -03:00
claudiosmweb 04f9361de7 added woocommerce support information in system status page 2014-06-27 16:37:59 -03:00
claudiosmweb d3dc018ffc fixed the wc_product_has_unique_sku() function name 2014-06-27 16:03:25 -03:00
claudiosmweb 0a4b6387e6 introduces the wp_product_has_unique_sku() function 2014-06-27 15:59:24 -03:00
Mike Jolley 2cb7b939c8 Merge pull request #5733 from claudiosmweb/5732-fix-wp-comments-count
Remove order notes from wp_count_comments() function
2014-06-27 15:47:14 +01:00
Mike Jolley c1a4deef63 Merge pull request #5750 from claudiosmweb/5712-fix-variation-sku
Unique sku in variation level
2014-06-27 15:26:12 +01:00
Mike Jolley 6212e8b0da Updated pot files 2014-06-27 15:25:21 +01:00