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
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
Julian Acosta
902d8bbe5a
Added dependency of touch punch to wc-price-slider
2014-07-01 00:03:06 -05:00
Julian Acosta
8f3586fccb
Added touch support to price filter widget using jquery ui touch punch
2014-07-01 00:00:26 -05: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
doublesharp
605c1b25f0
Corrected duplicated settings_page() content
...
Replaced duplicated call to `array( $this, 'settings_page' )` with `null` to prevent the HTML from being printed to the admin settings twice.
2014-06-27 16:08:30 -07: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
toddlahman
f6c3f4d0b7
Remove diff code block from wc-customer
2014-06-27 05:56:27 -07:00
claudiosmweb
a5f8d4dd5c
guaranteed that variations have unique sku, closes #5712
2014-06-27 09:45:50 -03:00
Mike Jolley
c2475c2073
Merge pull request #5745 from claudiosmweb/4164-feature-products-api
...
Products API - PUT/POST/DELETE
2014-06-27 13:14:20 +01:00
Mike Jolley
cc1d1e2237
Included method to define a link format for a transaction ID, set transaction ID manually, and tweaked display.
2014-06-27 13:12:10 +01:00
toddlahman
bad8225442
Allow home_url() to determine the scheme
2014-06-27 03:41:03 -07:00
Mike Jolley
50a4c5bd23
Merge branch 'variation-stock-management'
...
Conflicts:
includes/class-wc-product-variation.php
2014-06-27 11:15:42 +01:00
claudiosmweb
e208770265
fixed some coding standards
2014-06-26 16:55:24 -03:00
claudiosmweb
84be699374
added new product API actions
2014-06-26 16:51:03 -03:00
claudiosmweb
fe53733be0
added method to save the variations in product API
2014-06-26 16:47:54 -03:00
toddlahman
7d78888f12
sync fork with master
2014-06-26 03:30:09 -07:00
claudiosmweb
bdd5f9d0f6
created API methods to save product categories and tags
2014-06-25 16:38:51 -03:00
claudiosmweb
2dffa85353
fixed the downloads method
2014-06-25 16:27:24 -03:00
claudiosmweb
dce4a4eed6
added all product options for save in WC_API_Products::save_product_meta() method
2014-06-25 16:20:28 -03:00
claudiosmweb
28713a760c
improved the product price in product API handler
2014-06-25 13:27:48 -03:00
Mike Jolley
5dcd19f5fa
Better handling of serialised settings Closes #4584
2014-06-25 16:30:47 +01:00
Mike Jolley
021431f012
Merge branch 'philmeadows-patch-1'
2014-06-25 13:57:36 +01:00
Mike Jolley
6390e387e2
Additional check for product coupons and sale product exclusion. Fixes #5697
2014-06-25 13:46:47 +01:00
Mike Jolley
0f6f04e017
Added wc_stock_amount() core function and replaced intval
...
#4612
2014-06-25 11:25:28 +01:00
Mike Jolley
1389dd2e86
Merge pull request #5738 from SiR-DanieL/patch-3
...
Improved woocommerce_placeholder_img filter
2014-06-25 11:12:26 +01:00
Mike Jolley
c1dd3f2024
Allow endpoint use on the front page.
...
Fixes #5609 cc @claudiosmweb
2014-06-25 11:10:05 +01:00
Mike Jolley
f1a10c2e70
Fix incorrect variable check when editing address
2014-06-25 11:06:42 +01:00
Nicola Mustone
46df7ba249
Added $size and $dimensions parameters
...
Added $size and $dimensions parameters to palceholder image filter to have a better custom management of the placeholder image.
2014-06-25 11:46:50 +02:00
Manos Psychogyiopoulos
6ad8f0f718
fix conflicts
2014-06-25 10:36:11 +03:00
claudiosmweb
101169322c
added method to save product attributes in products API
2014-06-24 18:32:37 -03:00
claudiosmweb
ea9fb154a9
fixed/improved the PUT method in product API
2014-06-24 17:34:06 -03:00
claudiosmweb
bec77c12d8
added PUT method in product API
2014-06-24 17:28:36 -03:00
claudiosmweb
78f461f835
fixed the save product method in API
2014-06-24 17:17:51 -03:00
claudiosmweb
49c80e6732
fixed the create producs method in products API
2014-06-24 17:16:36 -03:00
claudiosmweb
52a5ae9086
added delete method in products API
2014-06-24 17:16:08 -03:00
claudiosmweb
2fb2d8dfb6
removed order notes from wp_count_comments() function, closes #5732
2014-06-24 15:56:53 -03:00
claudiosmweb
0971b87f30
added @kloon's WC_API_Products::save_product_meta() method
2014-06-24 15:30:11 -03:00
claudiosmweb
f583f94885
improved the save product images methods in product API
2014-06-24 15:23:21 -03:00
claudiosmweb
d7e49ea801
created methods to save product images by API
2014-06-24 15:19:34 -03:00
claudiosmweb
770d81091d
fixed a error when get the thumbnail by API
...
Fixed the error:
PHP Notice: Trying to get property of non-object in wp-includes/post-template.php on line 29
2014-06-24 14:56:33 -03:00
claudiosmweb
5ca7516139
initial create product API method
2014-06-24 14:42:10 -03:00
claudiosmweb
276ebd25e3
created the wc_get_product_types() function
2014-06-24 13:59:56 -03:00
Mike Jolley
0e623e2c50
PESO Closes #5493
2014-06-24 16:08:04 +01:00
Mike Jolley
391b6cc6ae
Merge pull request #5728 from darkrain/master
...
bugfix in get_related() - return trash posts
2014-06-24 15:55:22 +01:00
Mike Jolley
0596204c22
Merge pull request #5680 from helgatheviking/variation_is_purchasable
...
add filter to is_purchasable() for variations
2014-06-24 15:51:54 +01:00
Mike Jolley
03de576bfb
Data update
2014-06-24 15:21:39 +01:00
Mike Jolley
fb592a1a79
Variation class modifications (see details)
...
- Made it load data on the fly, rather than loading it all at once
- Pull some data from variation, some from parent
- Updated stock methods to use variation or parent depending on
manage_stock
- Ensure parent stays in sync on stock status change event
2014-06-24 13:05:13 +01:00
Mike Jolley
21d37e86c2
Handle stock for self and children, as well as syncing status with the children
2014-06-24 13:03:25 +01:00
Mike Jolley
d65cb855bc
Static is required
2014-06-24 13:02:58 +01:00
Mike Jolley
f69e5fc4ee
Only use a value for changes - allows automatic changes to stock status to take over
2014-06-24 13:02:48 +01:00
Mike Jolley
d631f4acdc
Hide status box for variables and handle save event
2014-06-24 13:02:09 +01:00
Mike Jolley
0315e48187
Only call the method to update stock when it changes
2014-06-24 13:01:47 +01:00
Mike Jolley
3ca70b30f5
Add sanity check to stock status change
2014-06-24 13:01:34 +01:00
Shohei Tanaka
19b5d8073e
Update class-wc-countries.php for Japanese State
...
I don't use the word of Province for the largest administrative divisions of Japan, like the state in USA.
Sometimes I use the word of State for 都道府県. But I search some site, It seems to say that "Prefecture"
is formally. Perhaps Prefecture is best.
Please check following site.
1. One of Most Popular Japanese to English dictionary site:
http://ejje.weblio.jp/content/%E9%83%BD%E9%81%93%E5%BA%9C%E7%9C%8C
2. Official Japanese law Translation site(Please click 都道府県)
http://www.japaneselawtranslation.go.jp/dict/list?re=02&ft=1&dn=1&ky=%E9%83%BD%E9%81%93%E5%BA%9C%E7%9C%8C&x=63&y=8&co=1
2014-06-24 19:00:03 +09:00
darkrain
8f530a156c
bugfix in get_related() - return trash posts
2014-06-24 13:11:10 +07:00
Mike Jolley
b46507ca13
Merge pull request #5639 from tamarazuk/master
...
[product_category] shortcode: Remove ordering query args
2014-06-23 16:36:43 +01:00
Mike Jolley
34c614373e
Merge pull request #5701 from afurculita/master
...
Deprecate WP_TEMPLATE_PATH
2014-06-23 16:18:29 +01:00
Kathy Darling
7b201aad58
change is_purchasable() args to match regular product
2014-06-23 10:04:03 -05:00
Mike Jolley
84163615d3
Merge pull request #5650 from bernattorras/patch-1
...
Update class-wc-query.php
2014-06-23 13:07:13 +01:00
Mike Jolley
fb1b6af309
Merge pull request #5662 from franticpsyx/order_item_count
...
order item count is wrong
2014-06-23 13:05:30 +01:00
Mike Jolley
474c5aafcf
Merge pull request #5702 from darkrain/master
...
add filter to method get_sku()
2014-06-23 12:59:52 +01:00
Mike Jolley
85befad283
Use max() to prevent division by zero Closes #5696
2014-06-23 12:56:11 +01:00
Mike Jolley
feb3088dfc
Merge pull request #5644 from franticpsyx/overrides_scan_table_format
...
table format in Status report, template overrides
2014-06-23 12:24:47 +01:00
Mike Jolley
707b0b66cd
Merge pull request #5713 from coenjacobs/dont-assume-log-action
...
Status page log title should not assume action for title
2014-06-23 12:05:11 +01:00
Mike Jolley
02ccef615b
Merge pull request #5708 from JDGrimes/docs-fixes
...
Update copy-pasted docs for class instance() methods
2014-06-23 12:02:59 +01:00
Coen Jacobs
71ae6f874a
Status page log title should not assume action
2014-06-21 10:27:40 +02:00
Mike Jolley
b86b4c91c6
Simplify get_children and use stock status rather than stock level
2014-06-20 10:50:31 +01:00
Mike Jolley
8834679d93
Don't validate empty fields
2014-06-20 10:28:04 +01:00
JDGrimes
0d472cead5
Update copy-pasted docs
...
Fixes #5707
2014-06-19 15:43:05 -04:00
Mike Jolley
37117409f8
Merge pull request #5704 from JDGrimes/wpdb-prefix-table
...
Don't assume the database prefix is wp_
2014-06-19 16:49:08 +01:00
Mike Jolley
19adbb9bba
Product admin/saving
2014-06-19 16:47:04 +01:00
JDGrimes
a4a7daf960
Don't assume the database prefix is wp_
...
Use `$wpdb->prefix` instead. It was inconsistent with the rest of the
query anyway.
2014-06-19 11:35:33 -04:00
JDGrimes
3ed17d1b05
Avoid a "method should not be called statically"
...
Declare `WC_Post_Data::transition_post_status()` as `static`. Avoids a
PHP notice.
2014-06-19 11:32:52 -04:00
darkrain
ea476af2ca
add filter to method get_sku()
2014-06-19 22:28:49 +07:00
Alexandru Furculita
494b55abac
Update class-wc-template-loader.php
2014-06-19 15:45:09 +03:00
Mike Jolley
c66f2b8232
Split out several transient clearing functions to be called only when needed.
2014-06-19 12:25:10 +01:00
Mike Jolley
3df6a71b96
Removed some transient clears where unnecessary
2014-06-19 12:25:10 +01:00
Mike Jolley
3e0f6e2511
Term counts only need to be deleted when terms are recounted
2014-06-19 12:25:10 +01:00
Mike Jolley
af77d8f12c
Only remove featured transient when featured changes
2014-06-19 12:25:10 +01:00
Mike Jolley
bb787ff8cc
Merge pull request #5687 from claudiosmweb/fix-undefined-function-wc_ship_to_billing_address_only-in-admin
...
Move the wc_ship_to_billing_address_only() function to wc-order-functions.php
2014-06-18 16:18:35 +01:00
Mike Jolley
4187a2465a
Merge pull request #5690 from BFTrick/parenthesis
...
Adding Brackets Around if Statement
2014-06-18 16:14:41 +01:00
Mike Jolley
cf3cca4c8e
Merge branch 'feature-wc-create-order'
2014-06-18 16:07:29 +01:00
Mike Jolley
f2ca5e76bd
Use a transaction during checkout's order creation method to ensure all data gets set
...
Closes #5368
2014-06-18 16:03:46 +01:00
Patrick Rauland
8e3c3a61db
adding brackets around if statement
2014-06-17 16:40:54 -05:00
claudiosmweb
7fd6e9f0a0
moved the wc_ship_to_billing_address_only() function to wc-order-functions.php
2014-06-17 17:39:02 -03:00
Mike Jolley
8c1b384f43
[2.1] Total tax should be +, not -
2014-06-17 10:19:40 +01:00
Kathy Darling
5f56366a0b
add filter to is_purchasable()
2014-06-16 12:32:54 -05:00
Coen Jacobs
e7b6c49c7c
Added comment to indicate that WC_Order shouldn't be directly instantiated
2014-06-14 23:36:20 +02:00
Coen Jacobs
66006a18b0
WC_Order is default class for order factory
2014-06-14 23:26:01 +02:00
claudiosmweb
97fb619e23
fixed undefined variable $status, closes #5673
2014-06-13 12:18:00 -03:00
Mike Jolley
94549e1462
Notices
2014-06-13 16:11:15 +01:00
Mike Jolley
f37d6e12b8
Cleaned up ajax tax calc function
2014-06-13 15:54:08 +01:00
Mike Jolley
93778e72b0
Tax class fixes + notices
2014-06-13 15:53:59 +01:00
Mike Jolley
0f22691767
Calculate tax and totals methods
2014-06-13 15:21:15 +01:00
Coen Jacobs
aa60022297
Restore get_order call in WC_Order constructor
2014-06-13 15:38:24 +02:00
Coen Jacobs
476870d9f2
Created WC_Abstract_Order, extended by WC_Order
2014-06-13 15:37:20 +02:00
Coen Jacobs
89ea6c46ab
Replace new WC_Order calls with get_order
2014-06-13 15:24:51 +02:00
Coen Jacobs
4ca9855bec
get_order wrapper function for new factory
2014-06-13 15:21:10 +02:00
Coen Jacobs
9c68f71500
Basic order factory class
2014-06-13 15:20:14 +02:00
Mike Jolley
76d160c8fc
Fire action when adding product
2014-06-13 10:20:38 +01:00
Mike Jolley
a6da6e3353
Also use qty
2014-06-13 10:18:03 +01:00
Mike Jolley
5aa8b47c6b
When setting totals, if not set get the data from the product
2014-06-13 10:14:18 +01:00
Mike Jolley
375a0e2652
static WC_Tax class - no need for a constructor in this
2014-06-12 16:47:43 +01:00
Manos Psychogyiopoulos
c172a08551
filter class
2014-06-12 15:09:15 +03:00
Manos Psychogyiopoulos
cb75dcf699
filter name change
2014-06-12 14:51:23 +03:00
Mike Jolley
e0b6e78752
Merge pull request #5658 from phikai/master
...
Send Proper Status Codes on wp_die (Fixes #5656 )
2014-06-12 12:01:30 +01:00
Mike Jolley
2f3c60d4cf
Merge pull request #5655 from claudiosmweb/fix-order-item-fees-tax-names
...
Fix tax name in order item fees
2014-06-12 11:59:33 +01:00
Mike Jolley
9beaf30a73
Merge pull request #5657 from claudiosmweb/feature-transaction-id-display
...
Display Transaction ID in order data
2014-06-12 11:59:17 +01:00
Mike Jolley
ff186a23cc
Merge pull request #5659 from claudiosmweb/fix-hard-code-strings
...
Fix some hard code strings
2014-06-12 11:59:06 +01:00
Mike Jolley
c7a74e92fa
Merge pull request #5654 from claudiosmweb/5551-feature-order-items-attributes-nice-names
...
Improved order items attributes names
2014-06-12 11:58:45 +01:00
Mike Jolley
e532ffa064
Update language updater notices
2014-06-12 11:57:49 +01:00
Manos Psychogyiopoulos
0004a20add
filter output apart from count
2014-06-12 11:53:39 +03:00
Manos Psychogyiopoulos
6af23e09bf
order item count wrong
2014-06-12 10:59:45 +03:00
Tamara Zuk
ee5d294ed7
Introduce 'woocommerce_get_order_item_totals_excl_free_fees' filter
...
The new filter will allow plugins that add order item meta to choose to
display the free fee items on order details pages and emails.
2014-06-11 19:16:27 -04:00
Tamara Zuk
9d43781737
Merge remote-tracking branch 'upstream/master'
2014-06-11 19:01:43 -04:00
Kai Armstrong
1274ac3303
Reading the wp_die docs was apparently a giant mental challenge... fixed the fix for #5656
2014-06-11 15:24:27 -05:00
claudiosmweb
61c94f9e25
fixed some hard code strings
2014-06-11 17:12:23 -03:00
claudiosmweb
c3ed04197b
fixed hard coded Edit string
2014-06-11 17:05:09 -03:00
Kai Armstrong
c7410a1630
send proper status codes on die
2014-06-11 14:57:26 -05:00
Kai Armstrong
4812248320
Sends proper HTTP Status Codes on die
2014-06-11 14:55:15 -05:00
claudiosmweb
9540fd9444
fixed some coding standards in includes/admin/meta-boxes/class-wc-meta-box-order-data.php
2014-06-11 16:50:15 -03:00
claudiosmweb
977751dd20
display the transaction id in the order data meta box
2014-06-11 16:37:00 -03:00
claudiosmweb
5e39d81acc
fixed hard coded Edit string
2014-06-11 16:07:12 -03:00
claudiosmweb
f1926834da
fixed some coding standards in includes/admin/meta-boxes/views/html-order-fee.php
2014-06-11 16:06:31 -03:00
claudiosmweb
911b1699ee
improved the tax name in order item fee
2014-06-11 16:03:07 -03:00
claudiosmweb
eaf5a9e866
added some brackets
2014-06-11 15:47:33 -03:00
claudiosmweb
b5ee32efd0
improved the test for get the term name
2014-06-11 15:46:41 -03:00
claudiosmweb
29305bd9ec
fixed some coding standards in includes/admin/meta-boxes/views/html-order-item.php
2014-06-11 15:31:54 -03:00
claudiosmweb
7ee7d75ed4
improved the order items names when is attributes, closes #5551
2014-06-11 15:18:33 -03:00
claudiosmweb
2acf0a8c83
fixed two syntax error in paypal gateway class
2014-06-11 14:14:34 -03:00
Mike Jolley
80ba9aa9c9
woocommerce_order_add_fee
2014-06-11 16:53:49 +01:00
Mike Jolley
c591a3fb54
Set correct post type
2014-06-11 16:11:28 +01:00
Coen Jacobs
6cae09335b
Store PayPal transaction id through payment_complete method
2014-06-11 16:36:55 +02:00
Coen Jacobs
386751addf
Support storing transaction id in payment_complete method
2014-06-11 16:36:32 +02:00
Mike Jolley
ef3e728855
Setters + wc_create_order + wc_update_order for #4169
2014-06-11 15:10:03 +01:00
Bernat
4f61e1946f
Update class-wc-query.php
...
Use 'term_id' instead of 'id' for the tax_query as described in WP codex: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
2014-06-10 17:22:01 +02:00
Manos Psychogyiopoulos
27a7dd0255
status report overrides table format
...
New tr for every extension being checked for overrides.
2014-06-09 16:57:02 +03:00
Mike Jolley
a621288459
Fix address format in plain text email
2014-06-09 12:08:45 +01:00
Mike Jolley
77f71741b8
This should be static
2014-06-09 11:57:13 +01:00
Mike Jolley
b20602a770
Merge pull request #5628 from tszming/fix-cached-widget
...
Add filter to allow override the cache widget id
2014-06-09 11:42:08 +01:00
Tamara Zuk
5dc1c8cf38
Remove ordering query args
...
If these are not removed right after use they will affect the remaining
queries on the page.
2014-06-09 04:15:46 -04:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Tsz Ming WONG
35159c50c8
Add filter to allow override the cache widget id
2014-06-07 00:34:12 +08:00
Mike Jolley
eadf66a7d9
Merge pull request #5617 from enru/master
...
unslash order item meta key before updating in DB
2014-06-06 16:11:45 +01:00
Mike Jolley
5d8a1e03c0
Merge pull request #5610 from ragulka/checkout-wc-clean-fix
...
Check if posted data is_array before doing wc_clean in checkout
2014-06-06 16:09:02 +01:00
Mike Jolley
7aa053bdbd
Merge pull request #5605 from ragulka/radio-field
...
Add radio type support to woocommerce_form_field
2014-06-06 16:08:25 +01:00
Mike Jolley
f41febc42a
Merge pull request #5598 from splashingpixels/add-filter
...
add filter for admin stock report products per page
2014-06-06 16:05:29 +01:00
Mike Jolley
32e77897cc
Placeholder functions
2014-06-06 15:51:09 +01:00
Mike Jolley
2916c64370
Merge pull request #5618 from claudiosmweb/feature-translation-update-notice
...
Add a notice about available translation upgrades
2014-06-06 15:40:48 +01:00
toddlahman
db896e316c
Allow downloadable products URL to be relative
2014-06-04 22:02:32 -07:00
claudiosmweb
c34cea6523
added a new option in system status to force the translations upgrade
2014-06-04 14:25:49 -03:00
claudiosmweb
1c128d8ebd
added a notice to display messages about available translation upgrades
2014-06-04 13:01:38 -03:00
enru
23950bcf0d
unslash order item meta key before updating in DB
...
To prevent nested slashes in DB when item meta key contains quotes.
This is in line with WordPress' behaviour - see update_meta() in wp-includes/meta.php
2014-06-04 15:09:01 +01:00
Mike Jolley
09c4e1c07a
Merge pull request #5614 from mkayan-wakefly/master
...
RE issue: #5613 - Typo in error message
2014-06-04 11:31:19 +01:00
Mike Jolley
ded4b7404d
Admin changes for #5046
...
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
Mike Jolley
7c5c113b61
Prevent sub pages of the shop page 404'ing with verbose page rules
...
Fixes #4621
2014-06-04 07:46:21 +01:00
Mike Jolley
8a6a195692
Merge branch 'post-statuses-for-orders'
2014-06-04 05:54:15 +01:00
mkayan-wakefly
e6bfd393ac
#5613 Typo in "don't ship to" error message
...
Typo in "don't ship to" country message: Issue #5613
Removing the word "to" from the error message indicating that a site doesn't ship to a certain country.
The function, shipping_to_prefix(), will handle insert the word "to".
Or, in the case of US, GB, and a few other countries, the words "to the".
2014-06-03 15:51:09 -04:00
mkayan-wakefly
32618c72b5
Update class-wc-checkout.php
...
Removing the word "to" from the error message indicating that a site doesn't ship to a certain country.
The function, shipping_to_prefix(), will handle insert the word "to".
Or, in the case of US, GB, and a few other countries, the words "to the".
2014-06-03 15:45:22 -04:00
Mike Jolley
be4be147b9
Merge pull request #5604 from claudiosmweb/4844-fix-product-cat-url
...
Exclude the product_cat custom rewrites from the rewrite_rules_array
2014-06-03 14:46:25 +01:00
Mike Jolley
26668f49eb
Merge pull request #5603 from claudiosmweb/5159-fix-product-attachment-url
...
Fix the product attachment urls when use n/%product_cat% as base url
2014-06-03 14:45:55 +01:00
Illimar Tambek
6302c0fb8a
Check if posted data is_array before doing wc_clean in checkout
2014-06-03 14:16:19 +03:00
Mike Jolley
01810c3fce
Check if wp_get_post_terms is empty before get_terms
2014-06-03 11:58:08 +01:00
Mike Jolley
f30e95663b
Prefixes for queries
2014-06-03 11:29:01 +01:00
Mike Jolley
9307fcf66b
Internal wc- prefix and get_status filter
2014-06-03 11:04:56 +01:00
Illimar Tambek
516a8bcc8a
Add radio type support to woocommerce_form_field
2014-06-03 13:04:06 +03:00
Mike Jolley
66f36d3f08
woocommerce_order_has_status filter
2014-06-03 10:47:16 +01:00
Mike Jolley
309f700283
has_status
2014-06-03 10:45:33 +01:00
claudiosmweb
dfbe3e2e16
excluded the product_cat custom rewrites from the rewrite_rules_array, closes the #4844
2014-06-02 17:00:44 -03:00
claudiosmweb
6577d8086b
fixed the product attachment urls when use n/%product_cat% as base url, closes #5159
2014-06-02 15:40:24 -03:00
Mike Jolley
4c18ab831a
[2.1] Get terms doesn't support slugs #5490
2014-06-02 16:14:51 +01:00
Mike Jolley
22a37e860f
[2.1] When linking variations, use slugs #5490
2014-06-02 15:28:00 +01:00
Mike Jolley
fb570b2766
Merge pull request #5594 from claudiosmweb/fix-typo-1
...
Fix a typo with context in class-wc-install.php
2014-06-02 12:02:59 +01:00
Mike Jolley
6b35c59f5b
Tweaked tax query to contain less subqueries
2014-06-02 11:55:36 +01:00
Mike Jolley
387cc973df
Removes properties from customer class - these are all stored in _data!
2014-06-02 11:50:01 +01:00
splashingpixels
2757573bb2
add filter for admin stock report products per page
2014-05-31 13:45:47 -07:00
toddlahman
fe43298021
Use wp_send_json() WordPress function for AJAX
...
The header(), json_encode(), and die(), functions are all executed with
a better logical routine that should provide consistent results.
2014-05-31 00:32:22 -07:00
Mike Jolley
ce44a5445f
Join errors
2014-05-30 18:29:53 +01:00
Mike Jolley
51201d0a6b
Update script
2014-05-30 18:27:41 +01:00
Mike Jolley
9bc9b34cc8
Change order admin panel to new statuses
2014-05-30 17:47:00 +01:00
Mike Jolley
e0a74fffc4
implement is_status()
2014-05-30 17:43:21 +01:00
Mike Jolley
fca32a98de
Implement is_status functions and update_status
2014-05-30 17:16:22 +01:00
Mike Jolley
ae50495dfd
Update API functions
2014-05-30 16:34:59 +01:00
Mike Jolley
05b9b8af4e
get_status_name + my_orders
2014-05-30 16:29:44 +01:00
Mike Jolley
334acf42f5
Optimise customer list
2014-05-30 16:24:32 +01:00
Mike Jolley
df9543000b
Optimise report query
2014-05-30 16:22:32 +01:00
Mike Jolley
9f6871ad7d
Optimise dashboard queries
2014-05-30 16:21:16 +01:00
Mike Jolley
543ed6f207
Optimise cart class
2014-05-30 16:17:51 +01:00
Mike Jolley
5af1c5ba59
Update checkout functions
2014-05-30 16:16:57 +01:00
Mike Jolley
2f374cf8b4
Optimize user functions
2014-05-30 16:14:24 +01:00
Mike Jolley
83b4845250
Optimise order functions for post statuses
2014-05-30 16:09:28 +01:00
Mike Jolley
55f087b20e
wc_get_order_statuses function
2014-05-30 16:03:11 +01:00
Mike Jolley
ba15dc1793
No longer need system status report on status
2014-05-30 15:58:09 +01:00
Mike Jolley
346b0deb31
no longer need to install shop order status terms
2014-05-30 15:57:28 +01:00
Mike Jolley
a8811167f2
pending
2014-05-30 15:54:18 +01:00
Mike Jolley
ea55a874db
Failed status
2014-05-30 15:28:10 +01:00
Mike Jolley
f506549264
Kill shop_order_status taxonomy
2014-05-30 15:27:17 +01:00
Mike Jolley
3e687d2a6e
Get status and is_status helpers which compare against post_status
2014-05-30 15:26:28 +01:00
Mike Jolley
127bcc7d35
Register statuses for orders
2014-05-30 15:24:53 +01:00
Mike Jolley
6e3820b635
No need for status drop down
2014-05-30 15:24:34 +01:00
claudiosmweb
00262a19f2
fixed a typo with context in class-wc-install.php
2014-05-30 11:13:26 -03:00
Mike Jolley
098a6afbbf
Fix state display Closes #5587
2014-05-30 13:33:09 +01:00
Mike Jolley
f383710e38
Localize scripts only when needed Closes #4158
2014-05-30 12:01:01 +01:00
Mike Jolley
b2ddcf29cf
Set keys for find/replace to prevent duplicate keys
...
Fixes #5168
2014-05-30 10:42:47 +01:00
claudiosmweb
02b5f21168
fixed the language pack upgrader repository uri
2014-05-29 17:05:38 -03:00
Mike Jolley
ec358fe8ed
Merge pull request #5581 from claudiosmweb/feature-language-pack-upgrader
...
Introduces the Language Pack Upgrader
2014-05-29 16:36:07 +01:00
Mike Jolley
25795c1fba
Merge pull request #5578 from claudiosmweb/feature-wc_get_log_file_path-function
...
Introduces the wc_get_log_file_path() function
2014-05-29 16:35:48 +01:00
Mike Jolley
4c0e7a13f7
Merge pull request #5572 from justinstern/master
...
Check for Existence of Cart Before Using
2014-05-29 16:33:33 +01:00
Patrick Rauland
1baaf9f754
capitalizing paraguayan guarani
2014-05-29 09:36:57 -05:00
Patrick Rauland
889e758b38
adding paraguayan currency. see #5568
2014-05-29 09:34:52 -05:00
Mike Jolley
59b98d7d7b
Merge pull request #5586 from claudiosmweb/4870-feature-local-pickup-hide-shipping-address
...
Remove Shipping Address when the shipping method is Local Pickup
2014-05-29 09:23:27 +01:00
claudiosmweb
96ea1d8bc4
introduces the WC_Order::needs_shipping_address() method
2014-05-28 16:20:36 -03:00
Mike Jolley
978268dfa6
Merge pull request #5577 from claudiosmweb/improve-system-status-logs
...
Stop "no such file or directory" warnings
2014-05-28 19:32:39 +01:00
Mike Jolley
79a26d7f8e
Merge pull request #5584 from claudiosmweb/4594-feature-customer-api-available-downloads
...
Add Customer API endpoint for get available downloads
2014-05-28 19:32:20 +01:00
Mike Jolley
b2a35fd5cf
Merge pull request #5582 from claudiosmweb/4857-feature-api-products-status-filter
...
Add post_status filter in WC API
2014-05-28 19:31:40 +01:00
claudiosmweb
d2329914a6
created customer api endpoint to get the customer available downloads, closes #4594
2014-05-28 14:06:46 -03:00
claudiosmweb
d0fac1f737
introduces the wc_get_customer_available_downloads() function
2014-05-28 14:05:19 -03:00
claudiosmweb
a69e947c4d
added post_status filter in WC API, closes #4857
2014-05-28 13:29:37 -03:00
Mike Jolley
a723b4ed3c
Subcategory query can now use parent = 0 without breaking
...
Closes #4644
2014-05-28 17:25:33 +01:00
claudiosmweb
62ed150782
created the language pack upgrader
2014-05-28 13:06:00 -03:00
Mike Jolley
d88425f47e
Load countries and states when needed rather than in the constructor. Closes #4158
2014-05-28 16:48:21 +01:00
Mike Jolley
a9ff5afa01
Additional report filters Closes #4752
2014-05-28 15:19:16 +01:00
claudiosmweb
7ca27a8f80
introduces the wc_get_log_file_path() function
2014-05-28 11:08:33 -03:00
Mike Jolley
e198ee517a
Made stateless classes static to allow unhooking of hooks
...
Closes #5151
2014-05-28 14:52:50 +01:00
claudiosmweb
ce867a4150
stopped "no such file or directory" warnings
2014-05-28 10:46:11 -03:00
Mike Jolley
35ecf85ff1
When getting grouped products, don't suppress filters
...
Closes #4661
2014-05-28 11:30:07 +01:00
Mike Jolley
ce18293c9f
2 filters for drop down functions Closes #5161
2014-05-28 11:28:20 +01:00
Mike Jolley
1ed0938581
[2.2] Log changes Closes #4926
...
Added WC_LOG_DIR constant
Added log viewer
Changed default logging directory to 1 up from ABSPATH inside wc-logs
2014-05-28 11:12:38 +01:00
Mike Jolley
3fbd036b81
Merge pull request #5573 from claudiosmweb/5180-tax-validation
...
Add validation for country code in tax settings
2014-05-28 09:32:09 +01:00
claudiosmweb
9ea27fd416
fixed another variable overwritten in tax settings
2014-05-27 19:12:11 -03:00
claudiosmweb
c4cb110af1
fixed a variable overwritten in tax settings
2014-05-27 19:08:18 -03:00
claudiosmweb
322c655e61
added validation for country code in tax settings, closes #5180
2014-05-27 19:03:21 -03:00
Mike Jolley
b994536ef6
Merge pull request #5562 from coenjacobs/order-item-subtotal-hooks
...
Added parameter to get line subtotal filters
2014-05-27 13:03:51 +01:00
Mike Jolley
84740c1449
Merge pull request #5560 from woothemes/remove-tinymce-button
...
Removed unused TinyMCE button
2014-05-27 13:02:02 +01:00
Mike Jolley
4d76f16098
Merge pull request #5559 from coenjacobs/refactor-get-avatar-url
...
Use regex instead of DOM module to get avatar URL
2014-05-27 13:01:34 +01:00
Mike Jolley
fec7dd081d
Merge pull request #5550 from PlacidBox/master
...
[2.1] Fixes performance degredation on large wp_options tables
2014-05-27 12:58:29 +01:00
Mike Jolley
e11e05f1ef
Merge pull request #5548 from BFTrick/danish-currency
...
[2.1] Fixing Danish Krone Symbol
2014-05-27 12:57:00 +01:00
Mike Jolley
17d17008bf
Merge pull request #5546 from claudiosmweb/fix-little-typo
...
[2.1] Fix a little typo in add-ons page
2014-05-27 12:56:35 +01:00
Mike Jolley
4c508e9b0f
Merge pull request #5541 from splashingpixels/revise-term-function
...
[2.1] revised wc_get_product_terms to allow override with args
2014-05-27 12:55:20 +01:00
Coen Jacobs
6ab76b7ab0
Added parameter to get line subtotal filters
2014-05-26 16:44:36 +02:00
Coen Jacobs
09a9463b0a
Removed unused TinyMCE button
2014-05-26 16:17:56 +02:00
Coen Jacobs
3ae4e54b04
Empty return value should be null
2014-05-26 12:51:03 +02:00
Coen Jacobs
cfd8600960
Use regex instead of DOM module to get avatar URL
2014-05-26 12:48:21 +02:00
toddlahman
969fd22849
Confirm buffer is not empty before erasing
...
Confirm file_exists before opening. For PHP 5.3 or earlier, check if
safe_mode is active to avoid errors.
2014-05-25 14:10:23 -07:00
Chris Broadbent
ff0025a1f4
Fixes performance degredation on large wp_options tables
2014-05-24 14:04:49 +10:00
justinstern
88e82c5640
Check for Existence of Cart Before Using
...
check for the existence of the cart during the is_available() check
before getting the order total (which otherwise will result in a PHP
notice from the admin, etc)
2014-05-23 22:12:15 -04:00
Patrick Rauland
3b90a1d8c2
fixing danish krone symbol
2014-05-23 20:13:30 -05:00
claudiosmweb
240cad1c89
fixed a little typo in add-ons page
2014-05-23 09:54:26 -03:00
Mike Jolley
42f9eab1bc
[2.1] Fix coupon limit checks and enhance to check ID by provided email (if logged out)
...
Fixes #5535
2014-05-22 16:23:01 +01:00
splashingpixels
e508a668a3
revised wc_get_product_terms to allow override with args
2014-05-22 07:05:34 -07:00
Mike Jolley
a1809f1e56
Tweak template loader to work with other WC product taxonomies.
...
Closes #5521
2014-05-22 10:59:48 +01:00
Mike Jolley
b4b015d916
Merge pull request #4810 from vayurobins/master
...
Added description parameter to the woocommerce_form_field function
2014-05-22 10:20:44 +01:00
Mike Jolley
5a0d17d774
Merge pull request #5538 from kilbot/master
...
Update class-wc-api-orders.php
2014-05-22 10:16:57 +01:00
Mike Jolley
5e769e65e7
Merge pull request #4996 from robdvr/master
...
Ability to add custom quantity using shortcode
2014-05-22 10:16:20 +01:00
Mike Jolley
e419477998
Merge pull request #5498 from splashingpixels/terms
...
[2.1.x] menu order terms were coming back empty fixes #5490
2014-05-22 10:04:23 +01:00
Mike Jolley
e3b71ab3fc
Merge pull request #5510 from woothemes/fix-addons-page
...
Addons page, reference new json API endpoint
2014-05-22 10:03:43 +01:00
Mike Jolley
4c2c02b9d4
Merge pull request #5489 from claudiosmweb/fix-welcome-screen-css
...
Fix the admin welcome screen CSS
2014-05-22 09:57:51 +01:00
Mike Jolley
77cf100819
Merge pull request #5503 from demon36/master
...
added egypptian currency
2014-05-22 09:57:04 +01:00
Mike Jolley
b1c32f5724
Merge pull request #5508 from lukecarbis/issue-5506
...
Fix notice that occurs from external function call
2014-05-22 09:56:01 +01:00
Mike Jolley
6ff3d1e097
Merge pull request #5509 from y12studio/name-format-tw
...
Adjust the address format of Taiwan
2014-05-22 09:54:38 +01:00
Mike Jolley
b4e218cb3f
Merge pull request #5525 from lukecarbis/issue-5524
...
Issue 5524: Add $tax_rate_id to the added and updated action
2014-05-22 09:54:19 +01:00
Mike Jolley
795a58021c
Merge pull request #5529 from woothemes/fix-layered-nav-notice
...
Prevent undefined notice for Layered Nav title
2014-05-22 09:53:41 +01:00
Mike Jolley
998e88ce46
Merge pull request #5530 from woothemes/add-context-params
...
Added product id parameter to related posts filters
2014-05-22 09:53:19 +01:00
Mike Jolley
b8f93a6c93
Merge pull request #5532 from trsenna/master
...
fix for issue #5531
2014-05-22 09:51:59 +01:00
Mike Jolley
0e4527fd53
Merge pull request #5534 from woothemes/image-size-settings-respect-filters
...
[2.2] Disable image size settings if filters are being used
2014-05-22 09:50:35 +01:00
Paul Kilmurray
b7a8a0bd20
Update class-wc-api-orders.php
...
The line_subtotal_tax should be included in the line_items. It doesn't seem to have a helper method like the others?
2014-05-22 13:34:39 +08:00
Coen Jacobs
cc7adb4819
Disable image size settings if filters are being used
2014-05-21 16:28:36 +02:00
Thiago Senna
38d8253ab6
fix for Error rendering WooCommerce Shop as Front Page at Stargazer Parent Theme #5531 (indent with tab)
2014-05-21 10:30:51 -03:00
Thiago Senna
370d3e0348
fix for Error rendering WooCommerce Shop as Front Page at Stargazer Parent Theme #5531
2014-05-21 10:27:26 -03:00
Mike Jolley
0ae5385dce
state_province is not required for mijireh any longer
2014-05-21 13:31:35 +01:00
Coen Jacobs
6aa9bcadab
Added product id parameter to related posts filters
2014-05-21 11:35:54 +02:00
Coen Jacobs
2ed4aa26bd
Prevent undefined notice for Layered Nav title
2014-05-21 11:26:20 +02:00
Luke Carbis
97fb685b2e
Add $tax_rate_id to the added and updated actions
...
Resolves https://github.com/woothemes/woocommerce/issues/5524
2014-05-21 09:14:49 +10:00
Mike Jolley
bbd7b16c17
Merge pull request #5507 from lukecarbis/issue-5505
...
Add action hooks when saving tax rates
2014-05-20 16:39:04 +01:00
Mike Jolley
6323f1c5c2
Stronger session ID generation
2014-05-20 11:08:31 +01:00
Mike Jolley
6e8e32256b
Indentation
2014-05-20 11:08:09 +01:00
Mike Jolley
41eab15b13
Clear sessions after ordering/on logout
2014-05-20 10:01:26 +01:00
Gerhard
7886ad84bd
Expire transient after a week
2014-05-19 14:11:18 +02:00
Gerhard
910f7802f4
Addons page, reference new json API endpoint
2014-05-19 13:53:15 +02:00
Y12STUDIO
a6fc9920d7
Update the address format for Taiwan
2014-05-19 16:08:30 +08:00
Luke Carbis
97bf6053e3
Fix notice that occurs from external function call
...
Resolves https://github.com/woothemes/woocommerce/issues/5506 .
This checks to see if the `integrations` array has any values before getting it's current value.
2014-05-19 15:57:34 +10:00
Luke Carbis
d4a38f0009
Add action hooks when saving tax rates
...
Resolves https://github.com/woothemes/woocommerce/issues/5505 .
Add three actions when tax rates are saved:
* woocommerce_tax_rate_added
* woocommerce_tax_rate_updated
* woocommerce_tax_rate_deleted
2014-05-19 15:49:35 +10:00
demon36
d57ac66fce
added egypptian currency
...
#5502
2014-05-18 14:30:37 -07:00
splashingpixels
a0bc8820a3
menu order terms were coming back empty fixes #5490
2014-05-16 21:12:34 -07:00
claudiosmweb
c09cd8ea4b
fixed the admin welcome screen css
2014-05-15 17:42:04 -03:00
Mike Jolley
0a3d9b3949
Send IPN email notifications to new order email.
...
Closes #4696
2014-05-15 14:35:16 +01:00
Mike Jolley
455ef80ee7
Refactor country class get methods Closes #4692
2014-05-15 13:27:13 +01:00
Mike Jolley
08996096f2
Merge pull request #5033 from claudiosmweb/customers_api_4162
...
Customers API / Methods PUT/POST/DELETE
2014-05-15 12:58:23 +01:00
Mike Jolley
ddafd636f2
Merge pull request #5044 from kloon/coupons_api_put_post_delete
...
Coupons API PUT POST DELETE
2014-05-15 12:57:08 +01:00
Mike Jolley
0dd8dcba2e
Update label for force http option Closes #5474
2014-05-15 12:40:08 +01:00
Mike Jolley
b7643e469b
Merge pull request #4763 from claudiosmweb/remove_the_content_filter
...
Removed all the_content filter in favor to wpautop() and do_shortcode()
2014-05-15 10:52:26 +01:00
Mike Jolley
1b6e2a5980
Merge pull request #5125 from sparkweb/master
...
[2.2] REST API: Allow ordering on the resource level
2014-05-15 10:50:32 +01:00
Mike Jolley
a7db292b39
Merge pull request #5481 from franticpsyx/fees
...
Add punctuation to fees.
2014-05-15 10:46:16 +01:00
Mike Jolley
d4dfc467fe
Merge pull request #5447 from ChuckMac/report_filter
...
[2.2] Add new 'wc_admin_reports_path' filter to reports
2014-05-15 10:46:07 +01:00
Mike Jolley
8ccfd3a2ae
Merge pull request #4618 from leewillis77/add_user_id_to_packages
...
[2.2] Add user ID to shipping packages
2014-05-15 10:44:14 +01:00
Chuck Mac
fa0b829b15
Add new 'wc_admin_reports_path' filter with name
...
Add $name to filter to be able to use the original passed value as well.
2014-05-14 19:54:45 -04:00
Manos Psychogyiopoulos
86b8e3e372
Add punctuation to fees
2014-05-14 18:22:55 +03:00
Andrew Benbow
919fc6ba9b
Update class-wc-validation.php
...
Correct character 3 vaildation
2014-05-14 00:55:29 +01:00
Mike Jolley
77e5574b97
Merge pull request #5469 from claudiosmweb/normalize-woocommerce_email_attachments-filter-type
...
Normalize the woocommerce_email_attachments filter return type
2014-05-13 14:34:03 +01:00
claudiosmweb
fcd0b03e7e
normalized the woocommerce_email_attachments filter return type
2014-05-12 15:55:53 -03:00
Mike Jolley
4d2378087e
Ensure _stock meta exists, or update will fail
2014-05-12 16:07:51 +01:00
Mike Jolley
70ef82a617
Add a tip for default selections, and use opt groups for the long bulk edit list
2014-05-12 15:39:13 +01:00
Mike Jolley
12d89fae87
Merge pull request #5458 from pippinsplugins/master
...
Update class-wc-meta-box-coupon-data.php
2014-05-12 14:43:24 +01:00
Mike Jolley
d379b60720
Merge pull request #5466 from claudiosmweb/improve-ajax-class
...
Fix some coding standards in includes/class-wc-ajax.php
2014-05-12 14:32:03 +01:00
Mike Jolley
a74f767bd6
Made wc_get_product_terms support custom menu_order by using get_terms and an include
...
Fixes #5455
2014-05-12 14:31:28 +01:00
claudiosmweb
e65f41f014
fixed some coding standards in includes/class-wc-ajax.php
2014-05-12 10:04:36 -03:00
Mike Jolley
aa24199d82
Merge pull request #5460 from claudiosmweb/fix-strict-standards-set-stock
...
Fix WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock()
2014-05-12 12:39:45 +01:00
Mike Jolley
d8020de76c
Merge pull request #5464 from tamarazuk/master
...
Order Item Meta - Check if attribute term exists
2014-05-12 12:35:11 +01:00
Mike Jolley
bcba8248b9
Fix notice when not scanning any files Closes #5465
2014-05-12 12:34:46 +01:00
Tamara Zuk
3ebd22b64a
Check if term is returned before getting its name
...
Prevents a rare notice if the order item meta value is blank
2014-05-11 09:37:27 -04:00
claudiosmweb
05a6914ebc
fixed WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock()
2014-05-10 17:45:14 -03:00
Pippin Williamson
8d15d6dc6c
Update class-wc-meta-box-coupon-data.php
...
Introduce `woocommerce_coupon_data_panels` action.
If someone wants to add a new tab to the Coupons data meta box, they can use the `woocommerce_coupon_data_tabs` filter to register a new tab. These tabs accept a `target` key that lets you specify the `div` ID to reveal when the tab is clicked on. It turns out, however, that there is no way to actually add the `div` to the page, making the filter for custom tabs only good for removing tabs.
2014-05-10 11:48:37 -04:00
Chuck Mac
2de7df9425
Add new 'wc_admin_reports_path' filter to reports
...
Add filter to allow for changing of the report class files.
This will allow 3rd party plugins to use this function to extend the
reporting. Currently this can only include files in the woocommerce plugin
directory itself.
2014-05-08 12:34:30 -04:00
Mike Jolley
439ec0d4f6
Merge pull request #5425 from superdave2u/master
...
Updated the get_download_url() function - fixes #5424
2014-05-08 15:18:29 +01:00
Mike Jolley
4fa5ec8310
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
Conflicts:
includes/gateways/cod/class-wc-gateway-cod.php
2014-05-08 15:06:20 +01:00
Mike Jolley
1308662946
Option to toggle enable_for_virtual for COD, rather than just doing it.
...
Closes #5399
2014-05-08 15:05:34 +01:00
Mike Jolley
a4b6c4eb4f
Merge pull request #5415 from tamarazuk/patch-2
...
COD: no need to hide in admin
2014-05-08 15:04:55 +01:00
Mike Jolley
488f24f01b
Prevent empty session data being stored until a cookie or session exists to retrieve it.
2014-05-08 10:36:19 +01:00
Mike Jolley
ffb6dcee4a
Brackets
2014-05-08 10:35:51 +01:00
Mike Jolley
53deeb4be5
Cleaned up logic in email_instructions functions for @splashingpixels
2014-05-07 15:54:22 +01:00
Mike Jolley
3670afdffb
[2.2] get_user and get_user_id methods
...
Closes #5429
2014-05-07 15:11:34 +01:00
Mike Jolley
83f1236875
[2.2] Simplified attribute name sanitisation which maintains UTF8 char integrity.
...
Fixes #5434
2014-05-07 15:02:03 +01:00
toddlahman
912aca6907
Use WP SEO class method rather than deprecated fn
...
Notice: wpseo_get_value is deprecated since version WPSEO 1.5.0! Use
WPSEO_Meta::get_value() instead.
2014-05-07 03:40:21 -07:00
Tamara Zuk
a9ebcdd8c6
COD: check if cart is available before checking if it needs shipping
2014-05-06 16:04:25 -04:00
Mike Jolley
9665239ba7
param comment Fixes #5408
2014-05-06 16:06:32 +01:00
Mike Jolley
18294e715d
Trim commas and empty lines off address formats Fixes #5411
2014-05-06 16:04:11 +01:00
Mike Jolley
63fc4262b6
Merge pull request #5418 from tamarazuk/backorders_allowed
...
Introduce woocommerce_product_backorders_allowed filter
2014-05-06 15:09:56 +01:00
Mike Jolley
8c90915f09
Merge pull request #5413 from maxrice/fix-rest-api-order-response
...
Fix fee/coupon lines typo in REST API order response
2014-05-06 15:07:00 +01:00
Mike Jolley
32a770cf0e
Merge pull request #5416 from bolderelements/patch-2
...
Update abstract-wc-shipping-method.php
2014-05-06 14:53:10 +01:00
Mike Jolley
0f81541870
Revise how variation attributes are deleted/updated
...
Prevents issues with WPE caching when you delete and then update right
after.
2014-05-06 10:47:23 +01:00
Mike Jolley
ffa1db6ae6
Add $package to is_available shipping method hooks
2014-05-06 09:34:25 +01:00
Dave Mainville
cabc84bf61
Closes #5424
2014-05-05 16:37:57 -04:00
Tamara Zuk
651f1ac96f
Introduce woocommerce_product_backorders_allowed filter
2014-05-04 17:29:43 -04:00
bolderelements
fb80f6ba09
Update abstract-wc-shipping-method.php
...
The order is backward so if you use the default 'is_available' function for your extensions, the 'excluding' option will always deny every country because this line returns an empty array.
2014-05-03 15:59:01 -04:00
tamarazuk
ec1b16340b
COD: no need to hide in admin
...
Also fixes a fatal error when WC()->payment_gateways()->get_available_payment_gateways() is called in the admin
2014-05-03 01:32:37 -04:00
Max Rice
a007f2e8d7
Fix fee/coupon lines typo in REST API order response
2014-05-02 15:26:30 -04:00
Mike Jolley
72849cb4db
Stop sending line items to Mijireh Fixes #5365
...
Like PayPal, Mijireh struggles with out prices including tax due to
rounding errors. Since the validation cannot be disabled, its better to
just send the order as 1 item. This will prevent rounding errors and
payment failures.
Prices excluding tax are unaffected.
2014-05-01 15:29:28 +01:00
Mike Jolley
173d483ac0
Add tool for disabling shipping rate cache for debug
2014-05-01 14:40:31 +01:00
Mike Jolley
b7efaea79f
Tidyup brackets
2014-05-01 14:40:31 +01:00
Mike Jolley
13caa07cc2
Sanitize, but decode. UTF-8 Friendly. Fixes #5401
...
Originally changed 34db5d68b6
2014-05-01 14:40:31 +01:00
Mike Jolley
c9378cf092
Merge pull request #5402 from aMoniker/master
...
fix case-insensitive matching for coupon posts with uppercase chars
2014-05-01 12:23:04 +01:00
Nabil Kadimi
246b9ba1fa
Make the welcome page RTL compatible. Fixes #5405
2014-05-01 09:50:19 +01:00
Jim Greenleaf
3b1f54f86c
fix case-insensitive matching for coupon posts with uppercase chars
2014-04-30 23:29:29 -04:00
Coen Jacobs
34726ab6bc
Merge branch '2.1'
...
Conflicts:
i18n/languages/woocommerce-admin.pot
i18n/languages/woocommerce.pot
includes/admin/post-types/class-wc-admin-cpt-product.php
includes/class-wc-form-handler.php
package.json
readme.txt
woocommerce.php
2014-04-30 14:30:42 +02:00
Mike Jolley
ae50b3e4ce
Remove title from product not purchasable message
2014-04-30 10:05:05 +01:00
Mike Jolley
55ad5bb0ad
Remove title from product not purchasable message
2014-04-30 10:04:16 +01:00
Mike Jolley
d20c0c30c2
Prevent duplicate admin menu items Closes #5380
2014-04-29 15:23:49 +01:00
Josh Eaton
082f9f647d
Update comment to reflect that parameter template_name for wc_get/locate_template() only accepts strings
...
Fixes #5389
2014-04-29 15:23:41 +01:00
splashingpixels
a1be23537a
gateway COD added instructions to email closes #5385
2014-04-29 15:21:14 +01:00
tamarazuk
f01e4d0820
Another action hook in Inventory product data tab
...
allow plugins to create a new options_group in this tab
2014-04-29 15:21:10 +01:00
tamarazuk
25b45ae8e3
Add action filter in inventory product data
...
Allows plugins to add meta fields after stock status/backorders even if woocommerce_manage_stock is turned off.
2014-04-29 15:21:06 +01:00
Mike Jolley
9aa0eb034c
Update abstract docblock
2014-04-29 15:20:54 +01:00
Mike Jolley
cb61f703e6
Don't sanitise rate ID - breaks utf8 chars
...
Fixes #5376
2014-04-29 15:20:49 +01:00
Mike Jolley
85ccd2a788
Added brackets
2014-04-29 15:20:46 +01:00
Mike Jolley
739e23ec20
1 filter rather than 2 Closes #5361
2014-04-29 15:20:42 +01:00
Mike Jolley
1f8da71703
Abstract product constructor
...
Check for numeric $product, and expand the checking to see if its
passed a post object. Fixes #5341
2014-04-29 15:20:13 +01:00
claudiosmweb
0cc98a740a
improved the get_order_total() method
2014-04-29 15:17:53 +01:00
claudiosmweb
aeecccce19
added method to check if order needs shipping in "pay for order" page
2014-04-29 15:17:49 +01:00
Mike Jolley
76df3d6e2c
[2.2] Hide COD for virtual orders (no shipping) Closes #5369
2014-04-29 15:17:30 +01:00
claudiosmweb
67e29eade6
removed not defined $wp variable in favor to get_query_var() function
2014-04-29 15:16:08 +01:00
claudiosmweb
4f11effbcd
updated the method to get the order id from "pay for order" page
2014-04-29 15:16:05 +01:00
claudiosmweb
e24d6b247b
updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237
2014-04-29 15:16:02 +01:00
Mike Jolley
634a93a936
Ignore variation stock if disabled globally Closes #5370
2014-04-29 15:10:48 +01:00
Mike Jolley
be360e3e02
Recount true when recounting terms Fixes #5320
2014-04-29 15:10:28 +01:00
Mike Jolley
45f9954c10
Let get_file get the first file if no ID is defined
...
#5296
2014-04-29 15:10:21 +01:00
Mike Jolley
01e10b75c8
Allow saving no downloads, if unset
...
#5296
2014-04-29 15:10:12 +01:00
Mike Jolley
005c24a7c9
Check has_file when sending order emails for downloadables
...
Fixes #5296
2014-04-29 15:09:28 +01:00
Mike Jolley
afafc066eb
typecast $used_by to array in case its not set. Closes #5350
2014-04-29 15:09:17 +01:00
Mike Jolley
9be6b3635c
If billing email is not set and user ID is set, use email
...
Fixes #5356
2014-04-29 15:08:23 +01:00
Mike Jolley
7895857d32
URL decode when viewing order attributes to prevent taxonomies not being found
...
Closes #5315
2014-04-29 15:07:45 +01:00
Mike Jolley
2802ded47e
Change label and add description Closes #4698
2014-04-29 15:07:06 +01:00
Max Rice
7e2fa1bbd6
Clear cached API reports when deleting shop order transients
2014-04-29 15:05:43 +01:00
Remi Corson
17abdb223a
fixed incorrect order received endpoit tooltip
2014-04-29 15:03:22 +01:00
splashingpixels
902e7e2506
fixed my account downloadables out of order
2014-04-29 15:02:51 +01:00
Akeda Bagus
86de4e10e1
Typo fix.
2014-04-29 15:02:43 +01:00
Christian Thomas
ede8bc1a2a
Update class-wc-emails.php
...
Check for a value against each meta item before outputting.
2014-04-29 15:02:38 +01:00
Akeda Bagus
e4a959e397
Removes unused block and var.
...
There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
2014-04-29 15:02:29 +01:00
claudiosmweb
92707eaf55
fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php
2014-04-29 15:02:03 +01:00
claudiosmweb
8ae788f73c
added method to stop save duplicate sku in quick edit
2014-04-29 15:01:32 +01:00
splashingpixels
8f5a98583a
removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318
2014-04-29 15:01:21 +01:00
Bass Jobsen
06af53bd8c
Update class-wc-frontend-scripts.php
...
See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
2014-04-29 15:00:46 +01:00
Max Rice
0e127a3e10
Update REST API documentation link
2014-04-29 14:59:12 +01:00
Mike Jolley
64ebb7c0eb
Prevent duplicate admin menu items Closes #5380
2014-04-29 14:03:16 +01:00
Mike Jolley
116476c45b
Merge pull request #5390 from jjeaton/locate-template-comment
...
Update comment to reflect that parameter template_name for wc_get/locate...
2014-04-29 12:22:36 +01:00
Josh Eaton
3d8daf7054
Update comment to reflect that parameter template_name for wc_get/locate_template() only accepts strings
...
Fixes #5389
2014-04-28 16:04:21 -04:00
mkayan-wakefly
84f531f848
Update class-wc-checkout.php
...
Recalculating the cart totals, in the event a user registers during checkout and in doing so qualifies for any discounts
2014-04-28 14:20:45 -04:00
Mike Jolley
746b79a49d
Merge pull request #5384 from tamarazuk/patch-1
...
Add action filter in inventory product data
2014-04-28 16:01:35 +01:00
Mike Jolley
3e1d5feaf3
Merge pull request #5353 from tamarazuk/backorder-variations
...
Backorders at variation level
2014-04-28 15:27:36 +01:00
splashingpixels
945d4bedc6
gateway COD added instructions to email closes #5385
2014-04-27 21:17:40 -07:00
tamarazuk
44d197cde0
Another action hook in Inventory product data tab
...
allow plugins to create a new options_group in this tab
2014-04-27 19:25:07 -04:00
tamarazuk
47baf952e6
Add action filter in inventory product data
...
Allows plugins to add meta fields after stock status/backorders even if woocommerce_manage_stock is turned off.
2014-04-27 16:18:58 -04:00
Mike Jolley
ca9955fa9a
Update stock amounts with DB queries Closes #5367
...
@claudiosmweb and @coenjacobs please review
2014-04-25 15:28:02 +01:00
Mike Jolley
bf553381b9
Merge pull request #5374 from claudiosmweb/fix-cod-in-pay-for-order-page
...
Improved the COD
2014-04-25 12:34:14 +01:00
Mike Jolley
3d8f7963df
Update abstract docblock
2014-04-25 12:33:14 +01:00
Mike Jolley
34db5d68b6
Don't sanitise rate ID - breaks utf8 chars
...
Fixes #5376
2014-04-25 12:31:58 +01:00
Mike Jolley
d168686478
Added brackets
2014-04-25 12:31:58 +01:00
Mike Jolley
cd4bf515b7
Merge pull request #5375 from claudiosmweb/4820-feature-translate-edit-address-slugs
...
Make possible to translate the edit-address endpoint slugs
2014-04-25 10:46:14 +01:00
Mike Jolley
02acbfa07e
1 filter rather than 2 Closes #5361
2014-04-25 10:43:30 +01:00
Mike Jolley
630eeb4945
Merge pull request #5373 from claudiosmweb/5237-feature-max-transaction-amount
...
Feature maximum transaction amount for payment gateways
2014-04-25 10:20:54 +01:00
Mike Jolley
0e1fcbda64
Abstract product constructor
...
Check for numeric $product, and expand the checking to see if its
passed a post object. Fixes #5341
2014-04-25 10:19:00 +01:00
claudiosmweb
79a8986f06
added the possibility to translate the edit-address endpoint slugs, closes #4820
2014-04-24 18:18:41 -03:00
claudiosmweb
fe467282cd
improved the get_order_total() method
2014-04-24 15:49:41 -03:00
claudiosmweb
d7e26d993c
added method to check if order needs shipping in "pay for order" page
2014-04-24 15:33:14 -03:00
claudiosmweb
64a40c8657
removed not defined $wp variable in favor to get_query_var() function
2014-04-24 15:03:33 -03:00
claudiosmweb
4ac0b28537
updated the method to get the order id from "pay for order" page
2014-04-24 14:52:17 -03:00
claudiosmweb
47d14e9df3
updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237
2014-04-24 14:39:20 -03:00
Mike Jolley
3d584bc09a
Ignore variation stock if disabled globally Closes #5370
2014-04-24 16:44:01 +01:00
Mike Jolley
6efbf89cd3
[2.2] Hide COD for virtual orders (no shipping) Closes #5369
2014-04-24 16:37:31 +01:00
Mike Jolley
558a7bbe25
Recount true when recounting terms Fixes #5320
2014-04-24 16:09:03 +01:00
Mike Jolley
9c37d83f11
Let get_file get the first file if no ID is defined
...
#5296
2014-04-24 16:00:35 +01:00
Mike Jolley
5862bfb2fe
Allow saving no downloads, if unset
...
#5296
2014-04-24 16:00:17 +01:00
Mike Jolley
9b873093eb
Check has_file when sending order emails for downloadables
...
Fixes #5296
2014-04-24 16:00:01 +01:00
Mike Jolley
a6a65a2a9d
typecast $used_by to array in case its not set. Closes #5350
2014-04-24 15:26:38 +01:00
Mike Jolley
bf0fafa17b
If billing email is not set and user ID is set, use email
...
Fixes #5356
2014-04-24 14:45:57 +01:00
Mike Jolley
a6a44a3959
URL decode when viewing order attributes to prevent taxonomies not being found
...
Closes #5315
2014-04-23 16:24:05 +01:00
Mike Jolley
c09f710775
Merge pull request #5334 from ragulka/valid-order-statuses-improvements
...
Valid order statuses improvements
2014-04-23 15:07:15 +01:00
Mike Jolley
247bd15f68
Change label and add description Closes #4698
2014-04-23 14:24:20 +01:00
Mike Jolley
e7898f8670
[2.2] Protect admins from shop managers
...
Closes #5322
2014-04-23 14:18:21 +01:00
Mike Jolley
45f1c8a40f
Merge pull request #5359 from splashingpixels/feature-edit-password
...
added a check for current password on password change closes #5177
2014-04-23 11:39:01 +01:00
Mike Jolley
c24ca386cc
Template cleanup
2014-04-23 11:37:05 +01:00
Mike Jolley
433b8c1d41
Template cleanup
2014-04-23 11:35:43 +01:00
splashingpixels
fde72164a4
added a check for current password on password change closes #5177
2014-04-22 12:01:57 -07:00
Max Rice
f5d3d1d74f
Clear cached API reports when deleting shop order transients
2014-04-22 15:01:08 -04:00
Mike Jolley
cae3148d55
Merge pull request #5342 from tivnet/patch-2
...
Update class-wc-admin-cpt-product.php
2014-04-22 16:56:10 +01:00
Mike Jolley
53d10f8c7f
Merge pull request #5344 from tivnet/patch-3
...
Docblock fix: wc_product_post_type_link
2014-04-22 16:49:56 +01:00
Mike Jolley
1cf3f3e73d
Merge pull request #5319 from splashingpixels/passwords
...
removed wc_clean/sanitize_text_field not needed. handled by wp core func...
2014-04-22 16:46:40 +01:00
Mike Jolley
dbe99502bb
Merge pull request #5331 from corsonr/settings-tooltip
...
fixed incorrect "order received" endpoint tooltip
2014-04-22 16:34:50 +01:00
Mike Jolley
49f452928a
Merge pull request #5330 from splashingpixels/downloads-order-my-account
...
fixed my account downloadables out of order
2014-04-22 16:34:27 +01:00
Mike Jolley
6572caa1a0
Merge pull request #5326 from christian-thomas/patch-1
...
Update class-wc-emails.php
2014-04-22 16:23:38 +01:00
Mike Jolley
5274599e11
Merge pull request #5325 from gedex/refactor_cpt-shop_order_custom_columns
...
Removes unused block and var.
2014-04-22 16:23:18 +01:00
Mike Jolley
534579f5ad
Merge pull request #5327 from gedex/typo-fix
...
Typo fix.
2014-04-22 16:21:31 +01:00
Mike Jolley
9b58f80547
Merge pull request #5321 from claudiosmweb/fix-quick-edit-duplicate-sku
...
Prevent duplicate sku when edit product using quick edit
2014-04-22 16:18:02 +01:00
Mike Jolley
8dab698f55
Merge pull request #5317 from bassjobsen/patch-3
...
Update class-wc-frontend-scripts.php
2014-04-22 16:17:02 +01:00
Tamara Zuk
7ba3089909
Backorders at variation level
...
Added a new select metabox for variations allowing users to control
backorders at the variation level.
Might need more testing.
ref: #5351
2014-04-21 21:13:13 -04:00
Gregory Karpinsky
424954743e
Docblock fix: wc_product_post_type_link
2014-04-19 09:44:55 -04:00
Gregory Karpinsky
cac847c068
Update html-bulk-edit-product.php
...
The view part of "Sold Individually" bulk edit
2014-04-18 16:16:22 -04:00
Gregory Karpinsky
a45061b456
Update class-wc-admin-cpt-product.php
...
To handle bulk edit of "Sold Individually".
(The view part will follow in the next edit)
2014-04-18 16:13:13 -04:00
Illimar Tambek
f07ff6acb5
Introduce `woocommerce_valid_order_statuses_for_payment_complete` filter
...
Since it's possible to filter the valid order statuses for payments and cancels,
it only makes sense to be able to do the same when checking which statuses
are valid for completing a payment.
2014-04-17 19:28:52 +03:00
Illimar Tambek
cbfd17437c
Use `woocommerce_valid_order_statuses_for_payment` in `pay_action` too
...
Even though it was possible to filter the statuses in my-order.php and other places,
it was not possible in the actual pay action.
2014-04-17 19:27:39 +03:00
Remi Corson
7e955ba1f9
fixed incorrect order received endpoit tooltip
2014-04-17 11:03:47 +02:00
splashingpixels
c5deab6fe6
fixed my account downloadables out of order
2014-04-16 21:23:45 -07:00
Akeda Bagus
2a97f07d47
Typo fix.
2014-04-15 22:56:35 +07:00
Christian Thomas
a410e84fbe
Update class-wc-emails.php
...
Check for a value against each meta item before outputting.
2014-04-15 16:01:20 +01:00
Akeda Bagus
8ae455eef9
Removes unused block and var.
...
There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
2014-04-15 21:55:59 +07:00
Mike Jolley
c451bc95dc
For customer search, join once. Performance increase.
2014-04-15 11:11:00 +01:00
claudiosmweb
a016d82321
fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php
2014-04-14 16:15:19 -03:00
claudiosmweb
eb54adf697
added method to stop save duplicate sku in quick edit
2014-04-14 15:46:43 -03:00
splashingpixels
cc86fcc775
removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318
2014-04-13 23:29:22 -07:00
Bass Jobsen
182b7c1ad5
Update class-wc-frontend-scripts.php
...
See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
2014-04-14 01:06:17 +02:00
Max Rice
fe5d757970
Update REST API documentation link
2014-04-10 12:27:27 -04:00
Coen Jacobs
4afeb7926c
Merge branch 'refs/heads/2.1'
...
Conflicts:
i18n/languages/woocommerce-admin.pot
i18n/languages/woocommerce.pot
includes/class-wc-form-handler.php
package.json
readme.txt
templates/checkout/form-shipping.php
templates/emails/email-addresses.php
woocommerce.php
2014-04-10 16:42:08 +02:00
Mike Jolley
7fd971b3ff
Add label explaining discount field Closes #5300
2014-04-10 13:58:15 +01:00
Mike Jolley
3228fecbe5
Work out cart discount without tax amounts #5300
2014-04-10 13:58:10 +01:00
claudiosmweb
31cb09aec6
fixed some coding standards in includes/admin/settings/class-wc-settings-general.php
2014-04-10 13:57:25 +01:00
claudiosmweb
a0ac62efca
added validation when save the frontend colors, closes #5298
2014-04-10 13:57:20 +01:00
Mike Jolley
6fa57f707d
Tweak reports query generator to reference table names
...
Fixes #5278
2014-04-10 13:57:02 +01:00
Mike Jolley
b97181c08a
get_image_id method + use in email template
...
Closes #5288
2014-04-10 13:56:56 +01:00
Mike Jolley
f89147bd94
Remove nonce from comment form to prevent issues with caching
2014-04-10 13:55:23 +01:00
Gerhard
7ac9c39469
Fix _wc_session_expires autoloading
2014-04-10 13:54:07 +01:00
Mike Jolley
cc682f15d9
Only show upgrade notices, and use transient cache
...
Closes #5211
2014-04-10 13:53:44 +01:00
Mike Jolley
5850b9329b
Prevent notices on activation Closes #5216
2014-04-10 13:53:34 +01:00
Mike Jolley
8b59eb3bdb
Delete term count transients after stock status change and trashed post
...
Closes #5286
2014-04-10 13:52:49 +01:00
Mike Jolley
99592a3efc
cleaned up download handler, use network_site_url instead of network_admin_url for multisite
2014-04-10 13:52:33 +01:00
Mike Jolley
c4c63982f9
During save_meta_boxes, only save for the "main" post being saved, not nested or subsequent save_post events
...
fixes #5229
2014-04-10 13:51:49 +01:00
Mike Jolley
01ee1089ec
When hierarchy is off, only show children in the cat widget. Closes
...
#5245
2014-04-10 13:51:28 +01:00
Mike Jolley
fc906b12d8
woocommerce_coupon_get_discount_amount filter in coupon class
...
Closes #5244
2014-04-10 13:50:52 +01:00
Mike Jolley
192c74eee6
Remove post_parent so grouped simple products are also returned
...
Fixes #5178
2014-04-10 13:50:36 +01:00
Mike Jolley
66a1b93fec
Clean up labels and default cost to 0 for int shipping
...
Closes #5219
2014-04-10 13:50:17 +01:00
Mike Jolley
b4d63270b6
Stay on checkout when removing coupon Closes #5274
2014-04-10 13:50:13 +01:00
Gregory Karpinsky
5d8ace5d81
Update class-wc-admin-duplicate-product.php
...
Initialize `$sql_query_sel` before loop - to avoid code validation warning.
2014-04-10 13:49:58 +01:00
Gregory Karpinsky
3ac0005eec
Update class-wc-admin-duplicate-product.php
...
Corrected docblock for `dupe_link()`
2014-04-10 13:49:55 +01:00
Gregory Karpinsky
84e7c12095
Update class-wc-admin-duplicate-product.php
...
PHP Strict standards: Only variables should be assigned by reference
2014-04-10 13:49:52 +01:00
Max Rice
7ae0715624
Allow query string fallback for REST API SSL auth
...
In some environments, the PHP_AUTH_USER/PW server vars are empty which
prevents SSL authentication from working properly. This commit allows
the use of a query string fallback (e.g.
`?consumer_key=123&consumer_secret=abc`) for providing credentials over
SSL.
Fixes #5207
2014-04-10 13:49:37 +01:00
Max Rice
bde7b1cde9
Remove unnecessary OAuth code
...
The parameters provided to the API endpoints only contain the
parameters specified in the method signature so there’s no need to
strip out the OAuth params.
2014-04-10 13:49:25 +01:00
Remi Corson
ed09cb7ff2
Removed break line and space
2014-04-10 13:49:19 +01:00
Remi Corson
6491f1da80
Optimized is_paying_customer()
2014-04-10 13:49:15 +01:00
Mike Jolley
d43a48eb79
Clear featured transients when needed Closes #5254
2014-04-10 13:49:09 +01:00
Remi Corson
14267660da
Added is_paying_customer() to easily check if a user is a WC customer:
...
Usage:
`
$customer = new WC_Customer();
$out = 'Paying customer ? ';
if( $customer->is_paying_customer( 10 ) ) {
$out .= "yes";
} else {
$out .= "no";
}
echo $out;
`
2014-04-10 13:48:54 +01:00
Max Rice
ca8e0380e5
API: double-encode percent symbols when normalizing parameters
2014-04-10 13:48:13 +01:00
Max Rice
ba41a28654
API: normalize both key and value before calculating OAuth signature
...
The OAuth spec indicates that the full query string should be URL
encoded. The array_walk method does not change keys so when used with a
parameter like `filter[period]=week`, the key is not properly encoded.
This fixes that by properly encoding both the key and value.
2014-04-10 13:47:59 +01:00
Max Rice
3b26370117
code standards
2014-04-10 13:47:52 +01:00
Mike
3fb15a4e78
Change \WC_Order::add_order_note cap to edit_shop_order instead of manage_woocommerce
2014-04-10 13:47:47 +01:00
splashingpixels
afc17dad40
myaccount registration added check for auto generate password option
2014-04-10 13:47:34 +01:00
Patrick Rauland
ce2f2e1c3d
adding spaces after text for title in local delivery
2014-04-10 13:47:17 +01:00
Patrick Rauland
f9fafc7d16
using spaces after text
2014-04-10 13:47:13 +01:00
Manos Psychogyiopoulos
d6f8ef13d0
Allow filtering order statuses in dashboard reports widget
2014-04-10 13:47:09 +01:00
Gregory Karpinsky
0402400043
Update html-admin-page-status-report.php
...
Use `$wpdb->db_version()` instead of `mysql_get_server_info()` deprecated in PHP 5.5
2014-04-10 13:46:47 +01:00
Mike Jolley
e78323e1e4
Ensure _order_currency is set. Closes #5232
2014-04-10 13:46:28 +01:00
Mike Jolley
9e4d0b1114
Chunk option names in cleanup_sessions() Closes #5225
2014-04-10 13:46:20 +01:00
Patrick Rauland
d15edfff15
updating coupon email restriction tool tip
2014-04-10 13:46:01 +01:00
Max Rice
e739214e25
Use is_ssl() for get_woocommerce_api_url()
...
When accessing the API over OAuth for a site that has the checkout
forced over SSL, the OAuth string to sign is incorrect. This fixes that
by checking whether the current request is SSL when returning the api
URL
2014-04-10 13:45:56 +01:00
Andrew Benbow
5ceb59b28f
Update class-wc-cart.php
2014-04-10 13:45:04 +01:00
Andrew Benbow
40fa2659ee
Update class-wc-cart.php
2014-04-10 13:45:01 +01:00
Andrew Benbow
df9a876e87
Update class-wc-cart.php
2014-04-10 13:44:58 +01:00
Mike Jolley
206feeabe8
When removing base taxes, round to precision.
2014-04-10 13:41:47 +01:00
Mike Jolley
f9b223bc7a
Check order exists when resuming on checkout
2014-04-10 13:41:35 +01:00
pauloiankoski
dc2f6928eb
Apply filters to $product_type
...
Apply filters to $product_type and we can set a default product type to new products.
2014-04-10 13:39:13 +01:00
Mike Jolley
39c574d201
Correctly round shipping + shipping tax together when passes the tax inclusive total to paypal
2014-04-10 13:37:21 +01:00
Mike Jolley
a2f3bb97c1
Fix the SKU search logic so it works with other filters. Closes #5208
2014-04-10 13:37:01 +01:00
Andrew Benbow
92a62c4ae4
Resolve conflict
2014-04-10 13:34:46 +01:00
Mike Jolley
d6f5a6f868
wp_kses_post for meta display in admin
2014-04-10 13:32:35 +01:00
profetes
23ecb9a2c5
WC API: can generate API keys for different user than the one that is making request
2014-04-10 13:28:00 +01:00
Mike Jolley
2192db9fca
Add label explaining discount field Closes #5300
2014-04-09 15:58:22 +01:00
Mike Jolley
070aadeda0
Work out cart discount without tax amounts #5300
2014-04-09 15:50:17 +01:00
claudiosmweb
89772bf970
fixed some coding standards in includes/admin/settings/class-wc-settings-general.php
2014-04-08 19:11:33 -03:00
claudiosmweb
a969952266
added validation when save the frontend colors, closes #5298
2014-04-08 19:08:04 -03:00
Mike Jolley
f869e12aac
[2.2] Missed one file for #5284
2014-04-08 16:29:29 +01:00
Mike Jolley
937db45913
[2.2] Merge ship to billing and billing only options
...
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
Mike Jolley
e3cb3a4cc8
Tweak reports query generator to reference table names
...
Fixes #5278
2014-04-08 15:46:59 +01:00
Mike Jolley
94fb5e4aab
Merge pull request #5292 from kloon/fix-session-autoloading
...
Fix _wc_session_expires autoloading
2014-04-08 15:39:09 +01:00
Mike Jolley
2a27663f1f
get_image_id method + use in email template
...
Closes #5288
2014-04-08 15:02:11 +01:00
Mike Jolley
af70da5ebb
Remove nonce from comment form to prevent issues with caching
2014-04-08 09:37:01 +01:00
Gerhard
daf4c4ff9f
Fix _wc_session_expires autoloading
2014-04-08 09:35:04 +02:00
Mike Jolley
128eeb164c
Only show upgrade notices, and use transient cache
...
Closes #5211
2014-04-07 16:39:19 +01:00
Mike Jolley
97c92bc7c8
Prevent notices on activation Closes #5216
2014-04-07 15:57:52 +01:00
Mike Jolley
324e17d85f
[2.2] Allow spaces and use formatted postcodes for wildcard in local pickup
...
Fixes #5250 . Should go in 2.2 since it could affect existing setup
codes.
2014-04-07 15:46:40 +01:00
Mike Jolley
dc6c70cf77
Delete term count transients after stock status change and trashed post
...
Closes #5286
2014-04-07 15:16:54 +01:00
Mike Jolley
e06906f81d
cleaned up download handler, use network_site_url instead of network_admin_url for multisite
2014-04-07 15:09:11 +01:00
Mike Jolley
64c9f275b4
During save_meta_boxes, only save for the "main" post being saved, not nested or subsequent save_post events
...
fixes #5229
2014-04-07 14:15:51 +01:00
Mike Jolley
ecbc6aac9c
When hierarchy is off, only show children in the cat widget. Closes
...
#5245
2014-04-07 12:59:38 +01:00
Mike Jolley
24c9d8b2e4
woocommerce_coupon_get_discount_amount filter in coupon class
...
Closes #5244
2014-04-07 10:26:43 +01:00
Mike Jolley
08b94299d3
Remove post_parent so grouped simple products are also returned
...
Fixes #5178
2014-04-07 10:19:13 +01:00
Mike Jolley
392e1d57c0
Merge pull request #5210 from plprofetes/master
...
REST API: fix for generating API keys for different user
2014-04-07 10:16:47 +01:00
Mike Jolley
021a889e66
Merge pull request #5277 from maxrice/rest-api-fix-5207
...
Allow query string fallback for REST API SSL authentication
2014-04-07 10:13:55 +01:00
Mike Jolley
eadedddd1c
Merge pull request #5270 from maxrice/master
...
Normalize both key and value before generating OAuth signature
2014-04-07 10:13:10 +01:00
Mike Jolley
02a1735674
Clean up labels and default cost to 0 for int shipping
...
Closes #5219
2014-04-07 10:07:13 +01:00
Mike Jolley
09bf77c74b
Stay on checkout when removing coupon Closes #5274
2014-04-07 09:51:12 +01:00
Mike Jolley
0dd30d6b89
Merge pull request #5282 from tivnet/patch-3
...
Update class-wc-admin-duplicate-product.php
2014-04-07 09:23:55 +01:00
Mike Jolley
9410bde762
Merge pull request #5281 from tivnet/patch-2
...
Update class-wc-admin-duplicate-product.php
2014-04-07 09:23:42 +01:00
Gregory Karpinsky
198f52d16e
Update class-wc-admin-duplicate-product.php
...
Initialize `$sql_query_sel` before loop - to avoid code validation warning.
2014-04-05 13:16:46 -04:00
Gregory Karpinsky
cad45b0cf3
Update class-wc-admin-duplicate-product.php
...
Corrected docblock for `dupe_link()`
2014-04-05 13:10:32 -04:00
Gregory Karpinsky
06ee47a611
Update class-wc-admin-duplicate-product.php
...
PHP Strict standards: Only variables should be assigned by reference
2014-04-05 12:58:28 -04:00
Max Rice
09451855f2
Allow query string fallback for REST API SSL auth
...
In some environments, the PHP_AUTH_USER/PW server vars are empty which
prevents SSL authentication from working properly. This commit allows
the use of a query string fallback (e.g.
`?consumer_key=123&consumer_secret=abc`) for providing credentials over
SSL.
Fixes #5207
2014-04-04 14:24:14 -04:00
Max Rice
1dd24501f5
Remove unnecessary OAuth code
...
The parameters provided to the API endpoints only contain the
parameters specified in the method signature so there’s no need to
strip out the OAuth params.
2014-04-04 14:22:06 -04:00
Mike Jolley
ec5abdd0f6
Merge pull request #5273 from corsonr/master
...
Added is_paying_customer() to easily check if a user is a WC customer
2014-04-04 14:23:53 +01:00
Remi Corson
7886a4d95d
Removed break line and space
2014-04-04 15:23:15 +02:00
Remi Corson
e475521a85
Optimized is_paying_customer()
2014-04-04 15:18:10 +02:00
Mike Jolley
a569c9fd7d
Clear featured transients when needed Closes #5254
2014-04-04 14:16:18 +01:00
Mike Jolley
be7d2cffda
Merge pull request #5267 from mgmartel/add-order-note-cap
...
Change capability to add order note to edit_shop_order
2014-04-04 13:59:40 +01:00
Mike Jolley
8e7cd1ff40
Merge pull request #5259 from splashingpixels/myaccount-registration
...
myaccount registration added check for auto generate password option
2014-04-04 13:58:44 +01:00
Mike Jolley
51f5108aa0
Merge pull request #5255 from tivnet/patch-1
...
Update html-admin-page-status-report.php
2014-04-04 13:54:12 +01:00
Mike Jolley
862613e45f
Merge pull request #5256 from franticpsyx/dashboard_reports_widget
...
Allow filtering order statuses in dashboard reports widget
2014-04-04 13:52:42 +01:00
Remi Corson
94c93800b4
Added is_paying_customer() to easily check if a user is a WC customer:
...
Usage:
`
$customer = new WC_Customer();
$out = 'Paying customer ? ';
if( $customer->is_paying_customer( 10 ) ) {
$out .= "yes";
} else {
$out .= "no";
}
echo $out;
`
2014-04-04 09:38:56 +02:00
Max Rice
1c437bdeb8
API: double-encode percent symbols when normalizing parameters
2014-04-03 16:56:26 -04:00
Max Rice
853520d40b
API: normalize both key and value before calculating OAuth signature
...
The OAuth spec indicates that the full query string should be URL
encoded. The array_walk method does not change keys so when used with a
parameter like `filter[period]=week`, the key is not properly encoded.
This fixes that by properly encoding both the key and value.
2014-04-03 16:11:51 -04:00
Max Rice
9f463e4644
code standards
2014-04-03 16:10:08 -04:00
Mike
16463e339e
Change \WC_Order::add_order_note cap to edit_shop_order instead of manage_woocommerce
2014-04-03 14:33:54 +02:00
splashingpixels
ff5384714f
myaccount registration added check for auto generate password option
2014-04-01 19:45:25 -07:00
Patrick Rauland
ceef4bc528
adding spaces after text for title in local delivery
2014-04-01 16:58:45 -05:00
Patrick Rauland
fd28f81147
using spaces after text
2014-04-01 16:55:36 -05:00
Manos Psychogyiopoulos
96daed0034
Allow filtering order statuses in dashboard reports widget
2014-04-01 22:35:57 +03:00
Gregory Karpinsky
464e7ed3a5
Update html-admin-page-status-report.php
...
Use `$wpdb->db_version()` instead of `mysql_get_server_info()` deprecated in PHP 5.5
2014-04-01 14:10:06 -04:00
Mike Jolley
342737907a
Ensure _order_currency is set. Closes #5232
2014-04-01 15:33:01 +01:00
Mike Jolley
6deac5cf4b
Chunk option names in cleanup_sessions() Closes #5225
2014-04-01 15:33:00 +01:00
Mike Jolley
6ba84559d8
Merge pull request #5248 from maxrice/master
...
Use is_ssl() for get_woocommerce_api_url()
2014-04-01 14:34:51 +01:00
Patrick Rauland
1db1a47cf5
updating coupon email restriction tool tip
2014-03-31 15:54:21 -05:00
Max Rice
ebf7603a45
Use is_ssl() for get_woocommerce_api_url()
...
When accessing the API over OAuth for a site that has the checkout
forced over SSL, the OAuth string to sign is incorrect. This fixes that
by checking whether the current request is SSL when returning the api
URL
2014-03-31 16:22:17 -04:00
Mike Jolley
c981bb56ca
Merge pull request #5230 from ChromeOrange/master
...
show shipping form filter
2014-03-31 11:56:57 +01:00
Mike Jolley
24c2c845b7
When removing base taxes, round to precision.
2014-03-31 11:12:12 +01:00
Mike Jolley
edf54ad0c8
Check order exists when resuming on checkout
2014-03-31 11:12:12 +01:00
Andrew Benbow
b3fc8cbdf6
Update class-wc-cart.php
2014-03-28 14:40:56 +00:00
Andrew Benbow
a8e941513c
Update class-wc-cart.php
2014-03-28 14:10:53 +00:00
Andrew Benbow
290043b108
Update class-wc-cart.php
2014-03-28 10:41:17 +00:00
pauloiankoski
fd5435f7ee
Apply filters to $product_type
...
Apply filters to $product_type and we can set a default product type to new products.
2014-03-27 20:37:00 -03:00
Mike Jolley
ebb6af921c
Correctly round shipping + shipping tax together when passes the tax inclusive total to paypal
2014-03-27 12:31:48 +00:00
Mike Jolley
2fbb257926
Merge pull request #5206 from ChromeOrange/master
...
Order cancelled tweaks
2014-03-26 10:50:31 +00:00
Mike Jolley
df8e54985c
Fix the SKU search logic so it works with other filters. Closes #5208
2014-03-26 10:46:42 +00:00
Andrew Benbow
e8bc26f51c
Update class-wc-form-handler.php
...
Updated as per comments
2014-03-26 09:58:51 +00:00
Mike Jolley
2c0cf925dd
wp_kses_post for meta display in admin
2014-03-26 09:43:14 +00:00
profetes
77a5b601ed
WC API: can generate API keys for different user than the one that is making request
2014-03-25 17:22:48 +01:00
James Koster
80479d67a4
flat rate additional costs table
2014-03-25 14:10:42 +00:00
James Koster
c5656ee991
flat rate additional costs table
2014-03-25 13:59:30 +00:00
Mike Jolley
59b48c2945
Possible workaround for @BFTrick's issue.
2014-03-25 13:40:58 +00:00
Mike Jolley
8f09dc1ae2
delete terms transient during recount. #5204
2014-03-25 13:40:55 +00:00
Mike Jolley
2f605e75e5
Brackets
2014-03-25 13:40:51 +00:00
Mike Jolley
b7df01724c
Don't use esc_attr for storage of meta key
2014-03-25 13:40:48 +00:00
Andrew Benbow
d6782567a2
Order cancelled tweaks
...
Add filters for order cancelled message, change message class from
success to info and allow to be filtered
2014-03-25 12:10:08 +00:00
Mike Jolley
a21f8a3d47
delete terms transient during recount. #5204
2014-03-25 11:55:57 +00:00
Mike Jolley
dd0e026ae7
Possible workaround for @BFTrick's issue.
2014-03-25 11:36:54 +00:00
Mike Jolley
9c913de1f2
Brackets
2014-03-25 11:36:35 +00:00
Mike Jolley
8e60cd9554
Don't use esc_attr for storage of meta key
2014-03-24 13:53:40 +00:00
tamarazuk
2f47b7df48
Order items added through admin (ajax)
...
- Store variation data for order items added through the admin
- do 'woocommerce_ajax_add_order_item_meta' action only if $item_id exists
- fixed some indenting
2014-03-24 12:12:43 +00:00
claudiosmweb
af89bb8252
becomes possible to translate the credit card form placeholders
2014-03-24 12:12:12 +00:00
bolderelements
eb990d8b3b
Update abstract-wc-email.php
...
wp_mail does return a bool just in case something goes wrong with the function so it might be nice to carry it through. While extending this class I thought it might be a good idea to double check everything I can.
2014-03-24 12:12:08 +00:00
vlinicx
27d940ea94
Update wc-core-functions.php
...
Adding a currency symbol to Croatian currency
2014-03-24 12:11:53 +00:00
Patrick Rauland
c4201add98
fixing typo in product classes
2014-03-24 12:11:43 +00:00
Patrick Rauland
4cf8152602
fixing cool typo. see #5189
2014-03-24 12:11:39 +00:00
Md Ariful Haque Khan
900483ad87
Bangladeshi states (districts) list add and state label rename.
2014-03-24 12:11:25 +00:00
Brent Shepherd
d4661d6623
Add wc_cart_totals_taxes_total_html()
...
Also introduces the new 'woocommerce_cart_totals_taxes_total_html' filter.
2014-03-24 12:10:41 +00:00
Brent Shepherd
16d935a2cb
Add 'woocommerce_cart_taxes_total' filter
2014-03-24 12:10:37 +00:00
Mike Jolley
865c04c5cf
Escape the change log contents when displaying it from wordpress.org
2014-03-24 12:10:10 +00:00
Mike Jolley
8815e2f93d
Fix encoding issue with attribute values and move variation data to tooltip Closes #5169
2014-03-24 12:09:21 +00:00
Mike Jolley
a720cc8ad4
WC()->api_request_url for PayPal and Mijireh Closes #5183
2014-03-24 12:08:45 +00:00
Mike Jolley
2b5351ae95
Related to #5041 , there is not a way to retrieve these dynamic transient names and use delete_transient, so if using object caching we must flush
2014-03-24 12:07:29 +00:00
Mike Jolley
981ea3734a
Refactored report transients to use fixed names based on the report classname. Allows use of delete_transient and Fixes #5041
2014-03-24 12:07:24 +00:00
Mike Jolley
7da02708ce
Correct property #5041
2014-03-24 12:07:16 +00:00
Mike Jolley
985cef955a
Remove break #5041
2014-03-24 12:07:13 +00:00
Mike Jolley
85e33a71ea
Clear object cache for orders + products #5041
2014-03-24 12:07:10 +00:00
Mike Jolley
bd93a0023a
Merge pull request #5199 from tamarazuk/patch-1
...
Order items added through admin (ajax)
2014-03-24 10:54:49 +00:00
Mike Jolley
34f2170a47
Merge pull request #5198 from claudiosmweb/credit_card_form
...
Becomes possible to translate the credit card form placeholders
2014-03-24 10:47:10 +00:00
Mike Jolley
a9df2eed00
Merge pull request #5188 from neconest/master
...
Bangladeshi states (districts) list add and state label rename.
2014-03-24 10:42:44 +00:00
Mike Jolley
d9eff07669
Merge pull request #5195 from bolderelements/patch-1
...
Update abstract-wc-email.php
2014-03-24 10:38:47 +00:00
tamarazuk
b58acfa970
Order items added through admin (ajax)
...
- Store variation data for order items added through the admin
- do 'woocommerce_ajax_add_order_item_meta' action only if $item_id exists
- fixed some indenting
2014-03-24 02:02:21 -04:00
claudiosmweb
7ba14b4bd7
becomes possible to translate the credit card form placeholders
2014-03-23 19:51:27 -03:00
bolderelements
4ce392c7f8
Update abstract-wc-email.php
...
wp_mail does return a bool just in case something goes wrong with the function so it might be nice to carry it through. While extending this class I thought it might be a good idea to double check everything I can.
2014-03-23 13:09:01 -04:00
Md Ariful Haque Khan
7c1377e5d2
Merge remote-tracking branch 'upstream/master'
2014-03-23 15:52:59 +06:00
vlinicx
61ac7fbc9a
Update wc-core-functions.php
...
Adding a currency symbol to Croatian currency
2014-03-22 14:33:25 +01:00
Patrick Rauland
abd8a36ddc
fixing typo in product classes
2014-03-21 16:41:32 -05:00
Patrick Rauland
e4296cc5f7
fixing cool typo. see #5189
2014-03-21 16:37:26 -05:00
Md Ariful Haque Khan
6c028259ee
Bangladeshi states (districts) list add and state label rename.
2014-03-21 23:26:13 +06:00
Brent Shepherd
c7e6a779cb
Add wc_cart_totals_taxes_total_html()
...
Also introduces the new 'woocommerce_cart_totals_taxes_total_html' filter.
2014-03-20 17:54:42 -07:00
Brent Shepherd
49be7992e6
Add 'woocommerce_cart_taxes_total' filter
2014-03-20 17:54:18 -07:00
Mike Jolley
0dcfb797a7
Escape the change log contents when displaying it from wordpress.org
2014-03-20 16:04:33 +00:00
Mike Jolley
8007e4c102
Fix encoding issue with attribute values and move variation data to tooltip Closes #5169
2014-03-20 15:47:52 +00:00
Mike Jolley
3effa037b4
WC()->api_request_url for PayPal and Mijireh Closes #5183
2014-03-20 11:44:54 +00:00
Mike Jolley
66b44c5cfe
Related to #5041 , there is not a way to retrieve these dynamic transient names and use delete_transient, so if using object caching we must flush
2014-03-20 11:20:54 +00:00
Mike Jolley
8615d06a33
Refactored report transients to use fixed names based on the report classname. Allows use of delete_transient and Fixes #5041
2014-03-20 11:10:25 +00:00
Mike Jolley
3a54142299
URL decode attributes in admin so they display correctly (asian chars)
2014-03-20 10:03:09 +00:00
Mike Jolley
49a7d169ca
Remove this from earlier as it breaks foreign chars
2014-03-20 10:02:35 +00:00
Mike Jolley
73b415f055
esc_attr isn't suitable for meta keys
2014-03-20 10:02:31 +00:00
Mike Jolley
fb0948c2d0
Expanding line item_meta causes conflicts if attributes are named with things like 'name', 'type' or 'qty'. Added blacklist to exclude unsafe values. Closes #5100
2014-03-20 10:02:23 +00:00
Mike Jolley
e9d48ea28e
sync min and max prices for regular and sale prices so prices are displayed correctly when sale price is lower than a regular price of another variation
2014-03-20 10:01:51 +00:00
Mike Jolley
debd45bc19
get_children visible only arg to hide out of stock items. Moved logic.
2014-03-20 10:01:33 +00:00
Mike Jolley
7810d78cde
wc_session_use_secure_cookie filter
2014-03-20 10:01:26 +00:00
splashingpixels
ac53f7fbac
removed url decode from custom text attributes related to commit 7bce58e
2014-03-20 09:59:20 +00:00
Patrick Rauland
7e88c32ae7
fixing comma issue with free shipping coupon
2014-03-20 09:59:14 +00:00
Mike
f82fb6b8b8
Remove comment exclusion in order notes meta box
2014-03-20 09:59:11 +00:00
Mike Jolley
3cf6d78859
URL decode not needed for custom text attribute names Closes #5155
2014-03-20 09:58:40 +00:00
monirulalom
36c06c2a3d
Update wc-core-functions.php file
...
Update wc-core-functions.php file to add Bangladeshi currency and symbol.
2014-03-20 09:56:23 +00:00
Mike Jolley
afde101e50
Don't hide empty - do it at walker level to maintain correct counts and hierarchy Closes #5028
2014-03-20 09:55:46 +00:00
Mike Jolley
fa00577674
Fix term count corrections when a count is 0 #5028
2014-03-20 09:55:41 +00:00
Mike Jolley
6891768237
Hide empty at walker level #5028
2014-03-20 09:55:36 +00:00
Mike Jolley
da970638d5
Convert states to strings for PayPal Closes #5078
2014-03-20 09:55:14 +00:00
Mike Jolley
c39c4ca5a3
Fix term recount during WP callbacks Closes #5133
2014-03-20 09:54:44 +00:00
Mike Jolley
6dcc387978
Use is_purchasable to determine if a variation cart button is needed, and potentially show empty_price_html Closes #5137
2014-03-20 09:54:32 +00:00
Mike Jolley
2fed8e3f53
Fix sale flash for out of stock sale items Closes #5119
2014-03-20 09:52:19 +00:00
Mike Jolley
936c6e84b1
Correct discount calculation in admin when fees are involved. Closes #5103
2014-03-20 09:52:01 +00:00
Mike Jolley
dd44ea643b
Item meta list classes Closes #5083
2014-03-20 09:50:56 +00:00
Mike Jolley
ccddd1df05
Filter the filename Closes #5074
2014-03-20 09:50:12 +00:00
Mike Jolley
efc88fdb05
Move loop_end hook as it is generic and used in all WP loops
2014-03-20 09:49:35 +00:00
Gerhard
a049c63123
Remove opening bracket from AED currency symbol
2014-03-20 09:48:19 +00:00
Coen Jacobs
24f47553e2
Updated expiry times for transients
2014-03-20 09:45:43 +00:00
thenbrent
1f9ec54e76
Add 'woocommerce_cart_totals_fee_html' filter
2014-03-20 09:44:47 +00:00
InoPlugs Webdesign
3e82ea460a
Update class-wc-checkout.php
...
We need this hook to mark the fees our plugin (additional fee based on gateway) adds to the the order. Otherwise we can't tell if a fee was added by the user (Add fee button), by another plugin or by our plugin.
2014-03-20 09:41:45 +00:00
justinstern
d11b0e857d
Don't trailingslash Order Cancel URLs with a Query String
...
With non-pretty permalinks enabled, this was producing a URI like
http://example.com/?page_id=7/ That final unnecessary trailing slash
messes up some redirect gateways that are passed the cancel URL
2014-03-20 09:40:26 +00:00
Andrew Benbow
b3335d5521
Update class-wc-gateway-paypal.php
...
modify currency error message to include both sent and returned currencies for comparison
2014-03-20 09:40:14 +00:00
JustinSainton
7e871109e6
Filter JSON search customers query
...
Because the json_search_customer_name action is in the scope of $this, and there's no instance of it to allow remove_action() to play nicely with, it's really difficult to modify this query. And, unfortunately, it's quite non-performant on large user tables.
One possible option would be to allow users to filter this query directly. This PR reflects that approach.
For reference: https://gist.github.com/curtismchale/9470986 , #5095
2014-03-20 09:39:29 +00:00
crazyscience
4498395f2a
Fix for Issue #3367
...
Fixed a bug where the application attempts to schedule an event using a function name rather than a hook name
2014-03-20 09:24:41 +00:00
Coen Jacobs
47e8a76488
set_transient calls should have expiration to prevent autoloading
2014-03-19 16:04:03 +00:00
Mike Jolley
eee61a9d1a
URL decode attributes in admin so they display correctly (asian chars)
2014-03-19 15:54:26 +00:00
Mike Jolley
ed4f283627
Remove this from earlier as it breaks foreign chars
2014-03-19 15:32:07 +00:00
Mike Jolley
2d5d64dbd7
Merge pull request #5173 from splashingpixels/encoding
...
removed url decode from custom text attributes related to commit 7bce58e
2014-03-19 15:31:33 +00:00
Mike Jolley
bf30244791
Merge pull request #5172 from BFTrick/free-ship-coupon
...
An Extra Comma Appears When Using A Coupon That Gives Free Shipping
2014-03-19 15:00:29 +00:00
Mike Jolley
6355a0c54a
esc_attr isn't suitable for meta keys
2014-03-19 12:58:39 +00:00
Mike Jolley
2f9860c583
Expanding line item_meta causes conflicts if attributes are named with things like 'name', 'type' or 'qty'. Added blacklist to exclude unsafe values. Closes #5100
2014-03-19 12:58:39 +00:00
Mike Jolley
f09063b1fd
Merge pull request #5170 from mgmartel/order-comments-caps
...
Remove comment exclusion in order notes meta box
2014-03-19 10:57:07 +00:00
Mike Jolley
51482579d1
sync min and max prices for regular and sale prices so prices are displayed correctly when sale price is lower than a regular price of another variation
2014-03-19 10:51:07 +00:00
Mike Jolley
7f7dae0629
get_children visible only arg to hide out of stock items. Moved logic.
2014-03-19 10:06:13 +00:00
Mike Jolley
b1df70f17e
wc_session_use_secure_cookie filter
2014-03-19 09:16:28 +00:00
splashingpixels
c7bb4f0bbb
removed url decode from custom text attributes related to commit 7bce58e
2014-03-18 15:11:43 -07:00
Patrick Rauland
f7a63f0ae8
fixing comma issue with free shipping coupon
2014-03-18 16:29:15 -05:00
Mike
5a19abe48b
Remove comment exclusion in order notes meta box
2014-03-18 19:49:15 +02:00
Mike Jolley
7bce58e9a1
URL decode not needed for custom text attribute names Closes #5155
2014-03-18 11:36:38 +00:00
Mike Jolley
29da66f4e4
Merge pull request #5154 from monirulalom/patch-1
...
Update wc-core-functions.php file
2014-03-18 11:21:41 +00:00
Mike Jolley
9d1cb8316f
Correct property #5041
2014-03-18 11:18:35 +00:00
Mike Jolley
b366523c2c
Remove break #5041
2014-03-18 11:10:50 +00:00
Mike Jolley
251b8b411f
Clear object cache for orders + products #5041
2014-03-18 11:09:56 +00:00
monirulalom
7ea71912a0
Update wc-core-functions.php file
...
Update wc-core-functions.php file to add Bangladeshi currency and symbol.
2014-03-18 00:33:08 +06:00
Mike Jolley
95f4be04f9
Don't hide empty - do it at walker level to maintain correct counts and hierarchy Closes #5028
2014-03-17 16:52:24 +00:00
Mike Jolley
c4099ab136
Fix term count corrections when a count is 0 #5028
2014-03-17 16:52:06 +00:00
Mike Jolley
d9887bebbb
Hide empty at walker level #5028
2014-03-17 16:51:34 +00:00
Mike Jolley
8d33594e6a
Convert states to strings for PayPal Closes #5078
2014-03-17 15:23:11 +00:00
Mike Jolley
b47e73b5a6
Fix term recount during WP callbacks Closes #5133
2014-03-17 14:38:09 +00:00
Mike Jolley
b321d6297b
Use is_purchasable to determine if a variation cart button is needed, and potentially show empty_price_html Closes #5137
2014-03-17 12:12:10 +00:00
Mike Jolley
eaa2033570
Merge pull request #5097 from JustinSainton/patch-3
...
Filter JSON search customers query
2014-03-14 14:55:04 +00:00
Mike Jolley
7f417c0e8e
Fix sale flash for out of stock sale items Closes #5119
2014-03-14 13:41:25 +00:00
Mike Jolley
abfafa7ce3
Correct discount calculation in admin when fees are involved. Closes #5103
2014-03-14 13:20:59 +00:00
Mike Jolley
ad5f510979
Item meta list classes Closes #5083
2014-03-14 12:40:55 +00:00
Mike Jolley
cf50b4977d
Filter the filename Closes #5074
2014-03-14 10:04:41 +00:00
sparkweb
1280d6d6ff
Removing ordering code from orders
...
This code got moved to the resources file.
2014-03-13 11:14:08 -06:00
sparkweb
d40f773e77
REST API: allow ordering change
2014-03-13 11:08:36 -06:00
Mike Jolley
adc604e0e2
Move loop_end hook as it is generic and used in all WP loops
2014-03-13 13:07:47 +00:00
sparkweb
25900f9976
Allow reordering of the order list with the REST api
2014-03-12 23:47:42 -06:00
Mike Jolley
c27a5a3f4d
Merge pull request #5082 from crazyscience/patch-2
...
Fix for Issue #3367
2014-03-12 14:37:40 +00:00
Gerhard
37ed91cedf
Remove opening bracket from AED currency symbol
2014-03-12 15:50:51 +02:00
Mike Jolley
b160a00464
Pass args through for deprecated function Closes #5087
2014-03-12 14:38:03 +01:00
Mike Jolley
26b5ffa3d0
Only append generator tag on HTML pages Closes #5113
2014-03-12 14:38:03 +01:00
Mike Jolley
9a3b796bf4
Pass args through for deprecated function Closes #5087
2014-03-12 13:17:53 +00:00
Coen Jacobs
fa089f7c0d
Merge pull request #5077 from woothemes/transient-expiration
...
set_transient calls should have expiration to prevent autoloading
2014-03-12 13:02:42 +01:00
Coen Jacobs
3617316357
Updated expiry times for transients
2014-03-12 12:58:41 +01:00
Mike Jolley
49b8ad4378
Only append generator tag on HTML pages Closes #5113
2014-03-12 11:54:02 +00:00
Mike Jolley
8523fe8f34
Merge pull request #5114 from thenbrent/woocommerce_cart_totals_fee_html_filter
...
Add 'woocommerce_cart_totals_fee_html' filter
2014-03-12 11:35:43 +00:00
Mike Jolley
71bcef64a1
Merge pull request #5104 from InoPlugs/patch-2
...
Update class-wc-checkout.php
2014-03-12 11:34:29 +00:00
thenbrent
18efa7341a
Add 'woocommerce_cart_totals_fee_html' filter
2014-03-12 21:11:22 +10:00
InoPlugs Webdesign
a284d7fe69
Update class-wc-checkout.php
...
We need this hook to mark the fees our plugin (additional fee based on gateway) adds to the the order. Otherwise we can't tell if a fee was added by the user (Add fee button), by another plugin or by our plugin.
2014-03-11 19:48:51 +01:00
justinstern
6dfce64e47
Don't trailingslash Order Cancel URLs with a Query String
...
With non-pretty permalinks enabled, this was producing a URI like
http://example.com/?page_id=7/ That final unnecessary trailing slash
messes up some redirect gateways that are passed the cancel URL
2014-03-11 00:04:49 -04:00
Andrew Benbow
2f5fb72a9c
Update class-wc-gateway-paypal.php
...
modify currency error message to include both sent and returned currencies for comparison
2014-03-10 23:23:30 +00:00
JustinSainton
e91ca49b6d
Filter JSON search customers query
...
Because the json_search_customer_name action is in the scope of $this, and there's no instance of it to allow remove_action() to play nicely with, it's really difficult to modify this query. And, unfortunately, it's quite non-performant on large user tables.
One possible option would be to allow users to filter this query directly. This PR reflects that approach.
For reference: https://gist.github.com/curtismchale/9470986 , #5095
2014-03-10 14:54:27 -07:00
crazyscience
9898aee867
Fix for Issue #3367
...
Fixed a bug where the application attempts to schedule an event using a function name rather than a hook name
2014-03-07 11:17:11 -08:00
Coen Jacobs
03163c54b0
set_transient calls should have expiration to prevent autoloading
2014-03-07 09:29:01 +01:00
Mike Jolley
fbeb3bc822
Update LESS compiler and less files #5070
2014-03-06 17:29:52 +01:00
Mike Jolley
90914cc3c8
Update LESS compiler and less files #5070
2014-03-06 16:23:43 +00:00
splashingpixels
7a28434ab4
get_related fixed tags OR query not excluding product ID
2014-03-06 16:27:13 +01:00
Mike Jolley
a955a5ba5d
Fallback for add ons page loading
2014-03-06 16:26:47 +01:00
Mike Jolley
7aac055895
When getting downloadable files, check access_expires too Closes #5060
2014-03-06 16:26:47 +01:00
Mike Jolley
e2ea31fc94
pedantic nonce checking
2014-03-06 16:26:47 +01:00
Mike Jolley
d303e5d072
When dealing with fixed_product discounts, when doing it for the line, multiple by product qty Closes #5054
2014-03-06 16:26:47 +01:00
Mike Jolley
2c13c5c24e
Fix variation price display by checking if a variation is actually stock managed before comparing to stock amount Closes #5059
2014-03-06 16:26:47 +01:00
Mike Jolley
6e466d4fdb
Set default for $plain_text variable. Closes #5051
2014-03-06 16:26:47 +01:00
Mike Jolley
c3d5111c8d
Check existence of nonce Closes #5050
2014-03-06 16:26:47 +01:00
Mike Jolley
156098edb9
Fallback for add ons page loading
2014-03-06 15:25:05 +00:00
Mike Jolley
9068da2ece
When getting downloadable files, check access_expires too Closes #5060
2014-03-06 14:35:25 +00:00
Mike Jolley
88c666968e
Merge pull request #5043 from splashingpixels/related-products
...
get_related fixed tags OR query not excluding product ID
2014-03-06 13:26:26 +00:00
Mike Jolley
a553fd4956
pedantic nonce checking
2014-03-06 13:11:20 +00:00
Mike Jolley
24e884a480
When dealing with fixed_product discounts, when doing it for the line, multiple by product qty Closes #5054
2014-03-06 12:29:25 +00:00
Mike Jolley
ba466b3de9
Fix variation price display by checking if a variation is actually stock managed before comparing to stock amount Closes #5059
2014-03-06 12:07:28 +00:00
Mike Jolley
8971dc0d92
Set default for $plain_text variable. Closes #5051
2014-03-06 11:57:47 +00:00
Mike Jolley
d42bb7a285
Check existence of nonce Closes #5050
2014-03-06 11:37:48 +00:00
Gerhard
0463516020
Remove duplicate coupon type check
2014-03-06 10:08:27 +02:00
Gerhard
3b0c541acf
Send http status 201 when coupon created.
2014-03-06 09:59:28 +02:00
claudiosmweb
2adacc742a
fixed the status for create new customers via api
2014-03-06 04:28:42 -03:00
Gerhard
ae85e64b2b
Edit coupon, save product ID's in comma separates values as per core
2014-03-06 08:52:34 +02:00
Gerhard
518a8cffb2
Save product ID's as comma separated values like core does it
2014-03-06 08:51:00 +02:00
Gerhard
1b1c13349b
Do not url decode the body data, just add it. See https://oauth.googlecode.com/svn/spec/ext/body_hash/1.0/oauth-bodyhash.html
2014-03-06 08:42:05 +02:00
Gerhard
8e0a267a84
Remove implode function
2014-03-06 08:10:08 +02:00
Gerhard
d5171854a1
edit coupon, change comma separated data structures to arrays
2014-03-06 07:59:10 +02:00
Gerhard
6ddbc7e6ee
Change comma separate data to arrays
2014-03-06 07:55:49 +02:00
Gerhard
88d6e064fa
Add missing bracket
2014-03-06 07:50:05 +02:00
Gerhard
7e73f621c8
Add coupon type check when adding new coupon
2014-03-06 07:49:01 +02:00
Gerhard
d278896d31
Fix route comments, moved coupon code filter and remove wc_clean around it, check for valid coupon types.
2014-03-06 07:45:32 +02:00
claudiosmweb
e6755972b0
fixed the inline documentation
2014-03-05 14:24:47 -03:00
Mike Jolley
bfb32b9630
Suppress errors in download handler Closes #5042
2014-03-05 11:04:18 +01:00
Mike Jolley
fb20fc87b6
Use woocommerce_notify_no_stock_amount not 0, Closes #5035
2014-03-05 11:04:18 +01:00
Mike Jolley
914308765e
Recoded set_stock to only make a variable product out of stock if all variations are stock managed, to to resync prices after stock changes #5035
2014-03-05 11:04:18 +01:00
Mike Jolley
676a67bffb
Updated sync logic to exclude hidden and out of stock variations from the price display #5035
2014-03-05 11:04:18 +01:00
Mike Jolley
fa7629e8b8
Corrected the "Show Siblings and Children Only" queries Closes #5028
2014-03-05 11:04:18 +01:00
Patrick Rauland
b6d54a8ebe
returning false instead of array for countries without states
2014-03-05 11:04:18 +01:00
Mike Jolley
f44a4bc9d9
Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905
...
Conflicts:
includes/class-wc-form-handler.php
2014-03-05 11:04:14 +01:00
Mike Jolley
84a42f16cb
Add context to strings #4986
2014-03-05 11:02:53 +01:00
Mike Jolley
630eb61203
Later hook for template redirect and the_post Closes #4984
2014-03-05 11:02:53 +01:00
Mike Jolley
bb9299fa0c
Change the save order so email data is correct for manual orders Closes #4995
2014-03-05 11:02:53 +01:00
Mike Jolley
bf8f45fbc9
Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014
2014-03-05 11:02:53 +01:00
Mike Jolley
e81c018e60
wc_get_endpoint_url - added support for permalinks containing a query string Closes #5016
2014-03-05 10:58:36 +01:00
splashingpixels
5d96b666f1
shop order - fixes non object error on comments when order is in the trash
2014-03-05 10:58:36 +01:00
splashingpixels
8b8fe715b6
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-03-05 10:58:36 +01:00
claudiosmweb
0b08814227
improved the bacs email instructions
...
Conflicts:
includes/gateways/bacs/class-wc-gateway-bacs.php
2014-03-05 10:58:30 +01:00
claudiosmweb
1aa9840856
forced end of line in bank_details method to fix the #4999
...
Conflicts:
includes/gateways/bacs/class-wc-gateway-bacs.php
2014-03-05 10:57:55 +01:00
Patrick Rauland
74755555f5
adding plain text email flag to cheque
2014-03-05 10:57:02 +01:00
Patrick Rauland
d3476b8669
adding plain text email flag to bacs
2014-03-05 10:57:02 +01:00
Patrick Rauland
afc1c1e566
adding wordpress php formatting"
2014-03-05 10:57:02 +01:00
Mike Jolley
10190ab177
Ensure attributes exist
2014-03-05 10:57:02 +01:00
Mike Jolley
f683c29e66
Fix category widget ordering Closes #4971
2014-03-05 10:57:02 +01:00
Mike Jolley
508854effe
Fix reports by using strings - int's have a max. Closes #4904
2014-03-05 10:56:23 +01:00
Mike Jolley
f1189f5aac
Only show the relevant updates in the notices Closes #4977
2014-03-05 10:56:23 +01:00
Mike Jolley
5448e1bedc
Fix strict standards Closes #4980
2014-03-05 10:56:23 +01:00
Mike Jolley
624df4ea14
Suppress errors in download handler Closes #5042
2014-03-05 09:30:12 +00:00
Gerhard
8fdfbdf3ba
Add missing wpdb global
2014-03-05 09:42:12 +02:00
Gerhard
3bdf3e50cf
Add check for duplicate coupon code when updating coupon code
2014-03-05 09:34:01 +02:00
Gerhard
86ac5de9cf
Add filter to coupon code
2014-03-05 09:30:11 +02:00