Commit Graph

2235 Commits

Author SHA1 Message Date
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
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
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
Coen Jacobs f427ebaf7c Updated Turkish Lira symbol 2014-07-08 14:34:42 +02: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
Coen Jacobs 93bd5a04df Correct order status for checking downloads 2014-07-07 13:30:07 +02: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 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
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 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
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
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 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
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
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 5e1bc4aeb1 Tweak get_availability 2014-06-27 14:46:39 +01:00
Mike Jolley a9262cbaf2 Merge pull request #5555 from toddlahman/master
Confirm buffer is not empty before erasing
2014-06-27 14:21:51 +01:00
claudiosmweb dfb1aeeb7b fixed some coding standards in includes/admin/meta-boxes/class-wc-meta-box-product-data.php 2014-06-27 10:08:39 -03:00