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
Gerhard
db2de990e7
Modify duplicate coupon error code
2014-03-05 09:28:59 +02:00
Gerhard
f2f7e09143
Change duplicate coupon error code
2014-03-05 09:28:03 +02:00
Gerhard
826085698b
Validate coupon types
2014-03-05 09:25:11 +02:00
Gerhard
7dc7353e60
Coding standards & cleaning of data before saving
2014-03-05 08:07:42 +02:00
Gerhard
268ef2faab
Check if coupon was updated when using wp_update_post and return error if not
2014-03-05 08:03:10 +02:00
Gerhard
a2ecd3885c
edit_coupon REST API look for type and not discount_type
2014-03-05 07:59:27 +02:00
Gerhard
fa6eb98535
Rest API edit_coupon function
2014-03-05 07:43:13 +02:00
Gerhard
42d42ae751
REST API create_coupons function
2014-03-05 07:28:05 +02:00
claudiosmweb
344a0d92c6
improved the validation for WC_API_Customers::edit_customer() and WC_API_Customers::delete_customer()
2014-03-04 23:42:36 -03:00
claudiosmweb
f2d8912bc1
fixed coding standards in includes/api/class-wc-api-customers.php
2014-03-04 22:48:54 -03:00
splashingpixels
b279487535
get_related fixed tags OR query not excluding product ID
2014-03-04 16:19:12 -08:00
claudiosmweb
3b4b73851b
added missing textdomain
2014-03-04 18:05:55 -03:00
claudiosmweb
41a5b147e9
improved the WP_Error's ids in customers api
2014-03-04 18:05:22 -03:00
Gerhard
a53b93283c
Fix create coupon api method
2014-03-04 17:05:38 +02:00
Mike Jolley
e557ff5aec
Use woocommerce_notify_no_stock_amount not 0, Closes #5035
2014-03-04 14:46:17 +00:00
Mike Jolley
5c75f8a20e
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-04 14:45:27 +00:00
Mike Jolley
decfca94a4
Updated sync logic to exclude hidden and out of stock variations from the price display #5035
2014-03-04 14:44:24 +00:00
Gerhard
38f701e90a
Better coupon create error messages
2014-03-04 15:50:31 +02:00
Gerhard
70fb3c004d
Create coupons via API
2014-03-04 15:44:33 +02:00
Mike Jolley
56c1ce4bd9
Merge pull request #5031 from BFTrick/uk-counties
...
Returning False Instead of Empty Array for Countries Without States
2014-03-04 11:49:34 +00:00
Mike Jolley
e0b11c8c2e
Corrected the "Show Siblings and Children Only" queries Closes #5028
2014-03-04 11:47:17 +00:00
claudiosmweb
ee907b0c20
removed sanitize_text_field() function in favor to wc_clean() function in customers api
2014-03-04 02:48:17 -03:00
claudiosmweb
68b8c9f020
improved the customer api creation/edition
2014-03-03 23:01:07 -03:00
claudiosmweb
4204a86022
added method do delete customers via api
2014-03-03 22:16:54 -03:00
claudiosmweb
6c4f82665e
added the woocommerce_api_edit_customer action in WC_API_Customers::edit_customer()
2014-03-03 22:09:50 -03:00
claudiosmweb
906273c20b
added the woocommerce_api_create_customer action in WC_API_Customers::create_customer()
2014-03-03 22:09:05 -03:00
claudiosmweb
f54909f715
added method to edit customer via api
2014-03-03 22:07:28 -03:00
claudiosmweb
5b95346825
fixed the customer creation via api
2014-03-03 21:41:53 -03:00
claudiosmweb
371665cd79
added route to create customers via api
2014-03-03 21:13:44 -03:00
claudiosmweb
14b63541a3
Added the WC_API_Server::urldecode_deep() method
...
To make it possible to get a more complex data structure.
Example:
array( 'data' => array( 'key' => 'value' ), 'data2' => array( 'key' => 'value' ) )
2014-03-03 21:09:11 -03:00
claudiosmweb
584bfda988
added method to create users with the api
2014-03-03 21:04:40 -03:00
Patrick Rauland
f78482dd6e
returning false instead of array for countries without states
2014-03-03 16:04:00 -08:00
Mike Jolley
48ebfae145
Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905
2014-03-03 15:15:32 +00:00
Mike Jolley
31ee45cf5c
Add context to strings #4986
2014-03-03 14:47:19 +00:00
Mike Jolley
d9c10aae62
Later hook for template redirect and the_post Closes #4984
2014-03-03 13:37:45 +00:00
Mike Jolley
30eee00c1b
Change the save order so email data is correct for manual orders Closes #4995
2014-03-03 13:27:20 +00:00
Mike Jolley
1c0e55c685
Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014
2014-03-03 12:19:29 +00:00
Mike Jolley
47d1782b7e
Resolve conflicts
2014-03-03 11:59:47 +00:00
Mike Jolley
74e7829e02
wc_get_endpoint_url - added support for permalinks containing a query string Closes #5016
2014-03-03 11:54:53 +00:00
Mike Jolley
c6e63c663b
Merge pull request #4998 from BFTrick/plain-text-flag
...
Add Plain Text Flag Gateways
2014-03-03 10:53:53 +00:00
Mike Jolley
f2daf7aeec
Merge pull request #4997 from BFTrick/wp-bacs-formatting
...
Use WordPress Brace Code Style in BACS Gateway Class
2014-03-03 10:53:04 +00:00
Mike Jolley
ab3ebfd818
Merge pull request #5003 from splashingpixels/coupon
...
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-03-03 10:52:28 +00:00
splashingpixels
d357154d2f
shop order - fixes non object error on comments when order is in the trash
2014-02-28 22:08:42 -08:00
splashingpixels
5cfa0306f4
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-02-28 20:37:58 -08:00
claudiosmweb
5c540930c9
improved the bacs email instructions
2014-02-28 20:35:40 -03:00
claudiosmweb
08ae8d5416
forced end of line in bank_details method to fix the #4999
2014-02-28 20:31:53 -03:00
Patrick Rauland
a76714c0e9
adding plain text email flag to cheque
2014-02-28 16:13:13 -06:00
Patrick Rauland
694c6bb5ef
adding plain text email flag to bacs
2014-02-28 16:11:57 -06:00
Patrick Rauland
b274171f8c
adding wordpress php formatting"
2014-02-28 16:05:43 -06:00
Rob Davarnia
368bd05677
Update class-wc-shortcodes.php
2014-02-28 13:50:50 -08:00
Rob Davarnia
e7ca60b2a2
Ability to add custom quantity using shortcode
2014-02-28 13:43:31 -08:00
Mike Jolley
6fcdccd73b
Ensure attributes exist
2014-02-28 15:42:16 +00:00
Mike Jolley
3398941f3f
Fix category widget ordering Closes #4971
2014-02-28 15:27:20 +00:00
Mike Jolley
6a0dc3142f
Fix reports by using strings - int's have a max. Closes #4904
2014-02-28 14:51:37 +00:00
Mike Jolley
3492be6df0
Only show the relevant updates in the notices Closes #4977
2014-02-28 13:42:48 +00:00
Mike Jolley
e0b042a8d4
Fix strict standards Closes #4980
2014-02-28 10:54:34 +00:00
Mike Jolley
2727b62dec
Fix after tax coupon amounts
2014-02-27 15:53:36 +01:00
Mike Jolley
13add49e42
Hide shipping class if variation is virtual Closes #4972
2014-02-27 15:48:39 +01:00
Coen Jacobs
5ddba16f7f
Fixing the typo fix :)
2014-02-27 15:48:02 +01:00
tamarazuk
6fe0b461d0
Add Canadian address format
...
.. as per Canada Post's addressing guidelines: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1413985
2014-02-27 15:47:43 +01:00
JustinSainton
415dadc59e
Copypasta fix in docs.
2014-02-27 15:47:15 +01:00
Mike Jolley
8842f25b0e
round mijireh shipping amount
2014-02-27 15:46:51 +01:00
Mike Jolley
967aba149c
wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875
2014-02-27 15:46:23 +01:00
Mike Jolley
4685753e27
Prevent short codes running with no cart class loaded. Closes #4962
2014-02-27 15:46:11 +01:00
Mike Jolley
6e00477fd6
Tweak where message is added during reset to avoid needing a session Closes #4908
2014-02-27 15:45:47 +01:00
Mike Jolley
389bf99dad
Filters to restrict granting/revoking access to files Closes #4952
2014-02-27 15:45:18 +01:00
Mike Jolley
281c010af3
Changed braces and moved filter #4933
2014-02-27 15:44:25 +01:00
Gerhard
46a78e6936
Coding standards, mostly braces
2014-02-27 15:44:09 +01:00
Gerhard
5f3f7e5bb1
Drop guest checkout test and only check if order is for guest
2014-02-27 15:43:59 +01:00
Mike Jolley
c3bc0e61a7
Fix products_will_display logic
2014-02-27 15:43:07 +01:00
Gerhard
0b3d21c104
Should check for yes if guest checkout is enabled
2014-02-27 15:42:43 +01:00
Gerhard
2920fe0354
Move guest check to wc_customer_has_capability
2014-02-27 15:42:35 +01:00
Gerhard
bf3e5944d2
Update error message, making it clear to log in and try again.
2014-02-27 15:42:25 +01:00
Gerhard
ca3b143b36
Disable order owner check for payment if guest checkout is enabled as per #4957
2014-02-27 15:41:53 +01:00
lekiend
17cc7d7c1a
Update html-admin-page-status-report.php
...
Status report shows update also if update version is lower than current version.
It should show updates only for version number greather than current version
2014-02-27 15:41:43 +01:00
Gerhard
2fa9c2488e
Add permalinks_enabled data to API index
2014-02-27 15:41:23 +01:00
splashingpixels
39e5b81321
get related products added DISTINCT to prevent querying duplicates
2014-02-27 15:41:06 +01:00
Mike Jolley
6c337f122c
Ensure product exists before getting title. Closes #4916
2014-02-27 15:40:39 +01:00
Mike Jolley
0411d1f9df
Combine two meta queries into one #4901
2014-02-27 15:40:07 +01:00
Andrew Benbow
fc749a79fa
Update class-wc-tax.php
...
Compound tax rate calculation is wildly off.
Current tax settings : http://cld.wthms.co/Qeb6
Cart before proposed change : http://cld.wthms.co/ILXk
Cart after proposed change : http://cld.wthms.co/fjWO
2014-02-27 15:39:55 +01:00
Mike Jolley
c799aa1c57
Username from email hook Closes #4941
2014-02-27 15:39:05 +01:00
Gerhard
a8f4aaa677
Add filenames to Downloads section in My Account
2014-02-27 15:38:37 +01:00
Daniel Espinoza
4907e1d02d
Allow showing of empty categories using 'hide_empty' param of get_categories()
2014-02-27 15:33:26 +01:00
Patrick Rauland
1261e48bcc
commenting regex in flat rate shipping
2014-02-27 15:33:13 +01:00
Patrick Rauland
df72ff6fe7
using wordpress brace code style in flat rate shipping
2014-02-27 15:32:58 +01:00
Mike Jolley
500ce37c63
Fix variation level reporting Closes #4885
2014-02-27 15:32:47 +01:00
Mike Jolley
a0ffae78df
Layered nag - remember orderby #4889
2014-02-27 15:32:19 +01:00
Mike Jolley
17d03be635
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-27 15:31:53 +01:00
Mike Jolley
b3d4019ea0
Workaround relevanssi Closes #4873
2014-02-27 15:31:31 +01:00
Mike Jolley
5f3ce265ac
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-27 15:31:31 +01:00
Mike Jolley
3081c8812a
Limit item name lengths Closes #4922
2014-02-27 15:31:30 +01:00
Paul van der Meijs
093fce6238
Prevent ambiguous column error
2014-02-27 15:30:34 +01:00
Mike Jolley
cb4031f0c3
cancel_order - take no action if already cancelled.
2014-02-27 15:30:18 +01:00
Chuck Mac
10d2f9e22f
Passing post_id to the coupon save action
...
Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
2014-02-27 15:30:18 +01:00
Mike Jolley
c0ee22971d
remove un-wanted hentry from products Closes #4880
2014-02-27 15:29:49 +01:00
splashingpixels
a653bfa64b
layer nav using list OR was not displaying any terms fixes #4911
2014-02-27 15:29:21 +01:00
Justin Hill
1386625dae
Update abstract-wc-product.php
...
Add filter to is_taxable() method so that plugins can better control what is and isn't taxable based on various conditions, such as customer's billing or shipping address, etc.
2014-02-27 15:29:21 +01:00
Mike Jolley
4b38c58c9b
Transifex links
2014-02-27 15:25:32 +01:00
Mike Jolley
4a4680d9d5
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-27 15:25:19 +01:00
Mike Jolley
d57989ca62
Use get_col for sku search - return multiple results.
2014-02-27 15:24:39 +01:00
JustinSainton
fee1bc5200
capital_p_dangit()
2014-02-27 15:24:32 +01:00
Mike Jolley
ceacbb31bd
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
2014-02-27 15:24:26 +01:00
Mike Jolley
a215a94f5d
Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
...
@coenjacobs
2014-02-27 15:23:21 +01:00
Mike Jolley
465b9b9d5f
Only show settings link if method has_settings
2014-02-27 15:23:10 +01:00
Mike Jolley
f42d1a1e6f
Correctly join post meta to fix order searches Closes #4855
2014-02-27 15:22:37 +01:00
Scott Basgaard
c2e76851b2
Code clean up. Various undefined variables / notices.
2014-02-27 15:21:29 +01:00
Scott Basgaard
b1b93838c3
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-27 15:21:29 +01:00
Mike Jolley
61214a7eef
Sanitize screen id. Closes #4788
2014-02-27 15:21:09 +01:00
Mike Jolley
43d87e724e
Run array_unique on results of order search Closes #4855
2014-02-27 15:20:36 +01:00
Mike Jolley
f001d32bcd
Use md5 hash for transient names so that the lengths are valid. Closes #4851
2014-02-27 15:18:40 +01:00
Mike Jolley
2e8c2e7396
Fix after tax coupon amounts
2014-02-27 14:14:17 +00:00
Mike Jolley
439b982b48
Merge pull request #4954 from kloon/tweak_rest_api_index_pretty_permalinks
...
Add permalinks_enabled data to API index
2014-02-27 12:03:19 +00:00
Mike Jolley
5ae6dd056b
Hide shipping class if variation is virtual Closes #4972
2014-02-27 11:53:46 +00:00
Coen Jacobs
a891fb82d4
Fixing the typo fix :)
2014-02-27 12:33:00 +01:00
tamarazuk
510e46963a
Add Canadian address format
...
.. as per Canada Post's addressing guidelines: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1413985
2014-02-26 15:50:58 -05:00
JustinSainton
9b0ddb2bd3
Copypasta fix in docs.
2014-02-26 10:42:35 -08:00
Mike Jolley
d8f504849f
round mijireh shipping amount
2014-02-26 15:53:32 +00:00
Mike Jolley
41183d1663
wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875
2014-02-26 15:43:19 +00:00
Mike Jolley
215011aa1f
Prevent short codes running with no cart class loaded. Closes #4962
2014-02-26 15:27:26 +00:00
Mike Jolley
b06e0bb19e
Tweak where message is added during reset to avoid needing a session Closes #4908
2014-02-26 13:13:53 +00:00
Mike Jolley
1f3d2632ed
Filters to restrict granting/revoking access to files Closes #4952
2014-02-26 12:35:11 +00:00
Mike Jolley
4c5f1952c7
If the cart is updated only, trigger action and recalc totals Closes #4905
2014-02-26 12:14:50 +00:00
Mike Jolley
a0635c270b
Changed braces and moved filter #4933
2014-02-26 12:02:14 +00:00
Mike Jolley
173e3accd8
Merge pull request #4933 from growdev/master
...
Allow empty categories to show
2014-02-26 12:00:26 +00:00
Mike Jolley
94992cea38
Merge pull request #4961 from kloon/tweak_download_handler_coding_stardards
...
download_handler Coding standards, mostly braces
2014-02-26 11:57:06 +00:00
Gerhard
ab5d86097b
Coding standards, mostly braces
2014-02-26 13:54:16 +02:00
Mike Jolley
f79c7bed23
Merge pull request #4960 from kloon/tweak_guest_checkout_pay_link
...
Disable order owner check for payment link if guest checkout enabled
2014-02-26 11:48:42 +00:00
Gerhard
55a656715d
Drop guest checkout test and only check if order is for guest
2014-02-26 13:46:02 +02:00
Mike Jolley
5620020f6c
Fix products_will_display logic
2014-02-26 11:43:38 +00:00
Gerhard
5475192dad
Should check for yes if guest checkout is enabled
2014-02-26 13:30:08 +02:00
Gerhard
f64bc075a7
Move guest check to wc_customer_has_capability
2014-02-26 13:25:32 +02:00
Mike Jolley
d8afa1476e
Merge pull request #4953 from splashingpixels/master
...
get related products added DISTINCT to prevent querying duplicates
2014-02-26 11:13:49 +00:00
Gerhard
76c8727340
Update error message, making it clear to log in and try again.
2014-02-26 12:03:36 +02:00
Gerhard
4d1a115330
Disable order owner check for payment if guest checkout is enabled as per #4957
2014-02-26 11:57:28 +02:00
lekiend
41962f044f
Update html-admin-page-status-report.php
...
Status report shows update also if update version is lower than current version.
It should show updates only for version number greather than current version
2014-02-26 10:55:27 +01:00
Gerhard
dc65c525d0
Add permalinks_enabled data to API index
2014-02-26 07:50:51 +02:00
splashingpixels
f66be96f88
get related products added DISTINCT to prevent querying duplicates
2014-02-25 15:17:50 -08:00
Mike Jolley
6ff4ae1a7d
Merge pull request #4903 from splashingpixels/master
...
Ran through jshint and fixed coding standards
2014-02-25 15:51:50 +00:00
Mike Jolley
b2abcc3c89
Merge pull request #4944 from kloon/tweak_my_account_downloads_titles
...
Add filenames to Downloads section in My Account
2014-02-25 15:45:49 +00:00
Mike Jolley
2ae5400e37
Merge pull request #4945 from ChromeOrange/master
...
Compound tax rate calculation is wildly off.
2014-02-25 15:45:01 +00:00
Mike Jolley
6d7e7370c6
Merge pull request #4947 from BFTrick/shipping-php-standards
...
Use WordPress Brace Code Style in Flat Rate Shipping Class #2
2014-02-25 14:49:25 +00:00
Mike Jolley
e73aa65440
Ensure product exists before getting title. Closes #4916
2014-02-25 14:48:55 +00:00
Patrick Rauland
61a175173e
merging upstream changes
2014-02-25 08:07:39 -06:00
Mike Jolley
9a52c5dd43
Combine two meta queries into one #4901
2014-02-25 13:33:55 +00:00
Andrew Benbow
310cd61cc5
Update class-wc-tax.php
...
Compound tax rate calculation is wildly off.
Current tax settings : http://cld.wthms.co/Qeb6
Cart before proposed change : http://cld.wthms.co/ILXk
Cart after proposed change : http://cld.wthms.co/fjWO
2014-02-25 11:54:58 +00:00
Mike Jolley
3d4f16a7a4
Username from email hook Closes #4941
2014-02-25 11:40:54 +00:00
Gerhard
123d60912b
Add filenames to Downloads section in My Account
2014-02-25 12:48:36 +02:00
Mike Jolley
b16f83804f
Merge pull request #4932 from BFTrick/flat-rate-costs-regex
...
Comment RegEx in Flat Rate Shipping
2014-02-25 10:47:29 +00:00
Mike Jolley
979e12aaf1
Merge pull request #4935 from BFTrick/refactor-flat-rate-percentage-calc
...
Adding Method to Calculate Percentage Rate Adjustment for Flat Rate Shipping
2014-02-25 10:46:53 +00:00
Max Rice
7b67161d2f
Return request relative link headers, fixes #4925
...
When WordPress is running inside of a sub-directory,
get_woocommerce_api_url() returns the domain along with the
sub-directory path, which results in a duplicate path when the API
request string is added. This commit fixes this by fetching only the
home host and adding the request path to it. set_url_scheme() is used
to set the scheme to either http or https based on the request itself
instead of basing it on whether force_ssl_checkout is enabled or not.
2014-02-25 10:24:36 +01:00
Max Rice
5e48e5d682
Return request relative link headers, fixes #4925
...
When WordPress is running inside of a sub-directory,
get_woocommerce_api_url() returns the domain along with the
sub-directory path, which results in a duplicate path when the API
request string is added. This commit fixes this by fetching only the
home host and adding the request path to it. set_url_scheme() is used
to set the scheme to either http or https based on the request itself
instead of basing it on whether force_ssl_checkout is enabled or not.
2014-02-25 01:02:38 -05:00
Patrick Rauland
cf81e63b3c
adding new method to calculate percentage rate adjustment for flat rate shipping
2014-02-24 12:54:56 -06:00
Daniel Espinoza
3a37bec683
removing unnecessary action
2014-02-24 11:59:54 -06:00
Daniel Espinoza
bf8a825f2d
Allow showing of empty categories using 'hide_empty' param of get_categories()
2014-02-24 11:57:06 -06:00
Patrick Rauland
0fd11ad509
commenting regex in flat rate shipping
2014-02-24 11:40:26 -06:00
Daniel Espinoza
cfc30fe432
Merge branch 'master' of github.com:woothemes/woocommerce
2014-02-24 11:30:14 -06:00
Patrick Rauland
3888af3559
using wordpress brace code style in flat rate shipping
2014-02-24 11:17:33 -06:00
Mike Jolley
4789223f32
Fix variation level reporting Closes #4885
2014-02-24 17:10:08 +00:00
Mike Jolley
95ffe76841
Merge pull request #4919 from ChuckMac/Coupon_action
...
Passing post_id to the coupon save action
2014-02-24 15:48:23 +00:00
Mike Jolley
dcf4a50ca0
Layered nag - remember orderby #4889
2014-02-24 15:45:43 +00:00
Mike Jolley
9a115dc1f4
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-24 15:34:28 +00:00
Mike Jolley
373c35d7e8
Merge pull request #4912 from whatthefork/master
...
Update abstract-wc-product.php
2014-02-24 15:28:23 +00:00
Mike Jolley
36de82e428
Workaround relevanssi Closes #4873
2014-02-24 15:19:12 +00:00
Mike Jolley
38872b8536
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-24 15:14:32 +00:00
Mike Jolley
4280f5ab78
Limit item name lengths Closes #4922
2014-02-24 14:49:05 +00:00
Mike Jolley
eb48eb437f
Merge pull request #4924 from paulvandermeijs/develop-fix_exclude_protected_products
...
Prevent ambiguous column error
2014-02-24 12:35:48 +00:00
Paul van der Meijs
7daada95f9
Prevent ambiguous column error
2014-02-24 11:47:19 +01:00
Mike Jolley
f09db7a537
cancel_order - take no action if already cancelled.
2014-02-24 10:39:43 +00:00
Chuck Mac
ed952f4698
Passing post_id to the coupon save action
...
Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
2014-02-23 10:27:27 -05:00
Mike Jolley
7b639d45c7
remove un-wanted hentry from products Closes #4880
2014-02-23 11:13:42 +00:00
splashingpixels
7d96eb70ee
layer nav using list OR was not displaying any terms fixes #4911
2014-02-22 13:42:13 -08:00
Justin Hill
eed9485e6c
Update abstract-wc-product.php
...
Add filter to is_taxable() method so that plugins can better control what is and isn't taxable based on various conditions, such as customer's billing or shipping address, etc.
2014-02-22 13:15:41 -07:00
Mike Jolley
90b042573e
Transifex links
2014-02-21 15:29:42 +00:00
Mike Jolley
3ab6acc495
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-21 15:16:47 +00:00
Coen Jacobs
9f5ebda756
Merge pull request #4888 from JustinSainton/patch-1
...
capital_p_dangit()
2014-02-21 13:22:51 +01:00
Mike Jolley
78d48cc597
Use get_col for sku search - return multiple results.
2014-02-21 10:35:41 +00:00
JustinSainton
d64fc3a764
capital_p_dangit()
2014-02-21 00:47:42 -08:00
Mike Jolley
5062de9767
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
2014-02-20 16:39:57 +00:00
Mike Jolley
f35c3708bb
Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
...
@coenjacobs
2014-02-20 15:41:08 +00:00
Mike Jolley
c7a129c7fd
Only show settings link if method has_settings
2014-02-20 15:16:53 +00:00
Mike Jolley
fbccfca522
Correctly join post meta to fix order searches Closes #4855
2014-02-19 16:11:20 +00:00
Coen Jacobs
8fdf4d94cf
Merge pull request #4853 from scottbasgaard/master
...
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-19 17:09:21 +01:00
Mike Jolley
f1f7b84db9
Sanitize screen id. Closes #4788
2014-02-19 14:30:21 +00:00
Mike Jolley
3f8b314431
Run array_unique on results of order search Closes #4855
2014-02-19 14:27:09 +00:00
Mike Jolley
9303908d7b
Use md5 hash for transient names so that the lengths are valid. Closes #4851
2014-02-19 14:05:36 +00:00
Coen Jacobs
56ed38db10
Code standards for #4856
2014-02-18 12:28:51 +01:00
Gerhard
b4811c93d3
Fix COD warning when you have hide shipping methods until address entered selected
2014-02-18 12:28:51 +01:00
Coen Jacobs
1e410ebcdc
Code standards for #4856
2014-02-18 12:27:05 +01:00
Coen Jacobs
911e151423
Merge pull request #4856 from kloon/fix_cod_hidden_shipping_methods_error
...
Fix COD warning when you have hide shipping methods until address entered
2014-02-18 12:25:12 +01:00
Gerhard
3a9604bf78
Fix COD warning when you have hide shipping methods until address entered selected
2014-02-18 11:58:52 +02:00
Coen Jacobs
5094d2174a
Merge pull request #4847 from kloon/master
...
Add email lookup to customers endpoint, try at #4845
2014-02-18 10:47:50 +01:00
Scott Basgaard
39b83a3039
Code clean up. Various undefined variables / notices.
2014-02-17 22:09:58 +01:00
Scott Basgaard
563adcaa86
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-17 22:00:25 +01:00
Gerhard
a614e79ad4
update @since to 2.2
2014-02-17 19:17:40 +02:00
Gerhard
4fe3dd28fb
Move email lookup to own endpoint customers/email/<email>
2014-02-17 19:13:01 +02:00
Mike Jolley
e345281018
Handle get_rate_code when no matching rate is found. Prevents notices.
2014-02-17 16:36:21 +01:00
Mike Jolley
4d831d02ee
Fix notice when left blank
2014-02-17 16:36:21 +01:00
Mike Jolley
3be6664f05
Handle get_rate_code when no matching rate is found. Prevents notices.
2014-02-17 15:11:50 +00:00
Mike Jolley
8c7996e5b1
Fix notice when left blank
2014-02-17 14:54:06 +00:00
Gerhard
5c18fab238
Add back absint to validate function for customers by id endpoint
2014-02-17 16:44:08 +02:00
Gerhard
a7e659b6fa
Review customer/<email> endpoint, move into own function
2014-02-17 16:39:56 +02:00
Mike Jolley
f9251084d9
woocommerce_get_sections_{id} filters Closes #4817
2014-02-17 14:30:42 +00:00
Mike Jolley
1f295c9c69
Unify textdomains Closes #4814
2014-02-17 14:27:08 +01:00
Gerhard
88425e64cc
Add email lookup to customers endpoint, try at 4845
2014-02-17 15:19:11 +02:00
Mike Jolley
c0c21c8364
Unify textdomains Closes #4814
2014-02-17 13:14:45 +00:00
Mike Jolley
e09c7b6cb5
wc_get_product_ids_on_sale should return array of integers, not strings Closes #4825
2014-02-17 13:35:38 +01:00
Mike Jolley
8eed83ab08
Standards and some query tweaks for get_downloadable_products #4827
2014-02-17 13:35:38 +01:00
Mike Jolley
a3967af1d0
Code standards
2014-02-17 13:35:38 +01:00
Mike Jolley
7ab814ffa9
Order status check needs to be inside wc_downloadable_product_permissions so permissions are granted after completion. Closes #4826
2014-02-17 13:35:38 +01:00
Coen Jacobs
87c5274992
Better workaround for esc_url stripping spaces #4842
2014-02-17 13:35:38 +01:00
Coen Jacobs
a610e72c09
esc_attr instead of esc_url to preserve spaces in img src #4842
2014-02-17 13:35:38 +01:00
Mike Jolley
a2aa4ec9a9
Flip default status of price_trim_zeros
...
#4828 #4823 enabled with add_filter( 'woocommerce_price_trim_zeros',
'__return_true’ );
2014-02-17 13:35:38 +01:00
Mike Jolley
c64d25884e
define cart_session_data in constructor Closes #4822
2014-02-17 13:35:38 +01:00
Mike Jolley
af2a82a7d7
Make my-account/view-order use the template file
2014-02-17 13:35:38 +01:00
Art Project Group
3f9c9c23c9
Update class-wc-shortcode-cart.php
2014-02-17 13:33:10 +01:00
Art Project Group
0a90eba7fd
Prevent an error notice
...
It only shows when country has states and state was leave in blanc on
the form.
2014-02-17 13:33:10 +01:00
Coen Jacobs
00dfdb73e3
Merge pull request #4811 from claudiosmweb/fix_4281
...
Add the payment method title in order details
2014-02-17 13:27:38 +01:00
Mike Jolley
37573a93e2
wc_get_product_ids_on_sale should return array of integers, not strings Closes #4825
2014-02-17 12:20:10 +00:00
Mike Jolley
c3f514fa0a
Standards and some query tweaks for get_downloadable_products #4827
2014-02-17 11:58:14 +00:00
Mike Jolley
1e1490894e
Code standards
2014-02-17 10:50:36 +00:00
Mike Jolley
b22abbda90
Order status check needs to be inside wc_downloadable_product_permissions so permissions are granted after completion. Closes #4826
2014-02-17 10:50:00 +00:00
Coen Jacobs
e2ebb387f7
Better workaround for esc_url stripping spaces #4842
2014-02-17 11:48:43 +01:00
Coen Jacobs
a19266b955
esc_attr instead of esc_url to preserve spaces in img src #4842
2014-02-17 11:29:36 +01:00
Mike Jolley
7789d34baf
Merge pull request #4831 from artprojectgroup/master
...
Prevent an error notice
2014-02-17 10:20:44 +00:00
Mike Jolley
a67c91db7b
Flip default status of price_trim_zeros
...
#4828 #4823 enabled with add_filter( 'woocommerce_price_trim_zeros',
'__return_true’ );
2014-02-17 10:19:12 +00:00
Mike Jolley
ca782212de
define cart_session_data in constructor Closes #4822
2014-02-17 10:16:06 +00:00
Mike Jolley
0ddff220d5
Make my-account/view-order use the template file
2014-02-17 09:44:45 +00:00
Mike Jolley
57f7aeaa0c
Fix ampersands in plan text Closes #4799
2014-02-17 10:39:54 +01:00
Mike Jolley
6d0a31b491
Update docblocks
2014-02-17 10:39:53 +01:00
Art Project Group
4031c8b5d7
Update class-wc-shortcode-cart.php
2014-02-16 19:53:55 +01:00
Art Project Group
7d9a1e77a6
Prevent an error notice
...
It only shows when country has states and state was leave in blanc on
the form.
2014-02-16 15:44:24 +01:00
claudiosmweb
bc98201d26
added the payment method title in order details, closes #4281
2014-02-15 03:14:04 -02:00
vayu
db2d67590e
Added description parameter to the woocommerce_form_field function
...
With this it is possible to add a short description below every
checkout billing and shipping input field.
2014-02-15 00:19:49 +01:00
Mike Jolley
97dd163c5e
Fix ampersands in plan text Closes #4799
2014-02-14 15:37:30 +00:00
Mike Jolley
84e754e298
Update docblocks
2014-02-14 14:29:39 +00:00
Mike Jolley
5564e49b15
woocommerce_get_username_from_email filter for login Closes #4791
2014-02-14 12:52:39 +01:00
Gerhard
5c22b36cb7
REST API OAuth signature issue fix when using filter params
2014-02-14 12:52:39 +01:00
Mike Jolley
1996b7b7b5
Trash instead of force delete Closes #4785
2014-02-14 12:52:39 +01:00
Mike Jolley
9d47a60914
If you only ship to the billing address, ensure the shipping address data for customers is updated Closes #4786
2014-02-14 12:52:39 +01:00
Mike Jolley
8b4c81da13
Merge pull request #4796 from kloon/master
...
REST API OAuth signature issue fix when using filter params
2014-02-14 11:48:57 +00:00
Mike Jolley
e667d41497
woocommerce_get_username_from_email filter for login Closes #4791
2014-02-14 11:47:12 +00:00
Gerhard
30c1486aa7
REST API OAuth signature issue fix when using filter params
2014-02-14 13:26:31 +02:00
Mike Jolley
449c95029b
Trash instead of force delete Closes #4785
2014-02-14 11:21:14 +00:00
Mike Jolley
5bfa91f2b9
If you only ship to the billing address, ensure the shipping address data for customers is updated Closes #4786
2014-02-14 11:19:32 +00:00
Mike Jolley
4dcea21d76
Admin screen strings need to be sanitised to work with chinese chars Closes #4788
2014-02-14 11:58:50 +01:00
Mike Jolley
94693ea81d
Admin screen strings need to be sanitised to work with chinese chars Closes #4788
2014-02-14 10:57:48 +00:00
Mike Jolley
ee7db46934
Force a valid base when saving permalinks
2014-02-14 11:46:47 +01:00
Mike Jolley
69748cd4e3
Force a valid base when saving permalinks
2014-02-14 10:43:15 +00:00
tamarazuk
6f4a91e36e
Dashboard: Fixes # of "out of stock" products
...
Use woocommerce_notify_no_stock_amount rather than woocommerce_notify_low_stock_amount to count out of stock products
2014-02-14 09:22:06 +01:00
Coen Jacobs
7acc71d212
Merge pull request #4790 from tamarazuk/patch-1
...
Dashboard: Fixes # of "out of stock" products
2014-02-14 09:21:15 +01:00
Sean Cull
fa8a2a7f42
Added currency support for United Arab Emirates Dirham
2014-02-14 09:06:49 +01:00
Sean Cull
e2fab93c7a
Added currency support for United Arab Emirates Dirham
2014-02-14 02:17:22 -05:00
tamarazuk
d16fa41f05
Dashboard: Fixes # of "out of stock" products
...
Use woocommerce_notify_no_stock_amount rather than woocommerce_notify_low_stock_amount to count out of stock products
2014-02-14 00:06:30 -05:00
Mike Jolley
5930b5fe77
Fix paypal shipping via text
2014-02-13 21:42:13 +01:00
Mike Jolley
3bfbc9dfc5
Fix paypal shipping via text
2014-02-13 16:06:48 +00:00
Mike Jolley
5d411baa55
If logged in, and no billing_email is set, set it.
2014-02-13 16:53:32 +01:00
Mike Jolley
2853f706a5
Fix saving of fee tax total Closes #4774
2014-02-13 16:53:32 +01:00
Mike Jolley
1a92bfeb39
If logged in, and no billing_email is set, set it.
2014-02-13 15:51:16 +00:00
Mike Jolley
551ca62c3d
Fix saving of fee tax total Closes #4774
2014-02-13 15:42:17 +00:00
Mike Jolley
14944c849e
Fix term counts when terms span taxonomies Closes #4738
2014-02-13 16:01:19 +01:00
Mike Jolley
4179c342ce
Fix term counts when terms span taxonomies Closes #4738
2014-02-13 14:51:46 +00:00
Mike Jolley
86524a64f2
Update schemas before DBDELTA to fix mysql errors on update
2014-02-13 14:52:39 +01:00
Mike Jolley
e61d580aba
Buttonsource should be bn
...
@coenjacobs doesn’t have to be in read me
2014-02-13 14:52:39 +01:00
Paolo Albera
2991bee0b5
Update class-wc-countries.php
2014-02-13 14:52:39 +01:00
Mike Jolley
d59530013c
Set countries as an array by default in the shipping abstract
2014-02-13 14:52:39 +01:00
Mike Jolley
fa5c605aa7
View order shortcode is no longer used
2014-02-13 14:52:39 +01:00
Mike Jolley
32932b0a61
Tweak the order of checks in bulk_and_quick_edit_save_post to make it more efficient on autosave #4765
2014-02-13 14:52:39 +01:00
Mike Jolley
744732db7a
Update schemas before DBDELTA to fix mysql errors on update
2014-02-13 13:29:55 +00:00
Mike Jolley
fd88ea5201
Buttonsource should be bn
...
@coenjacobs doesn’t have to be in read me
2014-02-13 12:31:36 +00:00
Paolo Albera
394e743dbd
Update class-wc-countries.php
2014-02-13 13:12:47 +01:00
Mike Jolley
40dda33dda
View order shortcode is no longer used
2014-02-13 11:54:54 +00:00
Mike Jolley
566a9c4dc6
Set countries as an array by default in the shipping abstract
2014-02-13 11:54:54 +00:00
Mike Jolley
4fe91a0900
Tweak the order of checks in bulk_and_quick_edit_save_post to make it more efficient on autosave #4765
2014-02-13 11:01:43 +00:00
Mike Jolley
8a9aa5880f
Fix line total display for order fees Closes #4766
2014-02-13 11:28:50 +01:00
Mike Jolley
403e90008d
Fix line total display for order fees Closes #4766
2014-02-13 10:25:15 +00:00
Gerhard
f0dc27a47e
Fix variation download file url save for Amazon S3 extension.
2014-02-13 11:02:26 +01:00
Mike Jolley
5ed8527204
Merge pull request #4749 from kloon/master
...
Fix variation download file url save for Amazon S3 extension.
2014-02-13 10:01:03 +00:00
Mike Jolley
817ccb3999
The checkout's get_value method should return null if a value is not yet set - this allows the 'default' in woocommerce_form_field to be used as a fallback Closes #4746
2014-02-13 10:57:02 +01:00
Mike Jolley
5b5183bb35
The checkout's get_value method should return null if a value is not yet set - this allows the 'default' in woocommerce_form_field to be used as a fallback Closes #4746
2014-02-13 09:52:48 +00:00
Mike Jolley
b2592d267a
Only check DOING_AJAX
...
Not sure why, but some hosts are setting the HTTP_X_REQUESTED_WITH
header for seemingly non-ajax requests. Could be MT, could be cloud
flare, we don’t know.
2014-02-13 10:49:33 +01:00
Coen Jacobs
0fd0e991f2
Merge pull request #4767 from woothemes/is-ajax-mod
...
Only check DOING_AJAX for AJAX requests
2014-02-13 10:49:03 +01:00
James Koster
96c7437344
stock report icons. closes #4753
2014-02-13 10:44:59 +01:00
Mike Jolley
40fc9ef83e
Fixes Irony
2014-02-13 10:44:59 +01:00
James Koster
f2f919ebca
stock report icons. closes #4753
2014-02-13 09:38:08 +00:00
Mike Jolley
189c7c9647
Fixes Irony
2014-02-13 09:25:24 +00:00
claudiosmweb
02053f2d5c
removed all the_content filter in favor to wpautop() and do_shortcode() functions
2014-02-13 02:49:30 -02:00
Mike Jolley
78846adfd0
Only check DOING_AJAX
...
Not sure why, but some hosts are setting the HTTP_X_REQUESTED_WITH
header for seemingly non-ajax requests. Could be MT, could be cloud
flare, we don’t know.
2014-02-12 22:14:26 +00:00
Gerhard
75da5d829a
Fix variation download file url save for Amazon S3 extension.
2014-02-12 21:17:09 +02:00
Mike Jolley
7554cc8cd7
Fix to ensure stock status is updated, even when meta is blank. Prevents new products being hidden when the option to hide out of stock products is enabled.
2014-02-12 16:18:54 +01:00
Mike Jolley
d3dab23b75
When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650
2014-02-12 16:18:53 +01:00
Mike Jolley
3e38d1ff17
return a string for get_cart_url and get_remove_url Closes #4724
2014-02-12 16:18:53 +01:00
Mike Jolley
944327edfb
Vars in report classes Closes #4720
2014-02-12 16:18:53 +01:00
Mike Jolley
1ad409b36e
Return strings. Closes #4739
2014-02-12 16:18:53 +01:00
Mike Jolley
b62162ee3e
is_wc_endpoint_url Closes #4731
2014-02-12 16:18:53 +01:00
Mike Jolley
6956087829
Docblock Closes #4726
2014-02-12 16:18:53 +01:00
Mike Jolley
5e82c0478d
$packge is array Closes #4725
2014-02-12 16:18:53 +01:00
Mike Jolley
8d3c05f768
Tweak to structure when getting terms ordered by parent Closes #4729
2014-02-12 16:18:53 +01:00
claudiosmweb
cbeb3f48c5
fixed some coding standards in includes/wc-customer-functions.php
2014-02-12 16:14:52 +01:00
claudiosmweb
4132d604aa
fixed the indentation in includes/wc-customer-functions.php
2014-02-12 16:14:52 +01:00
claudiosmweb
f58f8672cc
prevents automatic password generation when making the registration in the My Account page, closes #4672
2014-02-12 16:14:52 +01:00
claudiosmweb
50e863e268
Removed wp_verify_nonce in wc_create_new_customer
...
The check is already done in includes/class-wc-form-handler.php 843 and includes/class-wc-checkout.php 398
On the registration made during checkout caused the error:
PHP Notice: Undefined index: register in woocommerce/includes/wc-customer-functions.php on line 53
2014-02-12 16:14:52 +01:00
Mike Jolley
1cafd4f566
Fix to ensure stock status is updated, even when meta is blank. Prevents new products being hidden when the option to hide out of stock products is enabled.
2014-02-12 14:38:56 +00:00
Mike Jolley
ca09b0a8bc
When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650
2014-02-12 13:05:20 +00:00
Mike Jolley
e713fc68b8
return a string for get_cart_url and get_remove_url Closes #4724
2014-02-12 12:33:02 +00:00
Mike Jolley
29b59cc74f
Vars in report classes Closes #4720
2014-02-12 12:26:32 +00:00
Mike Jolley
767eba990d
Return strings. Closes #4739
2014-02-12 12:21:36 +00:00
Mike Jolley
d7493b0b8a
is_wc_endpoint_url Closes #4731
2014-02-12 12:18:36 +00:00
Mike Jolley
60fbf90d7f
Docblock Closes #4726
2014-02-12 11:56:41 +00:00
Mike Jolley
878fe196ba
$packge is array Closes #4725
2014-02-12 11:54:43 +00:00
Mike Jolley
facd746f88
Tweak to structure when getting terms ordered by parent Closes #4729
2014-02-12 11:48:00 +00:00
Mike Jolley
fbda89f76c
Merge pull request #4730 from claudiosmweb/fix_4672
...
Corrections for the wc_create_new_customer() function
2014-02-12 11:40:56 +00:00
Mike Jolley
d1837896e4
Added tinymce buttons relevant to the short description
2014-02-12 11:44:21 +01:00
Mike Jolley
5da7cc05ce
Added tinymce buttons relevant to the short description
2014-02-12 09:49:13 +00:00
Mike Jolley
0ca8250108
Fix saving of checkboxes (off state) in widgets API
2014-02-12 10:32:39 +01:00
Mike Jolley
8ea9fd22df
Add versions to all scripts + styles to ensure browser cache is cleared
2014-02-12 10:32:39 +01:00
Mike Jolley
fbfdc0ea95
Fix saving of checkboxes (off state) in widgets API
2014-02-12 09:29:47 +00:00
Mike Jolley
1f1a925fdd
Add versions to all scripts + styles to ensure browser cache is cleared
2014-02-12 09:23:06 +00:00
claudiosmweb
2b3ce42284
fixed some coding standards in includes/wc-customer-functions.php
2014-02-11 17:57:15 -02:00
Gregory K
afabced6c7
wc_create_new_customer phpdoc fix
2014-02-11 20:52:10 +01:00
claudiosmweb
fe74ffc882
fixed the indentation in includes/wc-customer-functions.php
2014-02-11 17:51:10 -02:00
claudiosmweb
b68873a15b
prevents automatic password generation when making the registration in the My Account page, closes #4672
2014-02-11 17:50:55 -02:00
claudiosmweb
2900d9d330
Removed wp_verify_nonce in wc_create_new_customer
...
The check is already done in includes/class-wc-form-handler.php 843 and includes/class-wc-checkout.php 398
On the registration made during checkout caused the error:
PHP Notice: Undefined index: register in woocommerce/includes/wc-customer-functions.php on line 53
2014-02-11 17:42:22 -02:00
Gregory K
6626400361
wc_create_new_customer phpdoc fix
2014-02-11 11:39:22 -05:00
Coen Jacobs
ac80b0d880
Patched up docblock after faulty merge. Closes #4721
2014-02-11 17:30:43 +01:00
Coen Jacobs
a2f396d4ac
Patched up docblock after faulty merge. Closes #4721
2014-02-11 17:30:25 +01:00
Gregory K
fcd97eff07
Only string param in taxonomy_is_product_attribute
...
Conflicts:
includes/wc-conditional-functions.php
2014-02-11 17:27:06 +01:00
Gregory K
4445a3370e
Only string param in taxonomy_is_product_attribute
...
Conflicts:
includes/wc-conditional-functions.php
2014-02-11 17:26:47 +01:00
Mike Jolley
a4473f6679
Set $time Closes #4718
2014-02-11 17:06:11 +01:00
Mike Jolley
0bffeca947
Set $time Closes #4718
2014-02-11 16:03:02 +00:00
Mike Jolley
3ea7fbdefc
Hide empty categories in the product_categories shortcode Closes #4689
2014-02-11 16:56:59 +01:00
Mike Jolley
00fc089abe
Hide empty categories in the product_categories shortcode Closes #4689
2014-02-11 15:55:46 +00:00
Mike Jolley
670048c600
Need to actually check $outdated. Derp. @coenjacobs
2014-02-11 16:26:22 +01:00
Mike Jolley
26d0e711cd
Need to actually check $outdated. Derp. @coenjacobs
2014-02-11 15:13:51 +00:00
Mike Jolley
018e719468
file_exists check for wc_get_template
2014-02-11 15:49:41 +01:00
Gregory K
a7b3972ab9
sort_callback_params() phpdoc fix
2014-02-11 15:49:41 +01:00
Coen Jacobs
cff6dd5341
Merge pull request #4719 from tivnet/upstream-master
...
sort_callback_params() phpdoc fix
2014-02-11 15:49:09 +01:00
Mike Jolley
1bb072ab20
file_exists check for wc_get_template
2014-02-11 14:48:32 +00:00
Gregory K
d401432428
sort_callback_params() phpdoc fix
2014-02-11 09:22:43 -05:00
Gregory K
cce00e8d6c
wc-cart-functions : removed unused $woocommerce and fixed phpdocs
2014-02-11 15:05:28 +01:00
Gregory K
9521f44cb2
wc-cart-functions : removed unused $woocommerce and fixed phpdocs
2014-02-11 09:01:58 -05:00
Mike Jolley
4f3a9baa71
Clean up wc_price Closes #4714
2014-02-11 14:49:43 +01:00
Mike Jolley
8d118c8693
Function comment #4714
2014-02-11 14:49:43 +01:00
Mike Jolley
9771bf1b66
Clean up wc_price Closes #4714
2014-02-11 13:47:54 +00:00
Mike Jolley
39f5b8aec0
Function comment #4714
2014-02-11 13:47:46 +00:00
Mike Jolley
8362bfe1b7
New notice aimed at identifying out of date template files in a theme. Also improves the status page.
...
@coenjacobs
2014-02-11 14:41:11 +01:00
Mike Jolley
aff704ae6e
New notice aimed at identifying out of date template files in a theme. Also improves the status page.
...
@coenjacobs
2014-02-11 13:33:56 +00:00
Mike Jolley
9670725bf2
Removed change password template and shortcode class - no longer used.
...
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 11:38:07 +01:00
Mike Jolley
29ef76c17c
Removed change password template and shortcode class - no longer used.
...
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 10:36:22 +00:00
Mike Jolley
5e02b72f1b
Sections can be lowered using sanitize_title Closes #4700
...
@coenjacobs pick me
2014-02-11 11:35:38 +01:00
Mike Jolley
b0755f695f
Sections can be lowered using sanitize_title Closes #4700
...
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
James Koster
053915e58f
allow line breaks in customer addresses on order details page. closes #4709
2014-02-11 10:59:05 +01:00
James Koster
b85a881cc5
allow line breaks in customer addresses on order details page. closes #4709
2014-02-11 09:56:47 +00:00
vlinicx
eaa0275515
Adding a currency to woocommerce
...
I would like to add a currency for my Country.It's on a line 173.
2014-02-11 10:51:04 +01:00
Coen Jacobs
5dfd58be5a
Merge pull request #4687 from vlinicx/patch-1
...
Adding Croatian Kuna currency
2014-02-11 10:50:26 +01:00
Mike Jolley
ae295fbfce
During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701
2014-02-11 09:47:02 +01:00
Mike Jolley
2371ba7813
During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701
2014-02-11 00:29:29 +00:00
Coen Jacobs
9ae5cc5d8f
get_subtotal_to_display docblock update. Closes #4693
2014-02-10 13:38:25 +01:00
Coen Jacobs
61a7fa93ef
Remove unused global. Closes #4694
2014-02-10 13:36:34 +01:00
Mike Jolley
e9e121b82b
Merge pull request #4671 from claudiosmweb/fix_myaccount_register
...
Fix undefined index notice in "My Account" register
2014-02-10 09:48:42 +00:00
Coen Jacobs
0033d6d116
Code standards update for #4675
2014-02-10 10:47:26 +01:00
Coen Jacobs
e934f293e9
Merge pull request #4675 from shoheitanaka/patch-1
...
$tax_code was url encoded , so decode it.
2014-02-10 10:45:41 +01:00
Coen Jacobs
8b8cc20dab
Merge pull request #4681 from thenbrent/master
...
Fix completing order payment for an order containing a deleted product
2014-02-10 10:30:01 +01:00
Mike Jolley
3eaef1d0f3
Merge pull request #4662 from Spreeuw/master
...
fixes date display on customer list page
2014-02-10 09:28:08 +00:00
Mike Jolley
9978f8fd6a
Merge pull request #4670 from claudiosmweb/patch-rc2
...
Improvements for some DocBlocks
2014-02-10 09:27:46 +00:00
Coen Jacobs
6da86e4e57
Merge pull request #4676 from kloon/master
...
Load Chosen on My Account page for country and state address edit
2014-02-09 22:34:32 +01:00
vlinicx
77e7f1f6e6
Adding a currency to woocommerce
...
I would like to add a currency for my Country.It's on a line 173.
2014-02-09 20:31:03 +01:00
claudiosmweb
f5cf994a8c
improved the deprecated woocommerce_placeholder_img function, closes #4684
2014-02-09 03:09:31 -02:00
thenbrent
3187bfc32c
Fix completing order payment for deleted product
...
When marking payment as complete on an order which contains a product which has
since been deleted, a fatal error will be thrown because the product is assumed
to exist.
The specific error is `PHP Fatal error: Call to a member function is_downloadable()`.
It occurs when checking if the order status should be set as completed or processing,
by determining if the product on the order is downloadable and virtual.
This patch will mark an order as "processing" if the product has since been deleted.
2014-02-08 11:37:21 -08:00
Gerhard
667f46cf9e
Load Chosen on My Account page for country and state address edits, closes #4674
2014-02-08 10:58:50 +02:00
Shohei Tanaka
f03dde7868
$tax_code was url encoded , so decode it.
...
I can't read tax code at this box, if used Japanese in tax code. I want to read it in Japanese, so decode here.
2014-02-08 15:50:03 +09:00
claudiosmweb
d3f09d45b0
fixed some coding standards in includes/class-wc-form-handler.php
2014-02-07 16:35:30 -02:00
claudiosmweb
e0b729d273
fixed the indentation in includes/class-wc-form-handler.php
2014-02-07 16:27:07 -02:00
claudiosmweb
0f5faa4a77
fixed undefined username variable in myaccount register using registration generate username as true
2014-02-07 16:26:51 -02:00
claudiosmweb
18ca7c4d2f
fixed the indentation in includes/wc-conditional-functions.php
2014-02-07 15:57:17 -02:00
claudiosmweb
a9f1d47a11
fixed docblock for meta_is_product_attribute() function, closes #4668
2014-02-07 15:56:58 -02:00
claudiosmweb
7dd98549d9
updated the WC_Order version to 2.1.0
2014-02-07 15:55:30 -02:00
claudiosmweb
93b5678617
fixed some coding standards in includes/class-wc-order.php
2014-02-07 15:55:07 -02:00
claudiosmweb
1c13e994de
fixed the indentation in includes/class-wc-order.php
2014-02-07 15:41:28 -02:00
claudiosmweb
0d9752c04b
fixed docblock for WC_Order::get_formatted_line_subtotal, closes #4667
2014-02-07 15:41:09 -02:00
claudiosmweb
bcf88933c6
fixed docblock for WC_API_Customers::query_customers, closes #4666
2014-02-07 15:39:40 -02:00
claudiosmweb
bfe3020897
removed unused global vars in WC_Report_Coupon_Usage::output_report, closes #4665
2014-02-07 15:37:31 -02:00
claudiosmweb
617b6b07ae
fixed some coding standards in includes/abstracts/abstract-wc-product.php
2014-02-07 15:35:45 -02:00
claudiosmweb
6758bab16a
fixed the indentation in includes/abstracts/abstract-wc-product.php file
2014-02-07 15:31:25 -02:00
claudiosmweb
35b5614972
fixed docblock for WC_Product::get_children(), closes #4664
2014-02-07 15:31:00 -02:00
Ewout Fernhout
fe8335bbaf
fixes date display on customer list page
2014-02-07 15:50:11 +01:00
Mike Jolley
1ea1bb1a09
Translation credits
2014-02-07 13:06:20 +00:00
Mike Jolley
dc80dfdd3b
Inline note for #4655
2014-02-07 11:43:34 +00:00
Mike Jolley
4790e16812
Leaner code for getting terms
2014-02-07 11:39:37 +00:00
Mike Jolley
65cfc420a1
Code standards, and check orderby, not fields
2014-02-07 11:38:57 +00:00
Mike Jolley
4383a7b0a1
Merge pull request #4658 from Spreeuw/master
...
include product_id for extended customization of wc_add_to_cart_message
2014-02-07 10:11:29 +00:00
Mike Jolley
545441b2e3
Multiple attribute for email box Closes #4659
2014-02-07 10:10:50 +00:00
Ewout Fernhout
df773f520e
include product_id for extended customization of wc_add_to_cart_message
2014-02-06 20:24:34 +01:00
Mike Jolley
2dd73acb9d
Context for checkout string Closes #4646
2014-02-06 15:46:18 +00:00
Mike Jolley
a2b5086b24
Merge pull request #4648 from kloon/master
...
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:43:07 +00:00
Coen Jacobs
5d70dae52f
Introducing post taxonomy init hook
2014-02-06 14:32:25 +01:00
Gerhard
435257bc95
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:00:00 +02:00
Mike Jolley
65ca1753ae
woocommerce_products_will_display improvements #4644
...
- Reduced number of conditionals required.
- Broken the massive category query into a loop which can break before
checking all cats
- Used a transient to further optimise the category check
2014-02-06 09:21:47 +00:00
Mike Jolley
8d52b8d243
No class exist check needed for files included once #4616
2014-02-05 15:02:30 +00:00
Mike Jolley
2448a19545
Don't return class, just construct it. Use static methods #4616
2014-02-05 15:02:02 +00:00
Mike Jolley
9c56637def
Include_once during install and call the static to load taxonomies early. #4616
2014-02-05 15:01:30 +00:00
Mike Jolley
875694e2eb
Fix array sum and out of base subtotals
2014-02-05 11:45:26 +00:00
Coen Jacobs
60f04ee3b4
Merge pull request #4638 from woothemes/simple_fee_tax_calculation
...
Tax total for fees added to total fees
2014-02-05 12:32:25 +01:00
Coen Jacobs
b5ad68ff2a
Remove unused total fee tax variable
2014-02-05 12:31:23 +01:00
Coen Jacobs
3d7c2fc297
Tax fees should respect tax rates too
2014-02-05 12:30:47 +01:00
Coen Jacobs
c9d39bcc8b
Tax total for fees are already flattened
2014-02-05 12:03:56 +01:00
David Barnes
14a24377df
Multiple categories in the product_category shortcode
...
Add the ability to input multiple categories separated by a comma in the
[product_category] shortcode.
2014-02-05 08:55:55 +07:00
Mike Jolley
0c2b1f430c
Don't check for post_type for product query, and don't force the post_type variable as it should already be set. #4626
2014-02-04 13:44:18 +00:00
Mike Jolley
e453e6f17d
After tax coupons * qty Closes #4625
2014-02-04 13:35:04 +00:00
Mike Jolley
ad84eea2f7
Ensure coupons get totalled when prices exclude tax. Closes #4604
2014-02-03 15:29:44 +00:00
Mike Jolley
e3cc5931ba
Merge pull request #4614 from claudiosmweb/clp_currency
...
CLP currency
2014-02-03 03:50:57 -08:00
Lee Willis
8446e73c49
Add user ID to shipping packages
2014-02-02 22:30:17 +00:00
claudiosmweb
077f6d5d9c
fixed the CLP name
2014-02-01 13:00:57 -02:00
claudiosmweb
91ec6e62a0
fixed some coding standards in includes/wc-core-functions.php
2014-02-01 12:58:56 -02:00
claudiosmweb
32b772272c
added clp currency
2014-02-01 12:55:58 -02:00
Mikel Martin
ffa74e4f65
[ADD] Colombian Peso
2014-01-31 19:16:56 +01:00
Mike Jolley
9222e6a854
woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake
2014-01-31 14:48:23 +00:00
Mike Jolley
eef21fa53a
Merge pull request #4603 from thenbrent/master
...
Fix rounding bug with pre-tax product % coupon
2014-01-31 04:47:56 -08:00
Mike Jolley
0d0bdc340c
Merge pull request #4601 from maxrice/master
...
Fix potential fatal error when fetching orders via API
2014-01-31 04:46:36 -08:00
thenbrent
f2a0e4bcdd
Remove dup discount calculation
2014-01-30 21:54:33 -08:00
toddlahman
13c24b410e
Removed (document).ready from jQuery scripts
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
thenbrent
390afe9f90
Fix rounding bug with pre-tax product % coupon
2014-01-30 12:50:58 -08:00
Max Rice
0b2cc1df28
Fix potential fatal error when fetching orders via API
2014-01-30 15:41:21 -05:00
Daniel Espinoza
f3f98002e5
Merge branch 'master' of github.com:woothemes/woocommerce
2014-01-30 09:39:47 -06:00
Mike Jolley
274e78512e
Store POST to variable for paypal
2014-01-30 14:47:11 +00:00
Mike Jolley
531ba9ad34
Clean meta values in paypal gateway
2014-01-30 14:47:11 +00:00
Mike Jolley
189271e610
Validate the currency code sent back by paypal
2014-01-30 14:47:11 +00:00
James Koster
006541ae03
tweaked mijireh getting started message
2014-01-29 17:42:59 +00:00
Mike Jolley
4abcc331dd
Ensure stock status is set for variations after setting to 0 Closes #4587
2014-01-29 14:39:55 +00:00
Alex Bain
49f935dd8b
Enhancing nocache helper
...
* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
2014-01-28 10:26:01 -08:00
Mike Jolley
ad17813e70
Merge pull request #4590 from toddlahman/master
...
Removed urldecode from $_GET and $_REQUEST and Removed (document).ready from wc_print_js()
2014-01-28 09:58:59 -08:00
toddlahman
5432d3ac56
Revert "Moved woocommerce_round_tax_total() to Formatting"
...
This reverts commit 1f7ba8867e
.
2014-01-28 09:47:46 -08:00
Mike Jolley
6f3e8c182e
Ensure gateways get loaded prior to emailing out Closes #4577
2014-01-28 12:36:20 +00:00
Mike Jolley
663bf25d79
Merge pull request #4569 from helgatheviking/master
...
add apply_filters to the product filters on the edit.php screen
2014-01-28 04:21:33 -08:00
Mike Jolley
8f2b9afe93
Check for the term object
2014-01-28 12:13:19 +00:00
Mike Jolley
239d673646
Change featured image notation to product Closes #4586
2014-01-28 11:58:20 +00:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
Mike Jolley
bd76784f97
Merge pull request #4583 from emzo/product-short-description-editor-settings
...
Filter to allow modification of wp_editor settings for product short description
2014-01-28 03:05:21 -08:00
Daniel Espinoza
d88b263119
Add 'woocommerce_product_added_to_cart' action in form add after validation. Simliar to 'woocommerce_ajax_added_to_cart'
2014-01-27 19:00:31 -06:00
Kathy Darling
77f5e9cf1d
Merge branch 'master' of github.com:woothemes/woocommerce
2014-01-27 19:02:31 +01:00
Emyr Thomas
fdc1d81814
Add 'woocommerce_product_short_description_editor_settings' filter to allow modification of the settings for the wp_editor in the product short description meta-box.
2014-01-27 14:23:58 +00:00
Roman Peshkov
16391b7185
Added check that product has been requested in WC_Query.product_query.
...
When requesting taxonomy term archive for your custom post type and that
taxonomy is shared with product post type, post_type query variable gets
rewritten.
2014-01-27 16:54:21 +04:00
toddlahman
33f2c5b4cd
Removed (document).ready from wc_print_js()
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-26 19:37:03 -08:00
Mike Jolley
f2ac6df16c
check for default Closes #4571
2014-01-26 13:59:10 +00:00
Mike Jolley
9d55ede6b1
Merge pull request #4568 from maxrice/rest-api-fixes
...
More REST API tweaks
2014-01-26 04:33:02 -08:00
toddlahman
2725527d4a
Removed urldecode from $_GET and $_REQUEST
...
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.
See Notes:
http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
toddlahman
1f7ba8867e
Moved woocommerce_round_tax_total() to Formatting
...
woocommerce_round_tax_total() is not actually a deprecated function. In
WC 2.0, the round() method was used from the WC_Tax class.
Moved woocommerce_round_tax_total() from wc-deprecated-functions.php to
wc-formatting-functions.php.
2014-01-26 00:35:07 -08:00
splashingpixels
8f5bf6dde7
Replaced deprecated jQuery live methods with on
2014-01-24 10:34:48 -08:00
Kathy Darling
bf06494efc
add apply_filters to the product filters on the edit.php screen
2014-01-24 14:50:04 +01:00
Max Rice
f17a52fd3a
Make customer data for orders endpoint consistent for guest orders
...
Simply returning ‘guest’ for the customer property changes the data
type of the response from a dictionary to string which is bad for
clients that should be able to always expect a dictionary. This commit
fixes that by using the same dictionary structure as registered
customer orders, but excluding fields which aren’t applicable. Clients
can determine guest vs. registered customer orders by inspecting the
value of customer ID, which is 0 for guest orders.
2014-01-23 16:38:08 -05:00
Max Rice
ac1cd5d23d
Fix API keys permissions bug
...
When API keys were generated for the first time, the permissions
weren’t set, which required an additional save before they were set.
This commit fixes this to set `read` permissions by default when
initially generating API keys.
Part of #4055
2014-01-23 16:24:16 -05:00
Mike Jolley
1a416875f8
Format prices when using quick edit
2014-01-22 15:36:29 +00:00
Mike Jolley
3958a40b06
No span for checkbox descriptions
2014-01-22 15:27:42 +00:00
Mike Jolley
986f612bf7
tidy up checkbox output
2014-01-22 15:22:58 +00:00
Mike Jolley
15ba1030d6
Merge pull request #4561 from helgatheviking/fix/duplicate-label-for-settings-checkbox
...
fix for #4547
2014-01-22 07:03:23 -08:00
Mike Jolley
f46e6aefd7
Only show taxes in cart when taxes are enabled
2014-01-22 14:10:11 +00:00
Mike Jolley
e04fafcba9
Correctly total and loop fee taxes Closes #4559
2014-01-22 14:10:11 +00:00
Kathy Darling
f93abb7acb
fix for #4547
2014-01-22 13:54:25 +01:00
Geert De Deckere
2dc22a1416
Fix filter name for WC styles in deprecation notice
2014-01-22 09:42:51 +01:00
Mike Jolley
4fb500fad9
Merge pull request #4554 from claudiosmweb/fix_shop_order_columns
...
Fix warning in order list screen
2014-01-21 15:41:36 -08:00
Mike Jolley
fe83cfcbff
Merge pull request #4550 from maxrice/rest-api-top-sellers-endpoint
...
API: Add top sellers endpoint
2014-01-21 15:39:37 -08:00
Mike Jolley
fc4f813f71
Merge pull request #4552 from claudiosmweb/fix_4549
...
Hotfix for #4549
2014-01-21 15:39:30 -08:00
claudiosmweb
b60629e9b4
fixed some coding standards in includes/admin/reports/class-wc-report-sales-by-category.php
2014-01-21 20:14:26 -02:00
claudiosmweb
b717bca380
fixed the indentation in includes/admin/reports/class-wc-report-sales-by-category.php
2014-01-21 20:11:05 -02:00
claudiosmweb
43e86f3e28
added a placeholder to select in category widget on reports page
2014-01-21 20:10:40 -02:00
claudiosmweb
7e3268b7f0
fixed some coding standards in includes/admin/post-types/class-wc-admin-cpt-shop_order.php
2014-01-21 19:04:09 -02:00
claudiosmweb
9518cfdd31
fixed the indentation in includes/admin/post-types/class-wc-admin-cpt-shop_order.php
2014-01-21 18:52:07 -02:00
claudiosmweb
ed938f85d3
fixed the order notes tooltip
2014-01-21 18:51:52 -02:00
claudiosmweb
ae1c837e36
fixed some coding standards in includes/admin/reports/class-wc-report-coupon-usage.php
2014-01-21 18:23:42 -02:00
claudiosmweb
655bd20da1
fixed the indentation in includes/admin/reports/class-wc-report-coupon-usage.php
2014-01-21 18:20:35 -02:00
claudiosmweb
90373836bb
fixed empty coupons select in reports page, fixes #4549
2014-01-21 18:20:13 -02:00
Max Rice
37c9434492
API: Add top sellers endpoint
...
Part of #4055
2014-01-21 14:53:47 -05:00
Max Rice
49bacc6be3
Tweak code formatting
2014-01-21 14:07:22 -05:00
Mike Jolley
0ceb0d194b
Include admin functions for less complier on install. Closes #4527
2014-01-21 11:24:48 +00:00
Mike Jolley
f33c6a0970
Merge pull request #4539 from kloon/master
...
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes
2014-01-21 03:14:27 -08:00
Mike Jolley
dc99669eec
Get exception message in cart Closes #4543
2014-01-21 11:14:23 +00:00
Gerhard
52267220e4
wc_clean on download url instead of esc_url to support shortcodes
2014-01-21 13:09:27 +02:00
Mike Jolley
91a1fe782f
Merge pull request #4540 from maxrice/rest-api-sales-report-tweak
...
API: Add customer count to each period for sales report
2014-01-21 02:54:11 -08:00
Max Rice
233a0a706d
API: Add customer count to each period for sales report
...
Part of #4055
2014-01-20 21:41:52 -05:00
Gerhard
9eaf0225b0
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes in file url
2014-01-20 21:12:26 +02:00
Mike Jolley
98e49e3b99
Delete tax rates transients on settings save Closes #4503
2014-01-20 16:00:15 +00:00
Mike Jolley
0d52064bd8
Attachments is an array Closes #4531
2014-01-20 15:33:33 +00:00
Mike Jolley
87f6958e40
Merge pull request #4524 from DominoTree/patch-1
...
Minor fix to stop warnings in HHVM
2014-01-20 04:14:10 -08:00
Mike Jolley
9fe57f9dfe
Merge pull request #4518 from a3rev/master
...
Apply filter for wc_get_template_part() function
2014-01-20 04:12:35 -08:00
Mike Jolley
eafdc19c68
Merge pull request #4534 from tubiz/master
...
Add Naira Currency and Symbol to Woocommerce
2014-01-20 04:10:22 -08:00
James Collins
7f497b3fc9
Fix PHP Warning: parse_url() expects parameter 1 to be string, array given in includes/wc-formatting-functions.php on line 41. Fixes #4535 .
2014-01-20 09:21:50 +08:00
Tunbosun Ayinla
daf73f1252
Added Naira to Available Currency
...
Naira is the official currency of Nigeria. A lot of stores are powered
by WC in Nigeria. This commit add the Naira currency and symbol to WC
#4533
2014-01-19 20:55:29 +01:00
alexcsandru
6bf855709a
Update wc-template-functions.php
...
a little bug with esc_url instead esc_attr and result was (height="http://450 ")
2014-01-19 10:14:56 +02:00
Nick Price
e69f3d6b54
Minor fix to stop warnings in HHVM
...
HHVM is a bit weird and will throw these warnings otherwise:
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 36
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 37
2014-01-17 14:28:15 -06:00
a3rev
f1a00fe70c
Apply filter for wc_get_template_part() function
2014-01-16 14:46:48 +07:00
claudiosmweb
9abf6f63ab
fixed some coding standards in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php
2014-01-15 02:02:29 -02:00
claudiosmweb
990e765c24
fixed the indentation in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php
2014-01-15 01:58:07 -02:00
claudiosmweb
030cab584d
fixed validation for "Exclude products" in coupons metabox, fixes #4509
2014-01-15 01:57:41 -02:00
Mike Jolley
617d6dbd76
Merge pull request #4506 from thenbrent/master
...
Fix order discount input label "for" attribute
2014-01-14 09:14:48 -08:00
Mike Jolley
a53393e534
Merge pull request #4507 from thenbrent/cart-coupon-filters
...
Cart coupon filters
2014-01-14 09:14:34 -08:00
Mike Jolley
34c37f7493
Merge pull request #4508 from maxrice/rest-api-tweaks
...
REST API Tweaks
2014-01-14 09:13:23 -08:00
Renkas
03c0a3f7d0
Removed debug output
2014-01-14 14:30:42 +02:00
Max Rice
7f677300eb
API: Add feature image src to product response
2014-01-13 22:14:20 -05:00
Max Rice
8b6145691c
API: Add item price to order line items response
2014-01-13 22:14:08 -05:00
Max Rice
b6dbaebe01
API: Add subtotal to orders response
2014-01-13 22:13:48 -05:00
Max Rice
497ec8186e
Fix remove filter typo
2014-01-13 22:13:37 -05:00
Brent Shepherd
6610f71d5a
Fix order discount input label "for" attribute
2014-01-13 18:10:19 -08:00
Brent Shepherd
8ab50db41d
Add woocommerce_cart_totals_coupon_html filter
2014-01-13 17:25:54 -08:00
Brent Shepherd
66b7d4ee14
Add woocommerce_coupon_discount_amount_html filter
2014-01-13 17:25:54 -08:00
Mike Jolley
69694e7a13
Actions in each section of coupon admin Closes #4500
2014-01-13 12:51:00 +00:00
Mike Jolley
03f8d500a2
Input styling fixes
2014-01-13 12:46:54 +00:00
Mike Jolley
fcf43d9ac0
Customisable names for radios and checkboxes Closes #4493
2014-01-13 12:28:29 +00:00
Mike Jolley
39e45bff42
decompress #4501
2014-01-13 12:22:52 +00:00
Mike Jolley
ac24fe52fa
Check we have a product #4487
2014-01-13 11:39:54 +00:00
Mike Jolley
dc880c7af7
Missing updated class
2014-01-13 11:35:02 +00:00
Mike Jolley
d6c1725206
Merge pull request #4496 from claudiosmweb/fix_4495
...
Suggestion to fix the issue #4495
2014-01-13 03:33:12 -08:00
Mike Jolley
2e0291eff1
Merge pull request #4488 from GeertDD/cached_tax_rates
...
Cached tax rates
2014-01-13 03:19:52 -08:00
Mike Jolley
0297f8ed65
Merge pull request #4490 from claudiosmweb/fix_4489
...
Fix #4489
2014-01-13 03:05:34 -08:00
Mike Jolley
9ee977c524
Merge pull request #4485 from pmgarman/store-notice-conditional
...
Add is_store_notice_showing Conditional
2014-01-13 03:04:32 -08:00
Mike Jolley
95242473c8
Cleanup sessions - CONCAT is too slow.
...
Being tested in https://woothemes.zendesk.com/agent/#/tickets/133706
2014-01-13 10:45:35 +00:00
claudiosmweb
bdb7a3b288
fixed a small typo in includes/class-wc-install.php
2014-01-11 22:13:26 -02:00
claudiosmweb
c065617641
fixed wordpress coding standards in includes/class-wc-install.php
2014-01-11 22:05:14 -02:00
claudiosmweb
23b7ddc811
fixed the indentation in includes/class-wc-install.php
2014-01-11 21:56:50 -02:00
claudiosmweb
3a9630f29a
fixed the inventory settings install, fixes #4495
2014-01-11 21:56:29 -02:00
claudiosmweb
3d0fbc5204
fixed coding standards in includes/admin/class-wc-admin-dashboard.php
2014-01-10 22:18:28 -02:00
claudiosmweb
34213f0a84
fixed the indentation in includes/admin/class-wc-admin-dashboard.php
2014-01-10 22:15:33 -02:00
claudiosmweb
2dd9d81f3d
fixed hard code string, fixes #4489
2014-01-10 22:14:27 -02:00
Geert De Deckere
b1aabdcfc6
Merge branch 'master' into cached_tax_rates
2014-01-11 00:00:09 +01:00
Geert De Deckere
7169157297
Cache tax rates to save database queries
2014-01-10 23:57:19 +01:00
Patrick Garman
f3be3b16b6
Add is_store_notice_showing Conditional
...
Added public is_store_notice_showing conditional to `includes/wc-conditional-functions.php`
Replaced two instances of `get_option( 'woocommerce_demo_store' )` with the new conditional
2014-01-10 11:17:01 -06:00
Mike Jolley
656663ba47
is_woocommerce Closes #4475
2014-01-09 14:00:18 +00:00
Mike Jolley
48300f4ebf
woocommerce_reports_get_order_report_query Closes #4477
2014-01-09 13:57:42 +00:00
Coen Jacobs
3671eabd13
System Status bold text should have colons to split
2014-01-08 19:03:36 +01:00
Mike Jolley
478c87825f
More https ajax requests
2014-01-08 16:39:16 +00:00
Mike Jolley
34173bc1da
list_users for shop managers Closes #4354
2014-01-08 15:18:19 +00:00
Mike Jolley
e15c572465
Better handling for sent to admin/plain text args Closes #4359
2014-01-08 15:04:49 +00:00
Mike Jolley
8a73715c1f
Check specific ajax actions before enforcing HTTPS closes #4324
2014-01-08 14:53:38 +00:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Mike Jolley
51bd102fb8
Merge pull request #4448 from shoheitanaka/patch-8
...
Correct get_country_locale for Japanese
2014-01-08 06:23:12 -08:00
Mike Jolley
ddb755afd5
braces
2014-01-08 14:12:19 +00:00
Mike Jolley
72f51e7b05
Disabled for checkbox Closes #4387
2014-01-08 13:50:59 +00:00
Mike Jolley
f504243b56
Update timestamp check Closes #4409
2014-01-08 13:40:06 +00:00
Mike Jolley
a54223f910
Tweak message #4335
2014-01-08 13:38:34 +00:00
Coen Jacobs
660c0368b6
Merge pull request #4471 from shoheitanaka/master
...
misspelling in class-wc-admin-welcome.php
2014-01-08 05:36:45 -08:00
Mike Jolley
211658a8f4
Fix woocommerce_reset_loop Closes #4443
2014-01-08 13:23:40 +00:00
Mike Jolley
b9a78b5894
HTTPS for frontend only Closes #4324
2014-01-08 12:08:37 +00:00
Shohei Tanaka
618faaf519
misspelling in class-wc-admin-welcome.php
...
Misspelling is alterntative, correct is alternative.
2014-01-08 15:06:22 +09:00
Aristeides Stathopoulos
c5c340588e
Minor bugfix, missing comma
...
Missing comma causing errors in some cases
2014-01-07 22:14:35 +02:00
Mike Jolley
f36d67fa69
Merge pull request #4445 from toddlahman/master
...
improved ob_end_clean for download handler
2014-01-07 07:40:56 -08:00
Mike Jolley
9154eed860
Merge pull request #4461 from justinstern/master
...
Rename new woocommerce_order_item_quantity filter
2014-01-07 07:37:56 -08:00
Mike Jolley
b13250b620
Merge pull request #4453 from GeertDD/add_to_cart_notices
...
Improved notices in the add_to_cart() method
2014-01-07 06:41:38 -08:00
Mike Jolley
1fffd49e0a
Merge pull request #4457 from PURPORC/patch-1
...
Update abstract-wc-email.php
2014-01-07 06:37:47 -08:00
Mike Jolley
caa554faee
Merge pull request #4458 from ChromeOrange/master
...
Add delete tax rates option to system tools
2014-01-07 06:36:43 -08:00
Mike Jolley
85b4ca8c03
wc_has_notice function
2014-01-07 13:35:01 +00:00
Mike Jolley
858416605d
Don't resort meta in admin
2014-01-07 10:38:28 +00:00
justinstern
32d850a76a
woocommerce_stock_amount rather than intval
...
Using woocommerce_stock_amount filter rather than intval cast
2014-01-07 02:13:31 -05:00
Andrew Benbow
030131a311
Add delete tax rates option to system tools
2014-01-06 14:42:54 +00:00
PURPORC
d18bff3f5b
Update abstract-wc-email.php
...
Adds a plain text replacement for the dollar sign encoded as html entity.
2014-01-06 18:39:41 +11:00
Geert De Deckere
d563ff543d
Improved notices in the add_to_cart() method
...
- Moved the button markup out of the translation strings.
- Used get_cart_url() instead of get_permalink( wc_get_page_id( 'cart' ) ).
- Added some newlines to improve code readability.
2014-01-04 23:46:43 +01:00
Shohei Tanaka
72189fd0d4
Correct get_country_locale for Japanese
...
Change and correct for the plug-in introduction to Japanese environment.
2014-01-04 06:46:00 +09:00
Mike Jolley
7cafdb4bf8
Prevent settings loading twice
2014-01-03 14:13:18 +00:00
Mike Jolley
685403dc30
wordwrap #4397
2014-01-03 14:13:18 +00:00
toddlahman
6456b8d299
fix register nonce and register catch errors
2014-01-03 03:06:28 -08:00
toddlahman
75c76ff7b9
improved ob_end_clean for download handler
2014-01-02 18:35:17 -08:00
Shohei Tanaka
e6271e425d
correct the state field setting of Japan.
...
States file of JP.php has existed. So please delete this line.
2014-01-01 06:37:23 +09:00
Mike Jolley
d02b1386df
Meta box tips Closes #4367
2013-12-31 14:38:41 +00:00
Mike Jolley
a2688fad83
Fix ajax naming issues Closes #4368
2013-12-31 14:27:48 +00:00
Mike Jolley
18ffbdb82b
Tweak form handlers since they are the same form - removed empty coupon message as a result. Closes #4362
2013-12-31 14:02:50 +00:00
claudiosmweb
4efb0919d7
fixed coding standards in includes/gateways/paypal/class-wc-gateway-paypal.php
2013-12-31 10:53:55 -02:00
claudiosmweb
bf81f45abc
fixed the indentation in includes/gateways/paypal/class-wc-gateway-paypal.php
2013-12-31 10:45:02 -02:00
claudiosmweb
0b13814aac
fixed esc_urL() in get_paypal_args method
2013-12-31 10:43:48 -02:00
Mike Jolley
0b07b16e38
woocommerce_my_account_message #4429
2013-12-31 12:38:33 +00:00
Mike Jolley
8eb77f783d
Merge pull request #4429 from toddlahman/master
...
Registration error handler and my_account_message hook
2013-12-31 04:38:05 -08:00
Mike Jolley
7b1dc6fc41
Merge pull request #4437 from justinstern/master
...
A Pair of Useful Shipping Related Actions
2013-12-31 04:32:47 -08:00
Mike Jolley
5580d1e3dc
Link format #4395
2013-12-31 12:26:50 +00:00
Mike Jolley
e624f53c7d
Merge pull request #4434 from claudiosmweb/fix_reports_customer_list
...
Remove deprecated methods in includes/admin/reports/class-wc-report-customer-list.php
2013-12-31 04:15:12 -08:00
Mike Jolley
7bbbca39d6
Merge pull request #4436 from shoheitanaka/patch-5
...
correct address_formats in Japan
2013-12-31 04:14:10 -08:00
legas
fa85115260
Add missing textdomains
2013-12-31 09:50:01 +01:00
justinstern
9a2b801e7b
A Pair of Useful Shipping Related Actions
2013-12-30 18:59:09 -05:00
Shohei Tanaka
ea3834cdcc
correct address_formats in Japan
...
in Japan ,the name order is last (family) name to first name.
2013-12-31 06:35:21 +09:00
claudiosmweb
9aaa8c8875
fixed coding standards
2013-12-30 14:28:39 -02:00
claudiosmweb
b68b6f2faf
fixed the indentation in includes/admin/reports/class-wc-report-customer-list.php
2013-12-30 14:25:35 -02:00
claudiosmweb
94586aa5b9
changed wpdb::escape to esc_sql()
2013-12-30 14:24:49 -02:00
Mike Jolley
ee6c7c6d4c
wc_print_notices Closes #4431
2013-12-30 14:29:13 +00:00
Mike Jolley
67af66b96c
Add classes for placeholder Closes #4432
2013-12-30 14:22:13 +00:00
Mike Jolley
cdb1ad5e9e
On cancel, use cart page unless otherwise defined. Closes #4375
2013-12-30 14:09:50 +00:00
Mike Jolley
3ab0b5e248
Merge pull request #4428 from justinstern/master
...
Notice fix and Checkout Shipping Method classes
2013-12-30 02:34:58 -08:00
Mike Jolley
58e952d85f
Merge pull request #4430 from claudiosmweb/fix_top_rated_products_shortcode
...
Fix top rated products shortcode
2013-12-30 02:29:19 -08:00
claudiosmweb
cf756af1d5
fixed some coding standards
2013-12-29 11:54:55 -02:00
claudiosmweb
248e46c8f7
Fixed the indentation in the includes/class-wc-shortcodes.php file
2013-12-29 11:41:48 -02:00
claudiosmweb
37aa0fb53b
fixed the posts_clauses filters in top_rated_products method of the WC_Shortcodes class
2013-12-29 11:40:43 -02:00
toddlahman
6f76d1941c
Registration error handler and my_account_message hook
...
To block registration spam, and authenticate the $_POST values, a
woocommerce_process_registration_errors filter hook is needed.
WordPress has a login_message filter, which causes a duplicate message
on the My Account login page since WC uses the same filter hook name. A
different filter hook name, such as my_account_message, would eliminate
this issue.
2013-12-29 05:11:54 -08:00
justinstern
e131804d7a
Notice fix and Checkout Shipping Method classes
...
Fixes an admin notice. Adds a single class to the checkout shipping
method elements for convenience in collecting all of them via CSS
selector
2013-12-29 04:31:44 -05:00
Shohei Tanaka
52e1cd5796
misspelling in class-wc-admin-welcome.php
...
Common misspelling of receive.
2013-12-29 05:19:20 +09:00
Illimar Tambek
9b43089562
Only continue getting checkout value if null
2013-12-27 15:39:21 +02:00
Mike Jolley
68d2ac5dfe
restore field back to original #4383
2013-12-27 13:27:22 +00:00
Mike Jolley
539a736882
woocommerce_wp_radio styling Closes #4383
2013-12-27 13:26:37 +00:00
Mike Jolley
9a6cf4512c
Merge pull request #4418 from ChuckMac/master
...
Admin metabox billing information save fix
2013-12-27 04:28:09 -08:00
Mike Jolley
c916b51ef7
Country select for edit address Closes #4396
2013-12-27 12:20:51 +00:00
Chuck Mac
d852e14bea
Admin metabox billing information save fix
2013-12-26 14:56:19 -05:00
Mike Jolley
0c9962cf93
Get correct name Fixes #4385
2013-12-24 14:28:25 +00:00
Mike Jolley
cc7325e869
Ensure there is a join Fixes #4390
2013-12-24 13:31:37 +00:00
Mike Jolley
33f07a05a8
Pass order ID to woocommerce_payment_successful_result Fixes #4378
2013-12-23 15:47:56 +00:00
Mike Jolley
9c7a7d2c3d
CSS min fixes #4336
2013-12-23 14:30:39 +00:00
Mike Jolley
d3d72a8a49
Merge pull request #4372 from thenbrent/single_serve_fee
...
Only allow a fee to be added once
2013-12-23 05:33:37 -08:00
Mike Jolley
247f0ac064
Merge pull request #4344 from claudiosmweb/improved-reviews-admin
...
Improvements in editing the reviews rating
2013-12-23 05:32:54 -08:00
Mike Jolley
d9637c4b80
Merge pull request #4305 from helgatheviking/feature/min_max_args
...
add $min_or_max and $display params to variation pricing functions
2013-12-23 05:31:53 -08:00
Mike Jolley
e51da54240
Merge pull request #4330 from kloon/tweak_file_title_download_permissions
...
Tweak file title download permissions
2013-12-23 05:30:54 -08:00
Mike Jolley
e3b5df7ce2
Merge pull request #4388 from niravmehta/master
...
Expiry date calculation based on order completion date
2013-12-23 05:22:25 -08:00
Mike Jolley
17f79f651d
Merge pull request #4386 from justinstern/master
...
Downloadable File Fixes/Tweaks
2013-12-23 05:20:36 -08:00
Mike Jolley
cc8bd649ec
Merge pull request #4401 from toddlahman/master
...
Revert back to ob_end_clean to fix errors
2013-12-23 05:13:17 -08:00
Max Rice
7b4ff1ee82
Fix HTTP_X_FORWARDED_HOST notice
2013-12-20 14:03:55 -05:00
toddlahman
32af9d4440
Revert back to ob_end_clean to fix errors
...
ob_clean does not turn off output buffering as ob_end_clean does. On
some hosts ob_clean results in an error like: transfer closed with 3
bytes remaining to read. ob_end_clean fixes this.
2013-12-19 01:14:39 -08:00
Ratnakar
0faf26cbd2
Expiry date calculation based on order completion date
2013-12-17 10:37:19 +05:30
Justin Stern
ae91c698f2
Downloadable File Fixes/Tweaks
...
* Hooked up new downloadable product permissions function to
completed/processing actions
* WC_Product::get_files() is used rather than the underlying
_downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place
of $this->id which doesn't does not afford you the particular variation
when a product variation is being used.
2013-12-16 18:27:57 -05:00
Mike Jolley
3bd2d0d456
Credit card form actions - start and end
2013-12-14 12:03:32 +00:00
thenbrent
8ad3326016
Only allow a fee to be added once
2013-12-13 13:10:25 -08:00
James Koster
dbf1b15001
replace a few missed →'s. closes #4350
2013-12-12 13:42:29 +00:00
Coen Jacobs
b5a4a9e602
Removed duplicate description key. Closes #4357
2013-12-12 14:36:13 +01:00
Coen Jacobs
7fede7e6e5
Merge pull request #4334 from splashingpixels/master
...
syntax error missing semicolon on product grouped class
2013-12-12 01:44:31 -08:00
Coen Jacobs
e9ed514d8e
Merge pull request #4329 from kloon/tweak_rest_api_add_wc_version
...
Add WooCommerce version to API index route
2013-12-12 01:32:55 -08:00
Coen Jacobs
7a254a3586
Merge pull request #4331 from kloon/fix_cod_thankyou_warning
...
Fix warning on Thank You page with COD, closes #4320
2013-12-12 01:31:34 -08:00
Coen Jacobs
6a194f02e2
Merge pull request #4340 from maxrice/rest-api-warning-fixes
...
Fix warning when accessing coupons created in pre-2.1 installs
2013-12-12 01:30:00 -08:00
Coen Jacobs
00e7174149
Merge pull request #4342 from claudiosmweb/fix_4337
...
fix #4337
2013-12-12 01:29:36 -08:00
Coen Jacobs
2ddb0491c2
Merge pull request #4343 from claudiosmweb/patch-1
...
Fix #4338 and #4339
2013-12-12 01:27:18 -08:00
Lee Willis
bf5095d67d
MP6 is dead. Long live the WP admin theme
2013-12-12 07:21:28 +00:00
claudiosmweb
8344bbc2b4
removed "Trying to get property of non-object..." error on the edit review/comment page.
2013-12-10 23:48:03 -02:00
claudiosmweb
963b16d9c4
fixed standards
2013-12-10 23:43:12 -02:00
claudiosmweb
3a3a0c10ec
fixed reviews metabox visibility
2013-12-10 23:42:31 -02:00
claudiosmweb
f7f3c79fa0
fixed braces standards
2013-12-10 23:17:44 -02:00
claudiosmweb
e07e89b0de
removed not useful global variables
2013-12-10 23:17:22 -02:00
claudiosmweb
ec9091b444
fixes #4339
2013-12-10 22:41:27 -02:00
claudiosmweb
86b01ca004
fixes #4338
2013-12-10 22:40:41 -02:00
claudiosmweb
d0d5e56022
fixed space standards
2013-12-10 22:39:51 -02:00
claudiosmweb
04534fe82b
fixed braces standards
2013-12-10 22:36:56 -02:00
claudiosmweb
48aa2af8ef
fix #4337
2013-12-10 22:31:03 -02:00
Max Rice
2b0a75cbd6
Fix warning when accessing coupons created in pre-2.1 installs
2013-12-10 17:31:41 -05:00
splashingpixels
8a6848bdd3
syntax error missing semicolon on product grouped class
2013-12-10 09:38:36 -08:00
Gerhard
0f47ed8df9
Fix warning on Thank You page with COD, closes #4320
2013-12-10 13:06:22 +02:00
Gerhard
4fa98e0610
Change filecount variable
2013-12-10 12:50:48 +02:00
Gerhard
9b27b485b6
Show file title instead of count if set
2013-12-10 12:49:27 +02:00
Gerhard
a5acde8bbd
Add WooCommerce version to API index route
2013-12-10 12:24:53 +02:00
Coen Jacobs
dbeeac710d
Merge pull request #4304 from shoheitanaka/patch-2
...
Update class-wc-admin-assets.php because spell mistake
2013-12-09 06:35:46 -08:00
Coen Jacobs
b16d3e3170
Merge pull request #4321 from kloon/fix_cat_walker_strict_warnings
...
Fix strict warnings for cat walker class, closes #4319
2013-12-09 06:34:31 -08:00
Coen Jacobs
962269cdbd
Merge pull request #4318 from maxrice/rest-api-tweaks
...
REST API Tweaks
2013-12-09 06:34:04 -08:00
Coen Jacobs
31b18d24e8
Merge pull request #4317 from NikV/master
...
Some braces for the new WordPress standard
2013-12-09 06:21:26 -08:00
Coen Jacobs
64c68b8c38
Merge pull request #4301 from kloon/fix_rest_api_oauth_subfolder_install
...
Fix issue where oAuth signature is wrong when running site from a subfolder
2013-12-09 02:27:18 -08:00
James Koster
c22ebcc7ae
twentyfourteen compat. closes #4272
2013-12-09 09:55:11 +00:00
Gerhard
7db46f581f
Fix strict warnings for cat walker class, closes #4319
2013-12-09 10:07:24 +02:00
Max Rice
8389ff23e5
Fix duplicate "Link:" content with pagination link headers
2013-12-08 17:38:27 -05:00
Max Rice
1a9933cd88
Fix authentication error message typos
2013-12-08 17:37:55 -05:00
Max Rice
898adbb32d
Change money_format to currency_format for API index
2013-12-08 17:37:30 -05:00
Nik-v
a005e3e71f
Some braces for the new WordPress standard
...
Simple braces being added
2013-12-08 16:08:46 -06:00
Kathy Darling
6544d6b8f9
add $min_or_max and $display params to variation pricing functions
2013-12-07 10:11:23 +01:00
Shohei Tanaka
93944c56e1
Update class-wc-admin-assets.php because spell mistake
...
I found spell mistake.
#109 monitary to #109 monetary
2013-12-07 18:10:36 +09:00
Gerhard
8e2bc1cebc
remove harded api reference, use WooCommerce_api_url instead
2013-12-06 16:57:44 +02:00
Gerhard
5b27f37c23
Fix issue where oAuth signature is wrong when running site from a subfolder #4055
2013-12-06 15:07:42 +02:00
Mike Jolley
27d40dd46f
Fix term reordering Closes #4294
2013-12-05 16:07:44 +00:00
Mike Jolley
5239bf7b46
get_form_fields method Closes #4275
...
@coenjacobs please review. I believe its cleaner this way.
2013-12-05 15:57:01 +00:00
Mike Jolley
8910042a99
Don't load some classes during ajax events Closes #4282
2013-12-05 15:34:37 +00:00
Mike Jolley
f3fe51e3a3
Merge pull request #4293 from pauloiankoski/patch-1
...
Add "rand" option to orderby
2013-12-05 06:42:45 -08:00
Mike Jolley
27d2c87583
Tidyup
2013-12-05 13:16:52 +00:00
Mike Jolley
153c367ef4
Missing icons #4287
2013-12-05 13:16:52 +00:00
pauloiankoski
09d50a04c8
Add "rand" option to orderby
2013-12-05 10:53:22 -02:00
Coen Jacobs
1f5f163916
Added option to hide Returning customer message. Closes #4220
2013-12-05 10:43:46 +01:00
Coen Jacobs
b8409ba7b0
Merge pull request #4291 from BFTrick/flat-rate-shipping-message
...
Adding Default Shipping Price to Tooltips
2013-12-05 00:37:26 -08:00
Coen Jacobs
bcf025694e
Updated docblocks for #4292
2013-12-05 09:36:46 +01:00
Brent Shepherd
f7df434399
Remove $from param on get_price_html_from_text()
...
As it's not used at all.
2013-12-04 17:46:12 -08:00
Patrick Rauland
01c1afae59
Adding default shipping price to tooltips
2013-12-04 16:20:30 -06:00
Mike Jolley
00ff09e3a2
sort sale price
2013-12-04 12:45:23 +00:00
Mike Jolley
4826a574a0
wp_redirects
2013-12-04 12:20:18 +00:00
Mike Jolley
9e5c0fbf67
Get rid of "FROM" - display a price range, localisable. Closes #4222
2013-12-04 12:08:14 +00:00
Mike Jolley
4ce57489a7
Esnure cron is scheduled for midnight Closes #4267
2013-12-03 15:50:00 +00:00
Mike Jolley
553b273fc6
Merge pull request #4214 from toddlahman/master
...
escape download handler URLs
2013-12-03 07:32:47 -08:00
Mike Jolley
1ec8b82f69
Prevent error if variation doesn't exist.
2013-12-03 14:54:13 +00:00
Coen Jacobs
a8444eb567
Fixed faulty double return
2013-12-03 15:11:01 +01:00
Mike Jolley
53b56250f4
Clean up cancel_order and filter cancelable order status Closes #4257
2013-12-03 14:07:15 +00:00
Coen Jacobs
61a783886d
Suggested code changes in #4266
2013-12-03 15:03:25 +01:00
Gregory K
f937c36250
Inconsistent return types: TODOs
2013-12-03 14:53:49 +01:00
Mike Jolley
273ae46758
Move sample tax rates Closes #4264
2013-12-03 13:45:10 +00:00
Mike Jolley
293c998a1d
Set price slider min to min price. Closes #4183
2013-12-03 13:39:02 +00:00
Mike Jolley
418a8785b0
woocommerce_checkout_customer_userdata filter Closes #4235
2013-12-03 12:27:53 +00:00
Mike Jolley
af34b43ee6
Tweaks for #4239
2013-12-03 12:14:12 +00:00
Mike Jolley
d7d6ddbc84
Merge pull request #4240 from Spreeuw/master
...
Allow custom checkout fields to be localized
2013-12-03 04:08:09 -08:00
Mike Jolley
a071d90368
Merge pull request #4255 from BFTrick/billing-state-desc-typo
...
Fixing County Typo
2013-12-02 06:59:19 -08:00
Coen Jacobs
52f22aaea4
Thumbnail upload buttons shouldn't be submit type. Closes #4263
2013-12-02 13:10:32 +01:00
Coen Jacobs
41171efd57
Deprecated versions of void functions shouldn't return
2013-12-02 13:01:11 +01:00
Coen Jacobs
3e6acf7aab
Code changes for #4252
2013-12-02 12:34:27 +01:00
Mike Jolley
e9234e8d63
Removed a stray var dump and added braces
2013-12-02 11:09:33 +00:00
Patrick Rauland
263d2116de
fixing county typo
2013-11-29 18:26:42 -06:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Coen Jacobs
676330de2a
More code styling and return value optimisations
2013-11-29 10:33:24 +01:00
Coen Jacobs
1cb8aa1724
Code styling fixes and return values for #4244
2013-11-29 10:15:58 +01:00
Gregory K
43ca01badc
PhpDocs and TODO comments
2013-11-28 12:59:09 -05:00
Mike Jolley
06e047f6c3
Merge pull request #4243 from tivnet/master
...
PhpDocs and TODO comments
2013-11-28 09:24:10 -08:00
Mike Jolley
e0779b0f06
Global templates make more sense than shop templates, and re-use quantity inputs for cart and single products Closes #4210
2013-11-28 17:23:45 +00:00
Gregory K
cdbe5950f0
PhpDocs and TODO comments
2013-11-28 11:49:30 -05:00
Mike Jolley
4a5c965728
Merge pull request #4241 from ragulka/master
...
Fix: customer should be able to pay for a new order
2013-11-28 07:30:03 -08:00
Illimar Tambek
b22adaebfc
Fix: customer should be able to pay for a new order
2013-11-28 17:22:05 +02:00
Mike Jolley
dde1f55120
Support deprecated hook Closes #4230
2013-11-28 15:20:02 +00:00
Mike Jolley
ad84044537
More deprecated functions
2013-11-28 15:09:16 +00:00
Ewout Fernhout
bfa4ce53ff
Allow custom checkout fields to be localized
2013-11-28 15:46:08 +01:00
Coen Jacobs
aef599b6a7
Merge pull request #4237 from kloon/refactor_inline_js
...
Refactor inline js
2013-11-28 05:12:40 -08:00
Coen Jacobs
5291f2eec6
Code changes as suggested in #4238
2013-11-28 14:12:08 +01:00
Gregory K
cac9d12bf9
PhpDocs
2013-11-28 07:54:19 -05:00
Gerhard
903af259e0
refactor inline product images js
2013-11-28 14:37:44 +02:00
Coen Jacobs
dbb9b6fc68
Removed duplicate country_dropdown_options() echo. Closes #4228
2013-11-28 13:24:23 +01:00
Coen Jacobs
5f2443b331
Merge pull request #4229 from tivnet/master
...
PhpDocs: most of @return void fixed
2013-11-28 04:21:44 -08:00
Gerhard
238becb050
Refactor order notes inline js
2013-11-28 14:03:29 +02:00
Mike Jolley
bc98a8dc9f
Deprecate functions should return
2013-11-28 11:16:00 +00:00
toddlahman
52fd9a0502
esc_url applied to readfile home_url()
...
This should fix it.
Thank you Mike for the info on esc_html.
2013-11-27 15:51:56 -08:00
Gregory K
fc0df9fa59
typo
2013-11-27 13:23:46 -05:00
Gregory K
dd5a2fb334
PhpDocs
2013-11-27 13:20:31 -05:00
Mike Jolley
6db8ac6f6f
Made error counts work with new notices api Closes #4201
2013-11-27 16:15:53 +00:00
Mike Jolley
417651d579
Check for valid post type/products when setting up data
2013-11-27 16:03:54 +00:00
Mike Jolley
2bd40b29b2
Humanize order number/status string Closes #4225
2013-11-27 15:53:57 +00:00
Mike Jolley
3da2afdcef
Isset rather than empty, so states work when allowed countries are set. Closes #4223
2013-11-27 15:38:52 +00:00
Mike Jolley
ca57f2acdc
Contact first and last name and query them when searching Closes #4174
2013-11-27 15:33:09 +00:00
Mike Jolley
73887cf274
Fix default status of variation fields Closes #4205
2013-11-27 14:58:01 +00:00
Mike Jolley
a7b81eed8a
Merge pull request #4213 from kloon/fix_optimize_downloadable_products_dropdown
...
Make downloadable product dropdown ajaxy, as per #4211
2013-11-27 06:32:32 -08:00
Mike Jolley
ec480e8233
Merge pull request #4224 from mihaigrigori/master
...
Explicit currency for order prices
2013-11-27 06:28:34 -08:00
Mike Jolley
c05e369b43
Merge pull request #4215 from scottbasgaard/master
...
"Order again" doesn't work. Proposed pass at fix.
2013-11-27 06:27:39 -08:00
Gerhard
06020f4bd5
Move all download permissions inline js to meta-boxes.js
2013-11-27 16:03:04 +02:00
Gerhard
a1ad556fb9
Clear selection after adding download permissions
2013-11-27 15:29:42 +02:00
mihaigrigori
b19fb1ee09
Explicit currency for order prices
...
Set the currency for the order prices to be the order's currency instead
of the shop's currency. When these are different, the order emails are
misleading.
Related to https://github.com/woothemes/woocommerce/pull/4143
2013-11-27 11:15:20 +02:00
Coen Jacobs
19688ad9ef
Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
...
Closes #4216
2013-11-27 10:03:47 +01:00
Scott Basgaard
538e704bba
Merge branch 'master' of github.com:woothemes/woocommerce
2013-11-27 03:44:52 +01:00
toddlahman
c6fd37f2df
esc_url_raw to readfile home_url()
2013-11-26 13:55:10 -08:00
Patrick Rauland
9ac8b406c5
removing postcode for Bolivia
2013-11-26 15:41:54 -06:00
Scott Basgaard
2885da4581
"Order again" doesn't work. Proposed pass at fix.
2013-11-26 17:48:39 +01:00
Mike Jolley
2cf95fc1eb
Merge pull request #4207 from emzo/product-short-description-metabox
...
[2.1-beta-1] Remove second row of formatting buttons in product short description visual editor.
2013-11-26 08:25:21 -08:00
toddlahman
6bed7bff94
escape download handler URLs
2013-11-26 07:27:46 -08:00
Gerhard
6300e65582
Make downloadable product dropdown ajaxy, as per #4211
2013-11-26 15:54:34 +02:00
Ryan McCue
ff6f2e070e
Use correct variable for OAuth parameter check
2013-11-26 11:19:00 +10:00
Emyr Thomas
4af19400b6
Remove the second row of formatting buttons in the TinyMCE editor for the
...
product short description meta box.
2013-11-25 21:53:40 +00:00
Mike Jolley
5e9a84f26c
Fix ajax class functions and includes
2013-11-25 15:47:52 +00:00
Coen Jacobs
ac34f94321
Merge pull request #4199 from tivnet/master
...
PhpDocs fixes
2013-11-25 07:45:08 -08:00
Coen Jacobs
173f341631
Moved cart related output functions to right file
2013-11-25 16:17:18 +01:00
Gregory K
5caf292456
PhpDoc fix in class-wc-cart
2013-11-25 10:06:06 -05:00
Gregory K
ec5f2c3501
PhpDoc fixes in class-wc-coupon
2013-11-25 10:00:54 -05:00
Coen Jacobs
848dfd8bd0
Deprecate woocommerce_paying_customer the other way around
2013-11-25 15:51:14 +01:00
Coen Jacobs
c800d83182
Merge pull request #4197 from tivnet/master
...
Corrected some PhpDocs in class-wc-cart
2013-11-25 06:43:38 -08:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
d96661f45b
Reverted template function names for @jameskoster's sanity
2013-11-25 14:35:10 +00:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Mike Jolley
3973beae5d
woocommerce_ functions to wc_ - replaced attribute functions
2013-11-25 14:01:37 +00:00
Coen Jacobs
f7df17db1c
Order functions woocommerce to wc refactor
2013-11-25 14:54:52 +01:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
1663eafb68
Customer functions woocommerce to wc refactor
2013-11-25 13:52:53 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Coen Jacobs
b0e3802b5b
Refactor cart functions in core
2013-11-25 13:44:32 +01:00
Gregory K
f2e34496d0
Corrected some PhpDocs in class-wc-cart
2013-11-25 07:40:16 -05:00
Coen Jacobs
cb4e239655
Cart functions woocommerce to wc refactor
2013-11-25 13:23:39 +01:00
Coen Jacobs
aa4d9d5914
Better order for admin settings tabs
2013-11-25 12:06:42 +01:00
James Koster
cf64302063
woocommerce status dashboard widget #4042
2013-11-25 10:40:05 +00:00
Coen Jacobs
6377a2af6e
esc_attr instead of esc_url for textarea placeholder
...
Closes #4195
2013-11-25 10:41:37 +01:00
Coen Jacobs
effc108af4
Merge pull request #4192 from maxrice/http-x-forwarded-host
...
Allow forwarded hosts for forced SSL
2013-11-25 00:44:41 -08:00
Coen Jacobs
2f3ed733fb
Merge pull request #4182 from thenbrent/is-purchasable-check
...
Check products are purchasable when restoring cart
2013-11-25 00:39:16 -08:00
Coen Jacobs
084ac253f9
Merge pull request #4181 from kloon/fix_order_item_meta_ajax
...
Fix ajax calls for adding and deleting order item meta from the backend.
2013-11-25 00:38:50 -08:00
Coen Jacobs
65a1ed1b98
Fixed typo as merged in #4190
2013-11-25 09:38:03 +01:00
Coen Jacobs
8978f75f36
Remove safety net for calling WC_Product directly #4194
2013-11-25 09:25:45 +01:00
Coen Jacobs
7b63c6ce49
Remove parameters from function as well #4194
2013-11-25 09:19:24 +01:00
Coen Jacobs
73215ba4e2
Remove 2.0 tax deprecated arguments #4194
2013-11-25 09:17:44 +01:00
Coen Jacobs
6acfff9879
Fixed field matching in setting up variations
2013-11-25 09:05:27 +01:00
Andrew Benbow
0f29761268
Bracing
2013-11-25 09:02:51 +01:00
Max Rice
72316d0b5f
Allow forwarded hosts for forced SSL
2013-11-24 22:39:23 -05:00
Coen Jacobs
8054316fa6
Merge pull request #4185 from maxrice/rest-api-fixes-issue-4055
...
Various fixes for REST API
2013-11-24 12:58:25 -08:00
Coen Jacobs
e9691eed7f
Merge pull request #4184 from maxrice/api-order-status-update-issue-4161
...
Implement order status update endpoint
2013-11-24 12:58:15 -08:00
Andrew Benbow
2d03022b76
Brace all the things
2013-11-24 10:24:12 +00:00
Max Rice
c00e2d0f8c
Add total customers count to sales report
...
Part of #4055
2013-11-23 17:27:24 -05:00
Max Rice
017e7cee1d
Add permissions for count endpoints
2013-11-23 17:11:16 -05:00
Max Rice
2af47c6699
Fix incorrect total results number for pagination headers
2013-11-23 16:37:28 -05:00
Max Rice
0be58b3390
Normalize response data types
...
Part of #4055
2013-11-23 16:36:56 -05:00
Max Rice
20fb7e771f
Add total sales property to products response
2013-11-23 15:17:14 -05:00
Max Rice
3bc8fae631
Remove PUT/DELETE endpoints
...
Will be implemented in 2.2
Part of #4055
2013-11-23 15:01:53 -05:00
Max Rice
a0cb0cbb4e
Remove schema link
2013-11-23 14:41:21 -05:00
Max Rice
3f07b8be77
Specify 2 decimal places for woocommerce_format_decimal()
...
Part of #4055
2013-11-23 14:40:31 -05:00
Max Rice
5bb8c9daef
Fix permissions typo
...
Part of #4055
2013-11-23 14:32:22 -05:00
Max Rice
1ce5a71f3d
Load admin profile class when editing a user
2013-11-23 13:41:10 -05:00
Max Rice
38be2ee7a4
Perform core authentication at 0 priority
...
Makes it easier for plugins to override the core API authentication
Part of #4055
2013-11-23 13:28:26 -05:00
Max Rice
a4b3860376
Add action for plugins to load other API resources
...
Part of #4055
2013-11-23 13:27:47 -05:00
Max Rice
deac0be31b
Implement order status update endpoint
...
Closes #4161
2013-11-23 12:59:21 -05:00
thenbrent
1ce5500b06
Add WC_Cart::get_cart_for_session()
2013-11-22 15:30:24 -08:00
thenbrent
bb14495064
Check products are purchasable when restoring cart
...
If WC_Product::is_purchasable() is only called when adding a product to the cart,
it's possible to purchase products that aren't purchasable (but were when they were
added to the cart).
2013-11-22 15:14:08 -08:00
Gerhard
bac3c81296
Fix ajax calls for adding and deleting order item meta from the backend.
2013-11-22 15:16:38 +02:00
Max Rice
d7c77d1ab7
API: Add XML generation
...
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.
Part of #4165
2013-11-22 03:41:32 -05:00
Coen Jacobs
f8ef3444b0
Fixed undefined esc_atr function error
2013-11-21 14:28:09 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Scott Basgaard
de77ec07ea
esc_url() all the things.
2013-11-20 19:54:01 +01:00
Mike Jolley
3acfc07684
Fix user search and sanitize search strings
2013-11-20 17:30:49 +00:00
Mike Jolley
43807a0488
Accessing currency wrong
2013-11-20 17:25:48 +00:00
Mike Jolley
cc40557077
filter for cart fragment #4132
2013-11-20 16:31:28 +00:00
Mike Jolley
0dc0b9cbb0
Indenting fail.
2013-11-20 16:13:53 +00:00
Mike Jolley
7cb88db630
Merge pull request #4143 from mihaigrigori/master
...
Show order currency
2013-11-20 08:12:21 -08:00
Mike Jolley
03bda02144
Merge pull request #4147 from BFTrick/optimize-images
...
Optimizing Images
2013-11-20 06:35:26 -08:00
Mike Jolley
b3480fc60e
Merge pull request #4148 from scottbasgaard/master
...
Use remove_ordering_args() to remove order query filters instead of remo...
2013-11-20 06:35:03 -08:00
Mike Jolley
453942252e
Merge pull request #4151 from toddlahman/master
...
wc_ delimiter to identify start of uniquid
2013-11-20 06:34:40 -08:00
Mike Jolley
4a06538125
Merge pull request #4153 from kloon/tweak_formatted_price_filter
...
Add formatted_woocommerce_price filter.
2013-11-20 06:33:53 -08:00
Gerhard
970ae40004
Remove function and use global woocommerce_timezone_string function instead
2013-11-20 16:16:04 +02:00
Gerhard
475e9abe83
Add formatted_woocommerce_price filter.
2013-11-20 10:40:29 +02:00
toddlahman
0c07663b26
wc_ delimiter to identify start of uniquid
2013-11-20 00:03:49 -08:00
Gerhard
4afff14de1
Remove unused variable from function
2013-11-20 07:57:48 +02:00
Gerhard
df5929093d
REST API - Fix fatal error due to missing get_timezone function
2013-11-20 07:55:28 +02:00
Scott Basgaard
9409907ffa
Use remove_ordering_args() to remove order query filters instead of remove_product_query(). Most likely was a merge issue. Fixes #4142
2013-11-19 22:38:00 +01:00
Patrick Rauland
3fc598ff77
optimizing images
2013-11-19 12:59:01 -06:00
Mike Jolley
922406b67b
Merge pull request #4145 from scottbasgaard/master
...
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this...
2013-11-19 09:06:31 -08:00
toddlahman
10273973d8
Methods called statically set to static
2013-11-19 08:26:18 -08:00
Coen Jacobs
6f1f946d02
Merge pull request #4144 from kloon/fix_api_user_profile_warning
...
Fix warning in new rest api key generation
2013-11-19 08:20:31 -08:00
Mike Jolley
459db7ec63
2.1 welcome screen Closes #4043
2013-11-19 16:18:47 +00:00
Scott Basgaard
f3b2854638
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this->json_search_products() instead.
2013-11-19 14:44:28 +01:00
Gerhard
bb43d086c9
Fix warning in new rest api key generation
2013-11-19 15:18:25 +02:00
mihaigrigori
fac0bf69eb
Show order currency
...
- method to return the order currency
- allow 'currency' parameter for 'woocommerce_price'
2013-11-19 15:13:11 +02:00
Scott Basgaard
bee41fb7e5
woocommerce_get_refreshed_fragments() is no longer. Update where it was called to new Ajax class method.
2013-11-19 13:33:26 +01:00
James Koster
0257ce201a
wc messages #4042
2013-11-19 11:22:59 +00:00
James Koster
489bf34385
attributes table. closes #4118
2013-11-19 11:04:45 +00:00
Mike Jolley
8339354bc2
Merge pull request #4119 from kloon/feature_create_missing_pages_button
...
Add button on tools page to create missing pages
2013-11-19 01:46:22 -08:00
Coen Jacobs
792bb6e444
Merge pull request #4134 from scottbasgaard/master
...
Product->get_title() should be raw format by default. Pass at #4124
2013-11-19 01:02:18 -08:00
Coen Jacobs
ac59c59da7
wc_add_notice added extra parameter #4099
...
Thanks @thenbrent :)
2013-11-19 09:57:06 +01:00
Coen Jacobs
e41687ba4f
Merge pull request #4138 from woothemes/api-implementation
...
API implementation merge to master
2013-11-19 00:53:11 -08:00
Max Rice
ef22f03275
Add API key-specific permission check
...
Part of #4055
2013-11-19 03:04:00 -05:00
Max Rice
61fb0f760a
Update authentication to use new API key meta names
...
Part of #4055
2013-11-19 03:03:39 -05:00
Max Rice
f542ce87a1
Add key management UX
...
Part of #4055
2013-11-19 03:02:28 -05:00
Max Rice
001ce0fc3e
Add option to enable/disable API
...
Part of #4055
2013-11-19 03:01:46 -05:00
Max Rice
dcdca4d4d2
Remove API settings tab
...
Part of #4055
2013-11-19 03:01:14 -05:00
Max Rice
48e8363db0
Add meta to resource responses
...
Part of #4055
2013-11-18 22:58:10 -05:00
Max Rice
3130369325
Update filter_response_fields() to support sub-field inclusion
...
Part of #4055
2013-11-18 21:59:13 -05:00
Max Rice
490dc758a9
Update pagination args/headers
...
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice
87ff36db12
Properly handle datetimes
...
Part of #4055
2013-11-18 16:47:38 -05:00
Gerhard
02c62bd132
fix call to static method inside class
2013-11-18 21:59:10 +02:00
Gerhard
0e21a46cf4
make creat_pages static
2013-11-18 17:56:04 +02:00
Scott Basgaard
96fe4aae0b
Use wp_unslash() when displaying search string on orders.
2013-11-18 16:32:47 +01:00
Scott Basgaard
faf64a4d96
Product->get_title() should be raw format by default. Pass at #4124
2013-11-18 16:03:32 +01:00
Mike Jolley
d78b4287bf
shortcode_atts and show price - closes #4122
2013-11-18 14:37:27 +00:00
Mike Jolley
6ea8cad430
Related display fixes for attributes #4123
2013-11-18 14:11:40 +00:00
Mike Jolley
20bedea97b
Fix filters Closes #4123
2013-11-18 13:45:54 +00:00
Mike Jolley
26cf2e0669
Isset, not empty for 0 values. Closes #4127
2013-11-18 13:35:38 +00:00
Mike Jolley
434421aad7
Validation errors #4115
2013-11-18 12:53:45 +00:00
Mike Jolley
a957248a4d
woocommerce_product_gallery_attachment_ids filter Closes #4113
2013-11-18 12:40:58 +00:00
Mike Jolley
9eabb9a4fb
Fix yard conversion Closes #4129
...
@coenjacobs for .21
2013-11-18 12:31:55 +00:00
Mike Jolley
65561e2c61
WC()
2013-11-18 12:31:55 +00:00
Coen Jacobs
90008d7143
Merge remote-tracking branch 'thenbrent/new_notice_api'
...
Conflicts:
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-message-functions.php
woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Coen Jacobs
f0adcb65b7
Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396'
2013-11-18 12:33:23 +01:00
Mike Jolley
f6786ef6bf
Convert back to forward slashes in getcwd closes #4112 .
...
@tivnet, can you confirm? I don't have windows.
2013-11-18 11:20:39 +00:00
Max Rice
c1854b26b9
Implement GET /reports/sales endpoint
...
Part of #4055
2013-11-15 00:21:19 -05:00
Coen Jacobs
faaebab2ff
Always require braces (since yesterday ;) )
...
In order to comply to the new coding standards:
http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/
2013-11-14 20:31:08 +01:00
Gerhard
3607ecf285
Add button on tools page to create missing pages
2013-11-14 21:20:18 +02:00
Max Rice
5ab8e085ad
Update /coupons/code endpoint
...
Part of #4055
2013-11-14 13:56:05 -05:00
Max Rice
ec55e43c24
Update API index response
...
Part of #4055
2013-11-14 13:55:45 -05:00
Scott Basgaard
4bdfd78ac5
Avoid undefined variable notices when calculating totals and saving attributes via AJAX.
2013-11-14 19:40:15 +01:00
Scott Basgaard
9f7f36b232
Merge branch 'master' of github.com:woothemes/woocommerce
...
Conflicts:
woocommerce-ajax.php
2013-11-14 19:37:34 +01:00
Max Rice
709f0da16f
Improve response filters
...
Part of #4055
2013-11-14 12:48:20 -05:00
Max Rice
451bc07339
Tweak GET /order response
...
Part of #4055
2013-11-14 12:42:42 -05:00
Max Rice
674ea42012
Implement GET endpoint for products and reviews
...
Part of #4055
2013-11-14 12:40:35 -05:00
Mike Jolley
221a9d7350
Merge pull request #4111 from tivnet/master
...
Incorrect "Robots: none" tag?
2013-11-14 05:53:12 -08:00
Gregory K
eba9edb30b
Incorrect "Robots: none" tag?
...
https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag
2013-11-14 07:40:33 -05:00
Mike Jolley
3d7df1bb85
Merge pull request #4108 from corsonr/master
...
Added Icelandic krona & Currency symbol
2013-11-14 04:28:31 -08:00
Mike Jolley
645ca3e834
WC_Ajax class for ajax events
2013-11-14 12:13:34 +00:00
Remi Corson
479153918e
Fixed incorrect Icelandic currency code
2013-11-14 11:44:58 +01:00
Remi Corson
84e8716844
Added Icelandic krona & Currency symbol
2013-11-14 11:42:05 +01:00
Remi Corson
55ccb4d428
Added Icelandic krona currency & currency code
2013-11-14 11:39:59 +01:00
Mike Jolley
d7ee32b18a
Consistant naming with core
2013-11-14 09:48:41 +00:00
Scott Basgaard
97fe6adaeb
It's possible there are no attributes. Let's check first to avoid undefined notices.
2013-11-13 21:15:30 -05:00
Scott Basgaard
5b5704d196
More undefined checks to avoid PHP notices in widgets.
2013-11-13 21:11:00 -05:00
Scott Basgaard
c36369010d
When adding new widget instance, use isset() to make sure setting key exists and avoid notices/warnings.
2013-11-13 21:03:46 -05:00
Scott Basgaard
eb91907db6
Make sure $matched is defined when calculating shipping totals and classes to avoid PHP variable undefined notices.
2013-11-13 20:53:31 -05:00
Scott Basgaard
f76a5edea8
Display message when tools options have been saved.
2013-11-13 20:36:27 -05:00
thenbrent
9e80672143
Use new notice template for Shipping Updated
...
For #4034
2013-11-13 16:20:27 -08:00
thenbrent
3c625eba5f
Use $messages variable for all notice templates
2013-11-13 16:19:59 -08:00
thenbrent
a7a7a8ee08
fixup! Store all notices in 'wc_notices' array
2013-11-13 16:19:27 -08:00
thenbrent
8dcf86335c
Introduce new wc_print_notice() function
2013-11-13 16:10:31 -08:00
thenbrent
3fa310969f
Introduce new wc_get_notices() function
...
To replace the deprecated Woocommerce->get_messages() and
Woocommerce->get_errors() functions
2013-11-13 16:09:28 -08:00
thenbrent
376c2f26ce
Store all notices in 'wc_notices' array
...
With 'error', 'success' & 'notice' array keys
2013-11-13 16:09:28 -08:00
thenbrent
41ba6578a0
Move notice templates into /notices/notice.php
2013-11-13 16:09:28 -08:00
Mike Jolley
02c47b2723
get_related wpdb query Closes #4086
2013-11-13 18:00:01 +00:00
Mike Jolley
2b57114a12
WC() > $woocommerce
2013-11-13 16:59:42 +00:00
Mike Jolley
197c0c76cc
Only unset cookie if it exists #3513
2013-11-13 14:55:15 +00:00
Mike Jolley
daea1e827c
Merge pull request #4094 from robdvr/master
...
Ability to add custom input classes
2013-11-13 04:18:19 -08:00
Mike Jolley
044f92fe41
Merge pull request #4096 from scottbasgaard/master
...
Use $_product object instead of undefined $product_id for downloadable p...
2013-11-13 04:15:22 -08:00
Mike Jolley
e9c38153e5
Merge pull request #4101 from franticpsyx/variation_is_visible
...
Fix invisible variations when get_price is filtered and set to (double) 0.
2013-11-13 04:15:04 -08:00
Mike Jolley
2c25568e21
Filter for adding login erorrs #4059
2013-11-13 12:12:27 +00:00
Mike Jolley
f1e6900359
Hooks before and after deleting order items #4059
2013-11-13 12:12:27 +00:00
Mike Jolley
b116d7619d
Ex tax calcs Closes #4100
2013-11-13 12:12:27 +00:00
Mike Jolley
dbdf66aec0
Multiselect
2013-11-13 12:12:26 +00:00
Manos Psychogyiopoulos
fd2a812e6d
Fix invisible when get_price is filtered and set to double 0.
2013-11-13 13:58:24 +02:00
thenbrent
2fcd615f88
Update calls to wc_print_messages() function
...
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent
e14e3842b0
Update calls to wc_error_count() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
fe44f020e3
Update calls to wc_add_message() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
0d45e19fcf
Update calls to wc_add_error() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
f3b1679ae5
Introduce new wc_print_notices() function
...
To replace wc_print_messages() function.
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
3707a9d017
Introduce wc_clear_notices() function
...
To replace wc_clear_messages() & wc_clear_errors() functions
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
23cdafccd4
Introduce new wc_add_notice() function
...
To replace wc_add_message() & wc_add_error() functions.
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
b3aad6f6fe
Introduce new wc_notice_count() function
...
To replace wc_message_count() & wc_error_count()
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
c2646a7315
Rename message functions file for new notice API
...
Part of #4034
2013-11-12 20:59:04 -08:00
Scott Basgaard
8a45886a4c
Use $_product object instead of undefined $product_id for downloadable permissions. Fixes #4095
2013-11-12 23:37:39 -05:00
Rob Davarnia
f92f5bfe81
Ability to add custom input classes
2013-11-12 13:14:14 -08:00
Mike Jolley
f7c3362e8a
Update variations when the term slug changes Closes #4077
2013-11-12 20:25:26 +00:00
Mike Jolley
5bfffb8554
Merge pull request #4089 from scottbasgaard/master
...
Update tools wp_nonce_url() to correct page.
2013-11-12 11:02:36 -08:00
Mike Jolley
3fd02a57d0
Locales - store standardised values, and display using locale in admin #3862
2013-11-12 17:43:30 +00:00
Mike Jolley
6bcee46ffb
Convert float to string during update post meta #3862
2013-11-12 12:01:05 +00:00
Scott Basgaard
71c2012c1b
Add missing message when clearing sessions
...
All other actions add a message from tools
2013-11-11 13:48:36 -05:00
Scott Basgaard
c712e1414a
Update tools wp_nonce_url() to correct page.
2013-11-11 13:20:03 -05:00
Mike Jolley
7179417d0f
Better locale report #3862
2013-11-11 15:41:32 +00:00
Mike Jolley
70e2a05bd6
wpautop when displaying values #3926
2013-11-11 13:50:36 +00:00
Mike Jolley
5f62c532c3
Clean up formatting in admin - use autop #3926
2013-11-11 13:50:36 +00:00
Max Rice
00c65b9cc3
Add site timezone to API index
2013-11-10 19:30:59 -05:00
Max Rice
a13a95e452
Update API resource classes
...
Change method naming to snake_case and implement initial
`current_user_can()` permission checks
2013-11-10 19:29:36 -05:00
Max Rice
9c7791e3d8
urldecode parameters before passing to resource methods
2013-11-10 18:29:37 -05:00
Max Rice
1f5db98046
Add date created filtering to /customers endpoint
2013-11-10 18:28:58 -05:00
Max Rice
a909140cb1
Fix typo
2013-11-10 14:01:12 -05:00
Max Rice
23e6b22cfd
Rename API base resource class
2013-11-09 16:20:23 -05:00
claudiosmweb
e04dadd8d9
added rating meta box for comments, fix #4072
2013-11-08 17:19:42 -02:00
Mike Jolley
442f3b54cf
Use textarea for meta #3926
2013-11-08 17:03:46 +00:00
Mike Jolley
97bdb1555f
Sync only when needed
2013-11-08 16:02:03 +00:00
Mike Jolley
47fc9b2922
Merge pull request #4068 from BFTrick/sanitzie-admin-order-meta
...
Removing Extra Slashes When Order Meta is Saved in Admin
2013-11-08 07:58:25 -08:00
Mike Jolley
78832e7e79
woocommerce_is_filtered filter Closes #4078
2013-11-08 15:56:38 +00:00
Mike Jolley
98d247eb76
Rather than storing prices themselves, store the ID's of variations during price sync - output prices using variation tax class Closes #4032
2013-11-08 15:53:57 +00:00
Patrick Rauland
cc79155f0d
making the local pickup tooltip more descriptive
2013-11-08 07:10:43 -06:00
Mike Jolley
ff0fae0c1f
action, not filter
2013-11-07 09:53:28 +00:00
Patrick Rauland
3ba5aa3369
removing extra slashes when order meta is saved in admin
2013-11-06 10:30:36 -06:00
Max Rice
6c3eb169db
Define and use WC_API::VERSION constant for endpoint versioning
2013-11-06 01:56:38 -05:00
Max Rice
0a6b268024
Update core WC_API class to use new WC_API_Server class
2013-11-06 01:56:11 -05:00
Max Rice
c3fa52b0b5
Update API classes to use new WC_API_Server class
2013-11-06 01:54:19 -05:00
Max Rice
ed6de29bfc
Add new WC_API_Server class
...
Based on WP_JSON_Server, this class add response handling based on
endpoint suffixes (.json or .xml) or the ACCEPT header. It also removes
some unneeded functionality and renames filters so as to not conflict
with users who may have WP-API installed already. Finally, instead of
no authentication required by default, authentication is always
required unless specifically disabled via filters.
2013-11-06 01:53:07 -05:00
Max Rice
8637da63c0
Add REST API XML request/response handler stub
2013-11-06 01:49:51 -05:00
Max Rice
165d0e65ea
Add REST API JSON request/response handler
2013-11-06 01:49:37 -05:00
Max Rice
58c57eb6f1
Add REST API request/response interface
2013-11-06 01:49:08 -05:00
Max Rice
1625930482
Remove WP-API library
2013-11-06 01:24:06 -05:00
Max Rice
30300bb2a0
Add get_woocommerce_api_url() method
2013-11-06 01:23:19 -05:00
Brent Shepherd
3e08e29f9e
Use new notice API for "Add a Pay Method" notice
...
Part of #3396
2013-11-05 16:17:51 -08:00
Brent Shepherd
fe969d0903
Use wc_add_notice() when updating shipping costs
...
Fixes #4034
2013-11-05 16:17:51 -08:00
Brent Shepherd
9de928baf5
Add new notices API for blue info message
...
Part of #4034
2013-11-05 16:11:50 -08:00
Brent Shepherd
4a7f207eff
Use new ID for add pay method form
...
Part of #3396
2013-11-05 15:36:00 -08:00
Brent Shepherd
b69066405b
Move /add-payment-method/ endpoint to /my-account/
...
Part of #3396
2013-11-05 13:02:13 -08:00
thenbrent
09e182f358
Allow gateways to specify redirect URL
...
Part of #3396
2013-11-04 20:54:18 -08:00
Coen Jacobs
b9b9f3a49e
Fixed docs for enabled params (string, not bool), closes #4052
2013-11-04 11:29:20 +01:00
Coen Jacobs
c58621f3f8
Fixed docblock return type, closes #4057
2013-11-04 11:20:45 +01:00
Mike Jolley
e3a8b7dfdc
Merge pull request #4045 from scottbasgaard/master
...
Class name consistency for woocommerce_attributes > product_attributes. ...
2013-11-04 01:59:58 -08:00
Max Rice
e219585974
Add initial versions of REST API resource classes
2013-11-04 01:36:31 -05:00
Max Rice
27163ceec0
REST API base class tweaks
2013-11-04 01:36:16 -05:00
Max Rice
25407c284e
Trash posts by default instead of permanently deleting
2013-11-04 01:34:53 -05:00
Max Rice
2bb83bb1d8
Make WC_Comments::exclude_order_comments static
...
The WC_Comments class is an orphaned global so there's no way for other
code to access it in order to remove the `comment_clauses` filter. This
changes the add_filter and associated method to static so other code
can properly remove the filter for querying order notes
2013-11-04 01:34:21 -05:00
Max Rice
7caffcd8f2
Add REST API base class
2013-11-03 20:06:36 -05:00
Max Rice
45fa450760
Add REST API authentication class
2013-11-03 20:06:28 -05:00
thenbrent
e63021a2ca
Fix "non-static method called statically" notice
2013-11-03 16:54:07 -08:00
thenbrent
d9639947da
Filter gateways for add_payment_method form
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
a1ca487e73
Add a notice that payment method has been added
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
1e0cf3087e
Redirect to My Account page after adding method
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
0e4cd125c5
Call add_payment_method_action()
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
4f825eb36e
Only display add_payment_method() when logged in
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
237b5778a3
Add add_payment_method_action() handler
...
Part of #3396
2013-11-03 16:53:24 -08:00
thenbrent
1bbe03d139
Add new /checkout/add-payment-method/ endpoint
...
Part of #3396
2013-11-03 16:53:14 -08:00
Max Rice
1d113b3e39
Add REST API endpoints/methods to WC API class
2013-11-03 19:29:45 -05:00
Max Rice
4cc1847a66
Remove unused WP_JSON_Posts class
2013-11-03 19:26:29 -05:00
Max Rice
4daaf22304
Add REST API settings stub
2013-11-03 18:55:34 -05:00
Max Rice
a4a8b5e5c0
Add required global functions for WP_JSON_Server class
2013-11-03 18:54:56 -05:00
Max Rice
65f48e8456
Modify WP_JSON_Server to allow authentication
2013-11-03 18:53:35 -05:00
Max Rice
a0ddef247d
Fix strict standards warning
2013-11-02 18:12:50 -04:00
Max Rice
f6ea020e8d
Add WP JSON API Library
2013-11-02 01:16:45 -04:00
thenbrent
dae90d0dd0
Fix use of __CLASS__ when not in class
2013-11-01 15:00:09 -07:00
Coen Jacobs
16162ca8db
We'll let autoload handle this file loading
...
Revert: 1428bf8f9c
2013-11-01 21:05:02 +01:00
Scott Basgaard
5b4ef0b8bd
Class name consistency for woocommerce_attributes > product_attributes. See #4019
2013-11-01 13:06:14 -04:00
Coen Jacobs
1428bf8f9c
Only load integration abstract when needed #3169
2013-11-01 17:39:33 +01:00
Coen Jacobs
ae64e20bb3
Take out default variations #3169
2013-11-01 17:33:33 +01:00
Mike Jolley
5faf171a48
Merge pull request #4030 from bernardpeh/woocommerce-dev
...
polish up attributes section confusing tips.
2013-11-01 08:47:04 -07:00
Mike Jolley
ab94de75d6
Merge pull request #4038 from emzo/widget-product-categories-orderby
...
Changed label of orderby setting in product category widget.
2013-11-01 07:02:38 -07:00
Mike Jolley
e9c130145a
Merge pull request #4031 from helgatheviking/sync/add-child-to-action
...
pass $children variable (variations) to the woocommerce_variable_product...
2013-11-01 07:01:28 -07:00
Emyr Thomas
ba3282c737
Changed label of orderby setting in product category widget.
2013-10-31 21:42:31 +00:00
Mike Jolley
19fcf30a66
Option to limit reviews to purchasers. Closes #4021
2013-10-31 17:37:36 +00:00
Mike Jolley
b4d1c764d5
Move average rating outside of hidden tab. Closes #3867 .
2013-10-31 16:26:20 +00:00
Mike Jolley
447b9d8b4f
Unlike the suggestion in #3965 , the HTML email preview should preview the layout only (selected colours etc). Content is irrelevant.
...
Closes #3965
2013-10-31 15:07:43 +00:00
Kathy Darling
b444b42275
pass $children variable (variations) to the woocommerce_variable_product_sync hook
2013-10-31 09:17:00 +01:00
Bernard Peh
f4291f9333
polish up attributes section confusing tips.
2013-10-31 17:14:35 +11:00
Mike Jolley
67c7671bb2
woocommerce_apply_base_tax_for_local_pickup when no methods are chosen yet
2013-10-30 15:30:20 +00:00
RistoNiinemets
ff26037372
replace function with new filter
2013-10-29 20:16:12 +02:00
RistoNiinemets
6a2972f5f3
Merge remote-tracking branch 'upstream/master'
2013-10-29 20:11:00 +02:00
Mike Jolley
95c0a67fdf
Merge pull request #4017 from scottbasgaard/master
...
Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart.
2013-10-29 09:49:55 -07:00
Mike Jolley
c3232d613d
_woocommerce_term_recount
2013-10-29 11:29:21 +00:00
James Koster
dcf54c23bd
edit coupon icons and new version of WooCommerce icon font. #3585
2013-10-28 11:19:56 +00:00
James Koster
5aeaed888e
Add review form no longer opens in lightbox. closes #3804
2013-10-28 09:56:03 +00:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00:00
James Koster
e934947152
Remove placeholder polyfill. closes #4012
2013-10-28 09:03:03 +00:00
Scott Basgaard
a36c8d3b1f
Rename attributes class to woocommerce_attributes. Fixes #4019
...
.product_attributes should be .woocommerce_attributes
2013-10-26 21:38:03 +02:00
Scott Basgaard
ea03af2ee4
woocommerce_exclude_order_comments() is now exclude_order_comments()
2013-10-26 17:30:43 +02:00
Scott Basgaard
213525fc7c
Use global $current_user in my-account/edit address.
...
Avoid PHP notice for undefined variable.
2013-10-26 16:33:14 +02:00
Scott Basgaard
5676c8d919
Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart.
2013-10-26 16:22:09 +02:00
RistoNiinemets
fcaaa129f2
use wooocommerce_locate_template
...
This allows woocommerce_locate_template filter to work on admin also
2013-10-26 13:32:38 +03:00
Mike Jolley
c7429357c7
Fix notices and rounding issues in orders
2013-10-25 20:02:21 +01:00
Mike Jolley
a099f3f37c
Put back old coupon storage logic so plugins can add amounts later than construct. Also streamlined get/set session data.
2013-10-25 19:28:09 +01:00
Mike Jolley
9416a4c8a2
Merge pull request #4007 from RistoNiinemets/ucfirst
...
change ucwords to ucfirst
2013-10-25 09:09:18 -07:00
RistoNiinemets
a96cb41c83
no dot use ucfirst nor ucwords for method title
2013-10-25 18:44:17 +03:00
Mike Jolley
8356cd301d
Merge pull request #4011 from scottbasgaard/master
...
Round product % price inc/dec in bulk edit. Resolves #4001
2013-10-25 08:14:23 -07:00
Mike Jolley
f742a91435
Rejig login form closes #4005
2013-10-25 16:10:13 +01:00
Scott Basgaard
242fc17090
Fix formatting.
2013-10-25 15:38:07 +02:00
Scott Basgaard
a85201ae2c
Don't forget to round with woocommerce_price_num_decimals option
2013-10-25 15:25:58 +02:00
Scott Basgaard
a3a1753c00
Round product % price inc/dec in bulk edit. Resolves #4001
2013-10-25 15:19:03 +02:00
Mike Jolley
dee6bba05c
Fix get_item_subtotal
2013-10-25 13:25:53 +01:00
Mike Jolley
e50067d68e
Merge branch 'tax-precision'
2013-10-25 12:15:48 +01:00
RistoNiinemets
ae00faecdd
change ucwords to ucfirst
2013-10-25 13:53:53 +03:00
Mike Jolley
e143d344e5
Constants
2013-10-24 19:36:22 +01:00
Mike Jolley
af6996866e
Rounded report
2013-10-24 19:22:22 +01:00
Mike Jolley
92fa4e379b
round tax reports
2013-10-24 16:19:28 +01:00
Mike Jolley
19c3ab7172
calc_tax functions
2013-10-24 16:16:39 +01:00
Mike Jolley
6d32dafa79
debug
2013-10-24 14:55:23 +01:00
Mike Jolley
e4ff61f475
You know when you've been benbowed
2013-10-24 14:53:01 +01:00
Mike Jolley
0d8d95e8e6
total calcs
2013-10-24 13:41:42 +01:00
Mike Jolley
51aba21d76
Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes
2013-10-24 13:15:42 +01:00
Scott Basgaard
c93a11cff2
In System Status -> Templates make sure to look for template overrides in parent theme as well.
2013-10-24 14:05:13 +02:00
Mike Jolley
90ba359ef9
Uninstall option Closes #3968 . Change option for #3992
2013-10-23 17:21:03 +01:00
Mike Jolley
56714e1d62
Merge pull request #3992 from scottbasgaard/master
...
Add template debug mode option. First pass at #3941
2013-10-23 08:58:30 -07:00
Scott Basgaard
9c9bfe1f4c
Add template debug mode option. First pass at #3941
2013-10-23 17:52:58 +02:00
Scott Basgaard
90b503e2c6
Use minified quick-edit.js
2013-10-23 17:36:32 +02:00
Mike Jolley
f4d4a42ba7
Merge pull request #3944 from bernardpeh/woocommerce-master
...
allow other plugins to validate the passwd in the lost passwd page
2013-10-23 08:11:19 -07:00
Mike Jolley
7fb60ccc99
blogname is the actual option, but WP terminolgy in settings is "Site Title".
...
Closes #3952
2013-10-23 15:57:14 +01:00
Mike Jolley
8ce3b8dd57
Filters for shortcode tags
2013-10-23 14:55:18 +01:00
Mike Jolley
1b1332d278
Static shortcodes. Will allow plugins to add some alias with same methods.
2013-10-23 12:55:40 +01:00
Mike Jolley
22eaf33bfe
Filter links + woocommerce_enable_admin_help_tab
2013-10-22 18:20:33 +01:00
Mike Jolley
05d9c0e045
Rename menus, removed woocommerce_
2013-10-22 17:26:18 +01:00
Mike Jolley
1813c1d6d6
woocommerce_attributes > product_attributes
2013-10-22 16:46:59 +01:00
Mike Jolley
28f8d401d3
Fix term install Closes #3919
2013-10-22 16:34:23 +01:00
Mike Jolley
ff928714a2
Keep leading zeros. Closes #3930
2013-10-22 16:28:44 +01:00
Mike Jolley
cc46479487
Merge pull request #3973 from helgatheviking/fix/invalid-args-for-implode
...
cast $tabs['class'] as array
2013-10-22 08:23:56 -07:00
Mike Jolley
f22b7feb41
_woocommerce_term_recount
2013-10-22 16:20:40 +01:00
Mike Jolley
1d8d86a2e5
Coupon in admin bar new menu Closes #3974
2013-10-22 13:58:55 +01:00
Kathy Darling
cc50c0f3ef
cast $tabs['class'] as array
2013-10-21 22:13:52 +02:00
Mike Jolley
67e4f0731e
remove_ordering_args from .18
2013-10-21 13:05:34 +01:00
Mike Jolley
4625ba8a22
Merge pull request #3956 from atomworks/master
...
Fix: Download permissions not granted on order completion.
2013-10-21 04:44:34 -07:00
Mike Jolley
6eff61481f
Pass index to woocommerce_save_product_variation
2013-10-21 12:37:27 +01:00
Leonard
24c57f35fd
Fix: Download permissions not granted on order completion.
...
$downloads was being built from a function that tried to read from the permissions table and not from the correct post meta which it actually needed. This resulted in having to manually grant permissions for each order made.
Original symptom was download links not appearing on order completion screen or completion e-mail.
2013-10-19 13:56:57 +01:00
claudiosmweb
995b672c8a
refixed the BR postcode validation
2013-10-18 16:06:27 -03:00
claudiosmweb
91193c5dac
fixed the BR postcode validation
2013-10-18 16:03:27 -03:00
claudiosmweb
538d776d3f
fixed is_postcode method description
2013-10-18 15:58:51 -03:00
claudiosmweb
bb2cc2b035
added BR postcode validation
2013-10-18 15:56:36 -03:00
Mike Jolley
1c6e63fe0a
CH postcode validation
2013-10-18 19:19:29 +01:00
Mike Jolley
5d2e1ac031
Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902
2013-10-18 18:10:58 +01:00
Bernard Peh
943327dcb6
since we are running our own passwd reset facility, we should allow other plugins to validate the password before resetting it.
2013-10-18 12:24:06 +11:00
Mike Jolley
f56edb66e4
Unused vars Closes #3937
2013-10-17 15:32:45 +01:00
Mike Jolley
d27f8f4848
Wrap messages with WC div so they are styled
2013-10-17 15:29:53 +01:00
Mike Jolley
47df526518
Prepend main WC Session cookie with 'wp' so batcache doesn't cache pages, and set cookie only when cart has contents. #3513
2013-10-17 15:29:53 +01:00
Mike Jolley
b49f6fdaac
Merge pull request #3940 from scottbasgaard/master
...
Don't be so generous with this jQuery selector. Fixes #3933
2013-10-17 04:44:09 -07:00
Mike Jolley
a112cb1d7d
Consistant method names Closes #3901 , return doubles instead of number formatted strings.
2013-10-17 12:43:44 +01:00
Scott Basgaard
af76647116
[sale_products] has incorrect post_type. Fixes #3934
...
In 2.1, woocommerce_get_product_ids_on_sale() used 'product1' instead of 'product' for post_type.
2013-10-17 12:48:49 +02:00
Mike Jolley
2cd74e1acf
Remove filter fix from .17
2013-10-17 10:48:41 +01:00
Mike Jolley
3ccaae0962
Revert to previous logic, but fix tax total #3924
2013-10-16 18:06:14 +01:00
Mike Jolley
35ec4c9169
Sale products
2013-10-16 17:05:27 +01:00
Mike Jolley
c68e93457d
#3924
2013-10-16 15:37:24 +01:00
Mike Jolley
f24aaf18d0
Merge pull request #3936 from tivnet/master
...
get_product_subtotal() PHPDoc fix
2013-10-16 06:31:56 -07:00
Mike Jolley
5eafe2065b
ake shipping methods check if taxable, so when customer is VAT excempt taxes are not included in price. Closes #3888
2013-10-16 14:31:31 +01:00
Gregory K
5f65586167
get_product_subtotal() PHPDoc fix
2013-10-16 09:29:48 -04:00
Mike Jolley
0fec16516f
Merge pull request #3935 from tivnet/master
...
get_product_price() : PHPDoc fix
2013-10-16 06:14:50 -07:00
Mike Jolley
4cabf24422
needs_payment for 2.1 #3928
2013-10-16 14:14:15 +01:00
Gregory K
571500930f
get_product_price() : PHPDoc fix
2013-10-16 08:24:46 -04:00
Mike Jolley
9acec8d970
Merge pull request #3918 from scottbasgaard/master
...
Make sure grouped term exists before using it as an object.
2013-10-16 02:36:35 -07:00
Mike Jolley
44f50cb6cd
Code from .17 + readme
2013-10-16 10:28:24 +01:00
Lee Willis
1ab404e0e7
Fix is_order_received_page()
2013-10-15 21:59:29 +01:00
Mike Jolley
0f1a8001cf
Use subtotal for free shipping, remove unused min_amount from abstract #3924
2013-10-15 17:19:30 +01:00
Scott Basgaard
380faf0f21
More PHP notice/warnings data validation
...
Fixes PHP Notice: Undefined offset: X
2013-10-14 21:57:56 +02:00
Scott Basgaard
714cd36428
Make sure grouped term exists before using it as an object.
...
Fixes Trying to get property of non-object in… PHP notice.
2013-10-14 21:47:32 +02:00
Mike Jolley
58787aa7b8
Terms fix
2013-10-14 20:20:47 +01:00
Mike Jolley
dc6574b9e9
Clean the SKU, prevents variations breaking when " was saved
...
@coenjacobs / me for .15
2013-10-14 11:15:44 +01:00
Mike Jolley
cc397a89d5
variable_product_sync should reload prices. Closes #3889
2013-10-11 15:56:13 +01:00
Mike Jolley
85e73c5e53
Typos #3908
2013-10-11 15:30:10 +01:00
Mike Jolley
d67c142070
Add data-placeholder Closes #3908 .
2013-10-11 15:27:04 +01:00
Mike Jolley
1b0d017bac
Context in sorting order Closes #3909
2013-10-11 14:59:52 +01:00
Mike Jolley
4a2988ad35
Usage limit "per coupon". #3902
2013-10-11 13:54:53 +01:00
Mike Jolley
6fd823dabd
get_children should get published products only for grouped products. Closes #3880 .
...
@coenjacobs This should go in .15
2013-10-11 13:25:34 +01:00
Mike Jolley
708423b96f
Notices/undefined vars Closes #3911 .
2013-10-11 12:31:36 +01:00
Mike Jolley
80dc0416f0
Merge pull request #3907 from ragulka/estonian-translation
...
Add Estonian translation
2013-10-11 04:29:00 -07:00
Andrew Benbow
e4d18d6f57
Update abstract-wc-payment-gateway.php
...
Update icon alt to use title filter
2013-10-11 10:17:23 +01:00
Mike Jolley
b0f3c0336a
Merge pull request #3905 from tivnet/master
...
Allow numeric SKUs when searching in admin
2013-10-10 10:16:46 -07:00
Mike Jolley
6646b7817b
Styling and removed un-used script. #3897
2013-10-10 18:16:06 +01:00
Gregory K
02196b6c18
Allow numeric SKUs when searching in admin
2013-10-10 11:56:39 -04:00
Mike Jolley
0c53bfd842
Merge pull request #3897 from BFTrick/add-system-status-copy-and-paste
...
Add System Status Copy Button
2013-10-10 08:47:47 -07:00
Mike Jolley
e179b2f675
Merge pull request #3896 from pronamic/fix/navMenuItems
...
array_search returns false when not found.
2013-10-10 08:45:36 -07:00
Mike Jolley
419b7a4e79
Merge pull request #3890 from tivnet/master
...
class-wc-checkout.php : PHPDoc fixes
2013-10-10 08:44:57 -07:00
Mike Jolley
8f87828a78
Merge pull request #3904 from bernardpeh/woocommerce-master
...
update_status function in class-wc-order.php will cause undesirable post insertion if we don't check if the order id exist
2013-10-10 08:43:34 -07:00
Mike Jolley
ece95e25ce
When handling variations, priority from top to bottom - disabled variations still taking into consideration allow you to exclude certain combinations when using 'all' for variations with lower priority. Message displayed if a variation is unavailable.
...
@coenjacobs please review
2013-10-10 16:34:44 +01:00
Bernard Peh
ad298f9007
need $this->id check in the update_status function to prevent an empty WC_Order object from calling it. If $this->id doesn't exists, update_status will insert another row in wp_posts because line 1226: wp_update_post(array('ID' => $this->id)) triggers it.
2013-10-10 20:52:36 +11:00
Patrick Rauland
99fb5315eb
adding system status report copy text area
2013-10-08 01:02:33 +02:00
Illimar Tambek
2536fbc5e1
Merge branch 'master' into estonian-translation
2013-10-07 20:40:20 +03:00
Leon Rowland
5b018966db
array_search returns false when not found. This causes the first CSS class in the $classes array to be removed ( twice ). This was inadvertently removing some of the custom classes defined in the Menu Builder of WordPress.
2013-10-07 15:47:39 +02:00
Gregory K
da19fed52b
class-wc-checkout.php : PHPDoc fixes
2013-10-06 00:44:04 -04:00
Patrick Rauland
f70ac9ce5a
adding copy report button
2013-10-06 00:22:55 +02:00
Mike Jolley
eaee8e9cf1
Merge pull request #3886 from tivnet/master
...
get_meta_query() - PHPDoc fix
2013-10-04 15:05:30 -07:00
Mike Jolley
40c85ec09a
Merge pull request #3881 from Gator92/tax_totals
...
Add tax_rate_id to objects returned from cart->tax_totals
2013-10-04 15:04:05 -07:00
Gregory K
9a1c571cbc
get_meta_query() - PHPDoc fix
2013-10-04 12:48:50 -04:00
Mike Jolley
9361ef3120
more hooks closes #3860
2013-10-04 16:58:00 +02:00
Mike Jolley
633ead9390
woocommerce_checkout_update_customer_meta hook Closes #3860
2013-10-04 16:40:03 +02:00
Mike Jolley
adaa666c92
Merge pull request #3875 from ragulka/has-shipping-method
...
Add has_shipping_method() convenience function
2013-10-04 07:32:46 -07:00
Mike Jolley
a490f62179
Use correct label for tax classes. Closes #3885 .
2013-10-04 16:21:06 +02:00
Mike Jolley
f81203fc76
Fix tax rate saving #3884
2013-10-04 16:17:18 +02:00
Mike Jolley
4204b25879
Remove accents from taxonomy names + run through filter Closes #3832
2013-10-04 16:10:49 +02:00
Mike Jolley
cabddc4e9f
Maintain line breaks. Closes #3882
2013-10-04 14:31:43 +02:00
Mike Jolley
b7a752ecc1
find_product_in_cart tweak Closes #3863
2013-10-04 12:30:07 +01:00
Mike Jolley
1b91c75039
Tweak add to cart message. Closes #3876 .
2013-10-04 12:26:11 +01:00
Mike Jolley
8f196130ff
Don't show view cart message on cart page. Closes #3877
2013-10-04 12:21:28 +01:00
Schuyler Langdon
7f71fae0a3
Add tax_rate_id to the tax total objects returned from the cart tax_totals method
2013-10-03 21:48:47 -04:00
Illimar Tambek
bf6cb38445
Fix has_shpping_method function
2013-10-03 18:02:26 +03:00
Illimar Tambek
7cf58f920c
Add method to check whether an order has a shipping method or not
2013-10-03 17:59:08 +03:00
Mike Jolley
718093650f
Save fees
2013-10-02 12:58:26 +01:00
Mike Jolley
66c04b0f72
Check values are set before casting as floats
2013-10-02 12:50:03 +01:00
Mike Jolley
47e18b1a13
Print JS after print scripts (at 20) Closes #3865 .
2013-10-02 11:09:30 +01:00
Gregory K
b923eef097
Allow entering sale price as blank string and not convert it to numeric '0' - to avoid "fake" sales events.
2013-10-01 23:21:12 -04:00
Mike Jolley
24a3e3e17b
Format decimals with single function, convert locale to standard form. #3862
2013-10-01 17:54:32 +01:00
Mike Jolley
79bddfd129
Merge pull request #3861 from tivnet/master
...
class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT)
2013-10-01 05:23:06 -07:00
Gregory K
c577e75a6b
class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT)
2013-10-01 08:13:14 -04:00
Mike Jolley
3bedaf5e94
Number format taxes, and allow 'auto' DP (we don't want to round these values) Closes #3703
2013-10-01 13:02:58 +01:00
Mike Jolley
c20a44c423
Coupon usage limits per user (using email + ID). Closes #3314
2013-10-01 11:48:27 +01:00
Mike Jolley
088f565b98
wp_list_pluck #3852
2013-10-01 10:24:29 +01:00
Mike Jolley
79942691ec
Init no longer needed - settings API refreshes settings Closes #3858
2013-10-01 10:12:16 +01:00
Mike Jolley
4798cb8e27
bump_request_timeout closes #3857
2013-10-01 10:12:16 +01:00
Mike Jolley
49656cb250
Notice fix Closes #3859 .
2013-10-01 10:12:15 +01:00
Manos Psychogyiopoulos
c0e2e8bbdf
Add price_filter results to include extended product types with a variable price
2013-09-30 15:58:12 +03:00
Illimar Tambek
ad59947098
Merge branch 'master' into estonian-translation
2013-09-30 11:13:53 +03:00
Mike Jolley
e66fcf5d5d
Fix get_base_country Closes #3851
2013-09-27 20:31:59 +01:00
Mike Jolley
b892815336
Remove html5 number inputs (unreliable at present, locale issues), add JS validation for price inputs. New price input type in settings API to make future changes easier to implement. Closes #3587
...
@coenjacobs hows this look?
2013-09-27 20:28:42 +01:00
Mike Jolley
9dcb70feba
Increment later. Closes #3811 .
...
@coenjacobs .15
2013-09-27 15:29:02 +01:00
Mike Jolley
43337f896c
Merge pull request #3849 from franticpsyx/use_additional_transients
...
Add woocommerce_delete_product_transients action
2013-09-27 07:06:45 -07:00
Mike Jolley
72c00a601a
Standardized, default credit card form for gateways to use if they support 'default_credit_card_form'. Closes #3616
2013-09-27 13:22:08 +01:00
Mike Jolley
82cb89a9a6
Merge pull request #3848 from BFTrick/update-product-page-css-classes
...
Updating Product Page CSS Classes
2013-09-27 02:50:16 -07:00
Manos Psychogyiopoulos
2b8da0ecbe
Add woocommerce_delete_product_transients action
2013-09-27 12:00:42 +03:00
Mike Jolley
081bef7f6b
Layered nav OR logic
2013-09-27 09:55:04 +01:00
Patrick Rauland
61b2290147
updating product page css classes
2013-09-26 22:50:49 -05:00
Mike Jolley
fce70b288d
We should allow failed orders to be resumed, not show a blank page. Closes #3612
...
@coenjacobs might need to go in 15
2013-09-26 17:18:12 +01:00
Mike Jolley
21f48bea99
Re-init settings after saving. Closes #3770 .
2013-09-26 17:01:29 +01:00
Mike Jolley
e3680ef670
Strict standards closes #3842
2013-09-26 16:39:10 +01:00
Mike Jolley
67b50e7eaa
Sortable downloads #3812
2013-09-26 16:35:37 +01:00
Mike Jolley
85f11c682e
Fix upload dir #3812
2013-09-26 16:16:05 +01:00
Mike Jolley
634adc9249
Fix subject + heading Closes #3841
...
@coenjacobs .15 please
2013-09-26 15:45:23 +01:00
Mike Jolley
77be2fc719
Don't need reset_postdata. Closes #3822 .
...
.15 @coenjacobs I think
2013-09-26 15:11:28 +01:00
Mike Jolley
fff92a1f6a
#3846
2013-09-26 14:59:56 +01:00
Mike Jolley
5da34d5a92
Merge pull request #3840 from pelmered/master
...
Allows to pass in cols and rows as custom attributes for textareas in woocommerce_form_field()
2013-09-26 02:32:34 -07:00
Mike Jolley
37d8fa3cee
Merge pull request #3838 from BFTrick/add-category-class-to-product-div
...
Adding Category & Tag Classes to Product Page
2013-09-26 02:32:04 -07:00
Manos Psychogyiopoulos
37b6f98aa0
Display extension template overrides in status reports
2013-09-26 12:02:38 +03:00
Peter Elmered
c676c15990
Allows to pass in cols and rows as custom attributes for textareas in woocommerce_form_field()
2013-09-25 22:45:45 +02:00
Patrick Rauland
3b0a9f728f
adding category & tag classes to product page
2013-09-25 13:04:32 -05:00
Mike Jolley
ef49977905
add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
...
Closes #3484 and Closes #3143 . Pinging @thenbrent as the handler was
originally his idea and I've killed it.
@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley
479e4b5f89
Merge pull request #3827 from pmgarman/master
...
wp_insert_post should have true as $wp_error parameter
2013-09-25 00:02:52 -07:00
Brent Shepherd
bbcc2441a4
Add new 'woocommerce_pre_payment_complete' action
...
And an action to fire when order status != pending|on-hold|failed
2013-09-24 19:54:04 -07:00
Patrick Garman
1292a9f51a
wp_insert_post should have true as $wp_error parameter
...
Add `true` as $wp_error parameter for wp_insert_post, otherwise it returns zero instead of a WP_Error object and the checkout process is not stopped.
@mikejolley - the messages from WP_Error are not displayed or logged, making debugging this difficult. Maybe we should check WP_DEBUG and display the message if it is set to true? either that or actually use the logger in WooCommerce for the first time?
2013-09-24 16:08:32 -05:00
Mike Jolley
66adf51e67
Filterable get_base_postcode and _city methods used for base taxes. Closes #3810
2013-09-24 16:56:55 +01:00
Mike Jolley
de9bc28b43
Prevent variable products without variations from being posted and show error in admin. Closes #3763
2013-09-24 16:37:51 +01:00
Mike Jolley
b5a798c9af
Fix variation saving and notices
2013-09-24 16:21:12 +01:00
Mike Jolley
51ee4ee2d8
Allow access to admin-post Closes #3814
2013-09-24 15:21:40 +01:00
Mike Jolley
c58d5d5ea4
is_in_stock uses notify_no_stock_amount option. Closes #3446 .
2013-09-24 13:31:15 +01:00
Mike Jolley
9a98be6a15
WOOCOMMERCE_DELIMITER constant. Closes #3476 .
2013-09-24 12:24:26 +01:00
Mike Jolley
a5d71a8113
Fix for submitting comments
2013-09-24 11:48:42 +01:00
Remi Corson
493f3bffe3
Added Russian Rubles to PayPal valid currencies list
2013-09-24 12:41:23 +02:00
Mike Jolley
31c34f6552
Wrong checked var
2013-09-24 10:06:41 +01:00
Illimar Tambek
64c09cabd7
Add array to woocommerce_downloadable_file_permission_format
2013-09-24 11:10:46 +03:00
Mike Jolley
7fb49c4b68
Round price adjustments. Closes #3797 .
2013-09-23 16:22:25 +01:00
Mike Jolley
ef1d565f55
standard should be blank. Closes #3799 .
...
@coenjacobs .15
2013-09-23 16:16:33 +01:00
Mike Jolley
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
06ef44c9df
Pass args to variation forms from cart page. Closes #3568
2013-09-23 15:47:47 +01:00
Mike Jolley
5954619e02
Set session when removing last item. Closes #3739
2013-09-23 14:01:17 +01:00
Mike Jolley
97b1e176d2
Merge branch 'downloadable-files-2.1'
...
Conflicts:
assets/css/admin.css
2013-09-23 12:44:35 +01:00
Mike Jolley
71cb94ebfa
Simpler tax rate check which Closes #3813
...
Could do with some more testing @ChromeOrange, and applying to .15 if
ok @coen
2013-09-23 12:44:15 +01:00
Mike Jolley
96a7a4b730
Restructure 'file_paths' to allow for names ( Closes #3320 ) etc. For #2765 .
...
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Coen Jacobs
f0fe86a8ac
Merge branch 'master' of https://github.com/woothemes/woocommerce
2013-09-20 15:51:50 +02:00
Coen Jacobs
e035864c8a
Check for existing array before using key. Closes #3807
2013-09-20 15:51:06 +02:00
Mike Jolley
b93df4e706
Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506 .
2013-09-19 16:31:54 +01:00
Mike Jolley
4ef07f6a66
Cleanup defaults. Closes #3778
2013-09-19 15:02:17 +01:00
Mike Jolley
512f2caac4
Merge pull request #3784 from karennaylor/master
...
add pattern matching to local delivery postcodes
2013-09-19 06:43:53 -07:00
Mike Jolley
3ee6e2fa22
Validate rules, instead of doing it by key. Closes #3792 .
2013-09-19 14:39:53 +01:00
Mike Jolley
87d7fce7c3
Merge pull request #3800 from BFTrick/tweak-new-order-email-copy
...
Tweaking New Order Email Description
2013-09-19 04:35:07 -07:00
thenbrent
fb548d145e
Fix logic on coupon check
2013-09-18 17:02:56 -07:00
thenbrent
13e337b82d
Fix coupon checks in cart
2013-09-18 16:49:29 -07:00
Patrick Rauland
885a95b21d
*sigh* forgot a period in the new order description
2013-09-18 14:23:14 -05:00
Patrick Rauland
af8919f1de
tweaking new order email description
2013-09-18 14:18:40 -05:00
Dominic
d06a15ea72
Add a template for view order shortcode
...
Instead of hard coding the HTML into the shortcode definition.
2013-09-16 14:57:10 -07:00
Mike Jolley
23c59a4d08
Merge pull request #3783 from greguly/patch-1
...
Fixes blank page error
2013-09-16 04:48:06 -07:00
Mike Jolley
b377217d1b
Compat with brands - filters should be prepended with filter_
...
@coenjacobs can this be applied to .15?
2013-09-16 12:43:16 +01:00
Karen Naylor
5c40d863e1
add pattern matching to local delivery postcodes
2013-09-14 16:08:17 +01:00
Gabriel Reguly
a5f2b01219
Fixes blank page error
...
Fix to avoid blank page error, apparently prevents a memory exausted condition.
Error source:
http://wordpress.org/support/topic/blank-page-after-return-form-cielo-buypage?replies=15
Some info:
http://stackoverflow.com/questions/8379829/domdocument-php-memory-leak
Another people using the same code: http://nathanstaines.com/articles/wordpress-word-count/
Cheers,
Gabriel
2013-09-14 00:42:03 -03:00
Mike Jolley
edbe9b5fa2
Redirect to myaccount. Closes #3740
...
@coenjacobs .15
2013-09-13 16:37:26 +01:00
Mike Jolley
5f741819b9
Merge pull request #3757 from ragulka/address-hooks
...
Allow using custom address types
2013-09-13 08:03:55 -07:00
Mike Jolley
5b2ed3f243
Fix search_post_excerpt when quotes are searched. Closes #3767
...
@coenjacobs for .15 too
2013-09-13 15:14:19 +01:00
Mike Jolley
f0d255ac9c
Remove private methods from session handler. Closes #3759
2013-09-13 13:39:46 +01:00
Mike Jolley
759e74c860
Safari doesn't support the 'download' attribute. At least get it to open. Closes #3754
2013-09-13 13:38:36 +01:00
Mike Jolley
9f323af118
Fix paging total closes #3774
2013-09-13 12:28:20 +01:00
Mike Jolley
34478b3faf
Merge pull request #3756 from ragulka/download-hooks
...
Add product download access grant/revoke hooks.
2013-09-13 04:20:56 -07:00
Mike Jolley
e90efe1c28
Merge pull request #3776 from crazyscience/patch-1
...
Removed 'widget_text' from array of force_ssl filtered objects.
2013-09-13 04:11:11 -07:00
Mike Jolley
7cf3c67c76
Wrapper for wp_get_post_terms to handle parent sorting. Closes #3762 . Closes #3758
...
@coenjacobs for .15
2013-09-13 12:07:58 +01:00
Mike Jolley
9e30ebbaa9
Merge pull request #3741 from ragulka/security-improvements
...
Frontend security improvements
2013-09-13 03:33:09 -07:00
Mike Jolley
7e01086ad3
Merge pull request #3679 from dimitrov-adrian/patch-6
...
Adding support for percentage factor of additional costs.
2013-09-13 03:20:17 -07:00
Mike Jolley
519c24a540
Merge pull request #3653 from pixeltrix/add-email-style-inline-filters
...
Add hooks for overriding default email inline styles
2013-09-13 03:15:55 -07:00
crazyscience
feaf8ed0cb
Removed 'widget_text' from array of force_ssl filtered objects.
...
Forcing SSL for all content in the text widget prevents adding links third party sites that do not support SSL. (ie. Partner sites). Furthermore, it's the assumed responsibility of the individual entering HTML into the text widget to ensure site security when referencing to outside sites.
2013-09-12 10:34:48 -07:00
Mike Jolley
7d20a51beb
Moved template part functions to core functions Closes #3715
2013-09-12 14:42:57 +01:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Illimar Tambek
41296943a6
Add woocommerce_checkout_get_value filter.
2013-09-10 17:23:26 +03:00
Illimar Tambek
b794d183b1
Remove trailing leftover bracket
2013-09-10 17:08:20 +03:00
Illimar Tambek
e4147bf1b7
Fix missing question mark
2013-09-10 16:35:34 +03:00
Illimar Tambek
d6ba711f56
Allow saving custom address types. Add address type to woocommerce_customer_save_address action
2013-09-10 16:31:13 +03:00
Illimar Tambek
e285042012
Allow editing custom address types
2013-09-10 16:04:07 +03:00
Illimar Tambek
3edc3dea29
Add estonian address format
2013-09-10 15:41:40 +03:00
Illimar Tambek
c9a6907fc6
Add woocommerce_my_account_get_addrresses filter and allow getting custom address type fields.
2013-09-10 15:39:23 +03:00
Illimar Tambek
f138007f1a
Add product download access grant/revoke hooks.
2013-09-10 14:26:31 +03:00
Mike Jolley
c501b1b59a
Remove taxes from cart with a zero-rate.
2013-09-10 11:04:29 +01:00
Mike Jolley
85175ec849
Merge pull request #3744 from BFTrick/fix-escaping-date
...
Fixing Unescaped Character in Date Function
2013-09-09 09:16:54 -07:00
Mike Jolley
b6e7eeb241
Support no default and make the gateway/shipping tables more streamlined. Closes #3472
2013-09-09 17:16:02 +01:00
Coen Jacobs
c04ce23716
Revert "View logs from System Status"
...
This reverts commit e70cf686f5
.
2013-09-09 13:20:22 +02:00
Andrew Benbow
e70cf686f5
View logs from System Status
2013-09-08 21:06:23 +01:00
Andrew Benbow
7012c9e4fd
Update html-admin-page-status-report.php
...
Add update notification if theme is a WooTheme
2013-09-08 03:26:26 +01:00
Patrick Rauland
b6fa3e913b
fixing unescaped character in date function
2013-09-06 15:35:21 -05:00
Illimar Tambek
8e942c2e9e
Fix missing semicolon
2013-09-06 22:06:26 +03:00
Illimar Tambek
3c22c486f8
Add download_file capability and security check
2013-09-06 19:38:06 +03:00
Illimar Tambek
0a7137e747
Use default priority for user_has_cap filter
2013-09-06 17:53:25 +03:00
Illimar Tambek
7ec8a687f6
Check if user is allowed to cancel and order an order again. Use current_user_can() checks instead of hardcoded user_id comparisons to determine if user can view, pay, order again or cancel an order.
2013-09-06 17:39:45 +03:00
Illimar Tambek
e432f72ae9
Filter user_has_cap with woocommerce_customer_has_capability
2013-09-06 17:37:38 +03:00
Mike Jolley
3c8c620c5d
Bulk/quick edit backorders Closes #3729
2013-09-06 11:17:41 +01:00
Luke Stevenson
fcfdee8ec7
Added "Demo Store" Class to Body
...
Adding "woocommerce-demo-store" class to body when option
"woocommerce_demo_store" is enabled.
(Handy to push down content to allow for banner, etc.)
2013-09-06 02:13:57 +10:00
Mike Jolley
b883e92ba1
Fix from .14
2013-09-05 14:52:34 +01:00
Mike Jolley
4cf8e9ebde
Remove echo
2013-09-04 18:13:09 +01:00
Mike Jolley
0405fabf69
Alt changes from .14
2013-09-04 17:22:35 +01:00
Mike Jolley
ffa53754ac
get_categories returns string Closes #3720
2013-09-04 14:57:12 +01:00
Mike Jolley
02af8a00a5
woocommerce_address_to_edit #3690
2013-09-04 14:57:12 +01:00
Mike Jolley
aef58e8bf3
Merge pull request #3697 from BFTrick/fix-email-html-encoding
...
Removing HTML Decoding From Email From Name
2013-09-04 06:50:20 -07:00
Mike Jolley
402544afdb
Merge pull request #3724 from corsonr/master
...
Added woocommerce_get_featured_product_ids() to get featured products IDs
2013-09-04 06:49:57 -07:00
Mike Jolley
14e27bb073
Fixes from .14
2013-09-04 14:32:16 +01:00
Remi Corson
dcf34ed51b
Merge branch 'master' of https://github.com/woothemes/woocommerce
2013-09-04 15:17:21 +02:00
Patrick Rauland
793303d2ad
adding esc_html back in to properly escape html from email from name
2013-09-04 07:24:01 -05:00
Mike Jolley
e1631bd084
Reloads checkout after registration which fixes #3612 , removes some notices preventing login cookie being set, moves cart check for #3162
...
No perfect solution for #3162 . DB locking would probably cause more
issues that its worth, we cannot reliably use transactions as some
clients still use MyIsam. Best to accept orders and deal with stock
conflicts after the fact.
2013-09-04 11:26:19 +01:00
Remi Corson
3499e6fd73
Added woocommerce_get_featured_product_ids() to retrieve featured products IDs within an array
2013-09-04 11:17:13 +02:00
Patrick Rauland
80fc4ab0a7
allowing quotes in store name
2013-09-03 17:11:03 -05:00
Mike Jolley
5e51ef1fce
Refactor variation bulk edit JS Fixes #3148
2013-09-03 17:35:20 +01:00
Mike Jolley
b797cdb672
Handle local pickup taxes when getting taxable address
2013-09-03 16:26:06 +01:00
Coen Jacobs
6c3cd27be7
Allow false values to hide desc_tip. Closes #3691
2013-09-03 17:22:59 +02:00
Mike Jolley
9472646609
Customisable query vars. #3708
2013-09-03 16:14:56 +01:00
Mike Jolley
75f9dfabc6
Remove round for percent discounts. Closes #3717
2013-09-03 13:45:38 +01:00
Mike Jolley
807534095e
Introduce WC_HTTPS Helper to handle redirects and make checkout urls https before visiting them. Fixes #3311
2013-09-03 13:03:05 +01:00
Mike Jolley
7179900b75
Send tax inclusive, rounded item price to google. Fixes #3718
...
@coenjacobs .14?
2013-09-03 11:19:49 +01:00
Mike Jolley
d7a68b68f2
Merge pull request #3696 from BFTrick/product-tabs-clean-input
...
Making Sure the User Doesn't Submit Garbage to woocommerce_sort_product_tabs Function
2013-09-02 09:45:25 -07:00
Mike Jolley
54b3d53a1b
Flag a refresh when creating an account to prevent nonce issues. Fixes #3612 .
...
@coenjacobs Might be for .14? Part of it anyway, can't cherry pick this
one.
2013-09-02 17:43:57 +01:00
Mike Jolley
d1b020b661
Add a script to add support for RTL when enabled to fix chosen. Fixes #3604
...
@coenjacobs maybe for .14?
2013-09-02 14:22:53 +01:00
Brent Shepherd
f9a42a497d
Pass instance of WC_Order to its filters
...
So that extensions hooking to the filters know which order the current
filter is being applied to and can perform customisation on specific
orders (not just all orders).
Conflicts:
includes/class-wc-order.php
2013-09-02 14:31:11 +02:00
Patrick Rauland
fe4b13d36d
removing html decoding from email from name
2013-08-27 12:23:42 -05:00
Patrick Rauland
c074d64096
making sure the user doesn't submit garbage to woocommerce_sort_product_tabs
2013-08-27 10:40:21 -05:00
Coen Jacobs
9ba80fb34b
Check for strlen to allow 0 values in attributes. Closes #3675
...
Conflicts:
admin/post-types/writepanels/writepanel-product_data.php
2013-08-26 12:24:25 +02:00
Adrian Dimitrov
a44ec58746
Adding support for percentage factor of additional costs.
2013-08-25 14:59:58 +03:00
Mike Jolley
64d87cbef7
Make logout an endpoint. Still hide it from menus. Fixes #3589
...
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley
5289193021
Echo or return current page title. Closes #3660
2013-08-23 14:54:38 +01:00
Mike Jolley
27053e1abd
escaping
2013-08-22 17:20:28 +01:00
Mike Jolley
6902aa852c
Fix fatal error when sending order mail
2013-08-22 12:25:32 +01:00
Mike Jolley
27f844b274
Key value pairs for order_meta
2013-08-22 12:25:17 +01:00
Mike Jolley
126068de8c
Moved options around for checkout settings.
2013-08-22 12:11:19 +01:00
Mike Jolley
3d078397b3
Merge branch 'Re-organise-settings'
...
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley
4c06169c8d
Merge pull request #3656 from dimitrov-adrian/patch-2
...
Adding BGN currency and currency symbol.
2013-08-21 14:03:31 -07:00
Patrick Rauland
fa6814c03d
adding Vietnamese dong currency
2013-08-21 12:24:51 -05:00
Adrian Dimitrov
c8fe103cd0
Adding BGN currency and currency symbol.
2013-08-21 10:29:44 +03:00
Andrew White
e05e970d6a
Add hooks for overriding default email inline styles
...
Currently any h1, h2, h3, a and img tags in a HTML email without a
style attribute will have a default inline style applied to them.
These styles are hard-coded and cannot currently overridden without
patching the source code.
This commit adds two filter hooks that allows the theme developer to
override both the list of tags that have a default style applied to
them and the default styles applied to each tag. The hooks are:
1. woocommerce_email_style_inline_tags
This filter hook returns an array of tags which will have a default
style applied to them - you can both remove and add any tags which
you need for your theme's custom emails.
2. woocommerce_email_style_inline_{name}_tag
This filter is called for every tag name returned by the filter hook
woocommerce_email_style_inline_tags. The styles are passed as an
associative array so you can both add and remove any of the default
styles applied by WooCommerce.
Fixes #3597 .
2013-08-20 23:33:26 +01:00
Mike Jolley
5f2e489944
simpler woocommerce_get_product_schema function.
...
Closes #3297 .
2013-08-20 13:52:06 +01:00
Mike Jolley
aa470ad390
refactor args for woocommerce_product_dropdown_categories
...
Closes #3218
2013-08-20 13:32:38 +01:00
Mike Jolley
40a1cb446e
Tweak label Closes #3515
2013-08-20 12:57:43 +01:00
Mike Jolley
7dee6790eb
Check sale price against active price, optimise woocommerce_get_product_ids_on_sale
...
Fixes #3563
2013-08-20 12:52:17 +01:00
Mike Jolley
f0853d5208
Pass text attributes when ordering again Fixes #3422
2013-08-20 12:17:56 +01:00
Mike Jolley
2e6aaa9ede
Hide password protected posts from loop, prevent adding to cart, hide product content. Closes #3617 .
2013-08-19 18:19:27 +01:00
Mike Jolley
44b9c72651
Improve cart update performance. Closes #3495 .
2013-08-19 15:19:51 +01:00
James Koster
55eef35e36
shortcode columns. closes #3534
2013-08-19 15:12:20 +01:00
Mike Jolley
16ed6e4faf
Make sort orders affect other get_terms calls Closes #3439 .
2013-08-19 14:31:52 +01:00
Mike Jolley
3aac277d52
Add shipping fields to search Closes #3603
2013-08-19 13:37:38 +01:00
Mike Jolley
3a4b83cffe
Fix encoding in layered nav. Fixes #3600
...
@coenjacobs for .14
2013-08-19 13:12:49 +01:00
Mike Jolley
0b8dd0476c
PayPal PDT handler Closes #3414
2013-08-19 12:28:29 +01:00
Mike Jolley
759e49a60b
Correctly format product names in paypal. Fixes #3308 .
...
@coenjacobs for .14 please
2013-08-19 11:44:41 +01:00
Mike Jolley
03e3e6e9ca
Load thumbnails Fixes #3581
...
@coenjacobs this needs applying to .14
2013-08-17 02:01:54 +01:00
Mike Jolley
061283f675
Hookable default checkbox status Closes #3595
2013-08-17 01:55:05 +01:00
Mike Jolley
9a7580ff1e
dumps
2013-08-17 01:44:56 +01:00
Mike Jolley
fe8a81110b
Merge pull request #3634 from BFTrick/set-default-shipping-rates
...
Setting Default Shipping Rates for Flat Rate Shipping
2013-08-16 17:39:25 -07:00
Mike Jolley
df52bfd0ad
#3630 . Closes #3425 .
2013-08-17 01:19:56 +01:00
Mike Jolley
9c55bb2b10
Accept multiple filters Closes #3572
2013-08-17 01:09:22 +01:00
Mike Jolley
66ba2c83ed
Merge pull request #3637 from thenbrent/master
...
Add default timezone section to System Status
2013-08-16 09:25:50 -07:00
Mike Jolley
49aaa9a773
Merge pull request #3643 from sjeden/patch-1
...
Remove need for min-width:150px; in shipping setting admin panel.
2013-08-16 09:24:58 -07:00
Coen Jacobs
5ebc15cafb
Merge branch 'Dynamic-total-rows'
...
Conflicts:
assets/css/admin.css
2013-08-16 18:21:52 +02:00
Mike Jolley
2428c9f268
Expand when calculating totals
2013-08-16 17:00:49 +01:00
Mike Jolley
a66472d148
Order panel improvements + save multiple shipping methods
2013-08-16 16:43:26 +01:00
sjeden
0617d6e7f0
Remove need for min-width:150px; in shipping setting admin panel.
...
Doesn't affect the standard WordPress display but if you are using MP6 makes extended width radio buttons.
2013-08-16 12:12:47 +01:00
Mike Jolley
cd81c29195
Tweak help strings
2013-08-15 16:59:03 +01:00
Mike Jolley
7cd4e46846
Cleaner orders items, and show meta in text until editing.
...
@coenjacobs this commit has the urldecode fix. Will move it over to
master/.14 later
2013-08-15 16:49:09 +01:00
Patrick Rauland
2f6d907b13
adding exact time to order notes
2013-08-15 08:42:08 -05:00
Mike Jolley
281ed667cf
Handle paypal cancelled reversals
2013-08-15 11:19:30 +01:00
Coen Jacobs
62a9200386
Made methods static that were referenced from static
2013-08-15 11:23:52 +02:00
Coen Jacobs
423522f05a
Made methods static that were referenced from static
2013-08-15 09:22:38 +00:00
Mike Jolley
e01df544ec
Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
...
@todo store shipping methods in the order
@todo test with PP shipping real world
cc @coe
2013-08-14 21:00:34 +01:00
thenbrent
3dcf4de538
Add default timezone section to System Status
2013-08-14 11:21:49 -07:00
Patrick Rauland
69f45fb39b
setting default shipping rates
2013-08-14 10:42:43 -05:00
Mike Jolley
9ce810fdcf
Needs shipping filter
2013-08-14 10:53:08 +01:00
Mike Jolley
5c07464fd0
To prevent pebkac Closes #3628
2013-08-13 17:26:21 +01:00
Mike Jolley
64e1b091a0
Add a dedicated hook for adding fees. Closes #3611 . Fixes #3352
...
@coenjacobs we might want this in .14 for some extensions in audit.
2013-08-13 17:19:20 +01:00
Mike Jolley
d021980c10
Rather than have hooks *everywhere* use a single set stock function in admin and on the frontend Closes #3593
2013-08-13 16:56:09 +01:00
Mike Jolley
8db53a8d9d
esc_attr Fixes #3451
2013-08-13 14:55:02 +01:00
Mike Jolley
131f692855
Tweak download handler Closes #3394 .
2013-08-13 14:53:55 +01:00
Mike Jolley
6dae4bcc0d
Merge pull request #3627 from Geczy/master
...
Filter on the shortcode products query
2013-08-13 06:14:56 -07:00
Mike Jolley
2b31cdb360
Cart item data templates Closes #3216 .
2013-08-13 14:14:24 +01:00
Mike Jolley
aa3601f517
Remove white space. Closes #3499 .
2013-08-13 13:17:32 +01:00
Mike Jolley
b12d5a7377
Optimise sale query. Closes #3264 .
2013-08-13 13:14:32 +01:00
Matt
776f1eb7db
Filter on the shortcode products query
2013-08-13 08:08:41 -04:00
Mike Jolley
0ff59bcd5b
remove deprecated function. Closes #3582 .
2013-08-13 13:02:20 +01:00
Mike Jolley
48c9d25ea5
Merge pull request #3619 from dominic-p/filter-logon-creds
...
Filter Request: Login Credentials
2013-08-13 04:47:09 -07:00
Mike Jolley
d015432b9c
Merge pull request #3624 from BFTrick/remove-whitespace-in-shipping-classes
...
Remove Spaces in Favor of Tabs in Shipping Classes
2013-08-13 04:46:07 -07:00
Mike Jolley
7fda2bd832
Search for US/UK on country field. Fixes #3626 .
2013-08-13 12:38:26 +01:00
Mike Jolley
b62747a810
Tax rates pagination. Closes #3036 .
2013-08-13 12:18:24 +01:00
Patrick Rauland
4d4645eee4
remove spaces in favor of tabs in shipping classes
2013-08-12 16:09:04 -05:00
Dominic
cfbbaa4b5e
Filter Request: Login Credentials
...
I'm trying to add a "remember me" option to my login form. WordPress
supports this, but it's hardcoded to always on in the WC form handler.
Since you can't tell a difference in PHP between an unchecked checkbox
and no checkbox at all, this seems like the simplest alternative that
maintains backwards compatibility. Thanks.
2013-08-10 12:31:17 -07:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00
thenbrent
64832114ee
Replace deprecated $wpdb::escape() with esc_sql()
...
Conflicts:
admin/settings/settings-tax-rates.php
2013-08-09 14:56:39 +02:00
Mike Jolley
14a66489f7
Croatia is EU Fixes #3615 .
...
@coenjacobs .14
2013-08-09 11:11:53 +01:00
Mike Jolley
ff79e99f70
Merge pull request #3594 from markoheijnen/Fix-php5.5
...
Move return class after class definition. Fixes PHP 5.5 fatal errors.
2013-08-09 03:09:12 -07:00
Mike Jolley
5ead65e118
Merge pull request #3606 from ragulka/bulk-edit-field-type
...
Change quick/bulk edit stock quantity field type to number
2013-08-09 02:59:30 -07:00
Mike Jolley
6bc0a1cef7
Merge pull request #3607 from ragulka/product-quick-edit-hooks
...
Add product quick edit start & end action hooks
2013-08-09 02:59:05 -07:00
Mike Jolley
d74122251c
Merge pull request #3602 from BFTrick/add-lang-to-system-status
...
Adding WPLANG to System Status
2013-08-09 02:58:15 -07:00
Mike Jolley
918e30d0e6
compare to lowercase class name
2013-08-08 12:38:26 +01:00
Mike Jolley
46940db5aa
Typecast array
2013-08-08 12:38:26 +01:00
Mike Jolley
7b70d1ed86
Sortable is needed for admin scripts
2013-08-08 12:38:26 +01:00
Mike Jolley
e29c67b6bc
Update user meta for billing fields
2013-08-08 12:38:26 +01:00
Illimar Tambek
3d9ec9acd4
Add woocommerce_product_quick_edit_start and woocommerce_product_quick_edit_end hooks
2013-08-08 10:46:46 +03:00
Illimar Tambek
df469b1473
Change product quick edit stock quantity field type to number
2013-08-08 09:24:38 +03:00
Illimar Tambek
372fd1137d
Change bulk edit stock quantity field type to number
2013-08-08 09:21:20 +03:00
Patrick Rauland
a4886a5ae4
adding WPLANG to system status
2013-08-07 16:05:09 -05:00
Coen Jacobs
5a1cc2362e
Strict notice fix for get_price_html implementation
2013-08-07 14:38:31 +00:00
Coen Jacobs
930cd6125f
Make sure end( gets a variable to work around strict notices
2013-08-07 14:15:53 +00:00
Marko Heijnen
390b3bc577
Move return class after class definition. Fixes PHP 5.5 fatal errors.
2013-08-06 19:04:10 +02:00
Mike Jolley
d77bac9330
Removed hooks and functions from admin.
2013-08-06 16:56:15 +01:00
Mike Jolley
62261daa86
Remove old extension prompt
2013-08-06 14:04:40 +01:00
Mike Jolley
fa7c1d9a6a
Addons page Closes #3331
2013-08-06 14:04:40 +01:00
Coen Jacobs
54fceb7d99
Use version_compare to check for required jQuery. Closes #3567
2013-08-06 13:27:36 +02:00
Mike Jolley
5d497fdcc3
Merge pull request #3576 from rnt/master
...
Fixing warnings with 'strict standarts' and file permission
2013-08-06 03:49:19 -07:00
Mike Jolley
be202c3ced
Merge pull request #3591 from Gator92/tax_rate_foreign_key
...
Adds an index to the foreign key in table woocommerce_tax_rate_locations
2013-08-06 03:47:38 -07:00
Mike Jolley
f09fafe738
Meta box refactor
...
Closes #3458 .
2013-08-06 11:41:20 +01:00
Schuyler Langdon
b4c2149428
Adds an index to the foreign key in table woocommerce_tax_rate_locations
2013-08-06 00:18:41 -04:00
Mike Jolley
110d8c3026
BACS, Cheque, COD Closes #3172
...
Rather than merging them (they are all different) I've refactered code
and added multiple accounts in BACS which has had multiple requests.
2013-08-05 16:34:54 +01:00
Mike Jolley
7ad7f31e3b
Remove last pipe
2013-08-05 16:34:54 +01:00
Mike Jolley
7c7e0ec9f4
Strict warnings
...
@coenjacobs for .14 I think
2013-08-05 12:27:30 +01:00
Renato Covarrubias
a63a77e414
Fix warning if is null
2013-08-03 23:59:26 -04:00
Mike Jolley
03af136986
Separate ship to options from sell to. Closes #3215 .
2013-08-02 16:54:28 +01:00
Mike Jolley
4456b7ccf1
Syntax error in shop order class
2013-08-02 12:56:49 +01:00
Mike Jolley
7dee74ba9e
Show settings only when needed #3165
2013-08-02 12:27:31 +01:00
Mike Jolley
54fa720768
Filter styles and add cleaner backwards compat. Closes #3165
2013-08-02 12:06:32 +01:00
Mike Jolley
8cf74a5250
Add separate instruction fields for BACS and CHEQUE (like COD) Closes #3291 .
2013-08-02 11:40:40 +01:00
Mike Jolley
223f862750
Tweak email inclusion
2013-08-02 11:18:05 +01:00
Mike Jolley
d0fd42ab1a
US Spelling of fulfil Closes #3570 .
2013-08-02 11:18:05 +01:00
Mike Jolley
e9a168c2ee
Merge pull request #3564 from ragulka/stock-action-hooks
...
Add stock set, increase and reduce action hooks
2013-08-02 03:11:05 -07:00
Mike Jolley
daae3e6f97
Merge pull request #3566 from LeGaS/master
...
Enable states for Hungary
2013-08-02 03:09:30 -07:00
thenbrent
3ce6f3012d
Set default $product_id on variable_product_sync()
2013-08-01 17:54:24 -07:00
thenbrent
825587da6a
Backward compatible variable_product_sync()
...
Adds new static sync() method to WC_Product_Variable and restores
variable_product_sync() to its former, non-static glory. Also makes
the $product_id param optional on variable_product_sync() to avoid
breaking backward compatibility.
2013-08-01 17:35:54 -07:00
Legradi Szabolcs
89a3732a03
Fix state label for Hungary
2013-08-01 16:58:48 +02:00
Legradi Szabolcs
0b92287bd4
Enable states in Hungary
...
The states file for Hungary is in the project for some time now, this
commit enables the use of it.
2013-08-01 16:43:00 +02:00
Illimar Tambek
27ed699ea7
Prefix stock hooks with product_
2013-08-01 15:09:15 +03:00
Illimar Tambek
40ee077624
Add woocommerce_set_stock, woocommerce_increase_stock and woocommerce_reduce_stock action hooks
2013-08-01 15:06:26 +03:00
Mike Jolley
23cad7cec2
First day of month report fixes.
2013-07-31 17:47:38 +01:00
Mike Jolley
981575491d
Review order columns Closes #2798 .
2013-07-31 15:12:53 +01:00
Patrick Rauland
012e6fe2f9
linking plugin name to the plugin url in system status
2013-07-30 21:31:19 -05:00
Mike Jolley
1b9562ca3b
operator option. Closes #3528
2013-07-30 15:03:39 +01:00
Mike Jolley
f7cba5948b
Filter woocommerce_checkout_customer_id Closes #3491
2013-07-30 14:50:53 +01:00
Mike Jolley
12d705c9c4
Bulk and quick edit tax status/class. Closes #3530 .
2013-07-30 14:43:45 +01:00
Mike Jolley
596f4d1a23
More login hooks Closes #3543 .
2013-07-30 13:38:45 +01:00
Mike Jolley
55150a08d8
Notices
2013-07-30 13:03:18 +01:00
Mike Jolley
fd4b16f30e
Correctly sanitize password. Closes #3553 .
2013-07-30 13:03:08 +01:00
Mike Jolley
bf5716af3c
If admin user is logged in, link them to order notes. Closes #3433 .
2013-07-30 12:35:18 +01:00
Mike Jolley
63b203955b
Fix syncing and make variable_product_sync static for admin use. Closes #3450
2013-07-30 12:15:09 +01:00
Mike Jolley
b2e3df20e3
Remove trashed and non-existant products from the cart. Closes #3457 .
2013-07-30 11:51:50 +01:00
Mike Jolley
9b512df0c0
Bulk edit mark on hold Closes #3496 .
2013-07-30 11:35:07 +01:00
Mike Jolley
51c1af2f34
Pass item + id to order_line_item hook Closes #3518 .
2013-07-30 11:29:06 +01:00
Mike Jolley
22bd515fbd
Customer invoice does not need toggle. Closes #3459 .
2013-07-30 11:24:25 +01:00
Mike Jolley
c9b7a46c7b
Correct string to times and ranges. Closes #3540
2013-07-30 11:12:48 +01:00
Mike Jolley
f7d2531ec1
Check attribute values are posted.
2013-07-30 11:12:48 +01:00
Mike Jolley
97f5ee7433
Merge pull request #3533 from kloon/master
...
Google Analytics, Add to cart event uniformity for shop and single.
2013-07-27 11:36:31 -07:00
Kathy Darling
f743018ea1
add action woocommerce_variable_product_sync to variable sync
2013-07-26 11:59:34 -04:00
Kathy Darling
1a0d17c29d
Merge branch 'master' of git://github.com/woothemes/woocommerce
2013-07-26 11:57:17 -04:00
Mike Jolley
9462dde581
Settings refactoring
2013-07-26 15:36:28 +01:00
Kathy Darling
bdcb4cf169
add woocommerce_get_variation_price_html filter
2013-07-26 09:47:23 -04:00
Gerhard
9954c87fa6
Google Analytics, Add to cart event uniformity for shop and single.
2013-07-26 09:10:12 +02:00
Mike Jolley
e7bd988470
Admin taxonomies
2013-07-25 17:51:28 +01:00
Mike Jolley
cd50b328a2
Install and update functions
2013-07-25 16:29:25 +01:00
Mike Jolley
8f04446a61
Dashboard. Closes #3493
2013-07-25 15:00:23 +01:00
Mike Jolley
ff0fc4fa31
Check function returns a product. #3526
2013-07-24 21:24:58 +01:00
Mike Jolley
41c27b19ad
deprecated
2013-07-24 21:24:58 +01:00
Mike Jolley
f67f48558c
Merge pull request #3523 from themesquad/master
...
Fixed "Strict Standards" warning on the process_payment() declaration.
2013-07-24 12:04:26 -07:00
Mike Jolley
728b1bf244
Some more admin class conversions
2013-07-24 19:55:02 +01:00
Mike Jolley
8a6ff89bf1
Moved admin directory and moved some functions to classes (ongoing refactor)
2013-07-24 17:01:36 +01:00
Juan Jose Gonzalez Alanis
1339426164
Fixed "Strict Standards" warning on the process_payment() declaration of the WP_Payment_Gateway class.
2013-07-24 13:24:52 +02:00
Mike Jolley
815a5e6ff4
PayPal buttonsource
2013-07-23 17:21:24 +01:00
Mike Jolley
725cb7714b
More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170 .
2013-07-23 17:05:01 +01:00
Mike Jolley
805a9e617c
Use get_price and introduce get_regular and get_sale_price methods. Closes #3427
2013-07-23 11:29:04 +01:00
Mike Jolley
81f188b4ca
PayPal authorization feature
2013-07-23 10:18:58 +01:00
Mike Jolley
d51083167a
Sandbox off by default
2013-07-22 13:41:59 +01:00
Mike Jolley
19674a3d15
Allow autofill and use 'input' event to detect changes. Closes #3503
2013-07-21 10:38:22 +01:00
Mike Jolley
0b848b8f37
AE no postcodes. Closes #3492 .
2013-07-19 15:08:40 +01:00
Mike Jolley
857ed79924
fallback for bad calls to the post_class filter. Closes #3463
2013-07-19 14:28:04 +01:00
Mike Jolley
b01bf72bfe
Improve messages. Closes #3370 .
2013-07-19 13:30:27 +01:00
Mike Jolley
12d6569cc1
Readme + versions
2013-07-19 11:09:19 +01:00
Mike Jolley
7ccac3a260
Clean inputs posted on the shipping form
2013-07-19 07:58:50 +01:00
Mike Jolley
a5aa58b135
Allow iframe html to be input for sharethis. Closes #3254 .
2013-07-19 07:54:51 +01:00
Mike Jolley
34c90813bd
Price filter widget: preserve orderby Closes #3307 .
2013-07-19 07:11:41 +01:00
Mike Jolley
7b2c232b9c
Prevent flat rate rows with no class set from saving. Closes #3312 .
2013-07-19 07:08:13 +01:00
Mike Jolley
2c8e598371
Fix paypal phone mask (whitespace) Closes #3328 .
2013-07-19 07:00:38 +01:00
Mike Jolley
0ef33da03c
Make account password 'required' when needed. Closes #3313 .
2013-07-19 06:58:45 +01:00
Mike Jolley
f295a5d568
Merge branch 'Charts/Reports' Closes #3281
2013-07-18 14:08:27 +01:00
Mike Jolley
d30c1ef1e4
'httpversion' => '1.1' possibly needed for paypal - testing
2013-07-17 14:29:42 +01:00
Mike Jolley
18a448ff77
Tweaked popularity sorting to work better when no sales are present.
2013-07-17 11:21:52 +01:00
Mike Jolley
bf73fd3c8e
Merge pull request #3411 from jprieton/patch-1
...
Hint on documentation of function get_product()
2013-07-15 09:17:41 -07:00
Mike Jolley
3a1ca6789c
Merge pull request #3438 from BFTrick/patch-add-product-meta
...
Add Product Meta Data to Post Class
2013-07-15 09:16:02 -07:00
Mike Jolley
fd887c52f1
Merge pull request #3478 from henrikgregersen/master
...
(#3477 ) Initialize address formats to the stores locale, instead of use a default.
2013-07-15 09:11:03 -07:00
Mike Jolley
8ac12ae40c
Merge pull request #3479 from shoheitanaka/master
...
Japanese Localization
2013-07-15 09:09:58 -07:00
Shohei Tanaka
7436e37aec
Japanese Localization
...
I made Japanese localization files.
2013-07-15 17:22:48 +09:00
Henrik Gregersen
a0105bb043
Initialize to store address format ( #3477 )
...
If the user has not entered an address yet, then the address fields will be displayed in a default order, because the $country will be empty. To fix this and initialize address formats to the stores locale, the $country variable is set to the base_country if it has no value
2013-07-15 01:25:12 +02:00
James Koster
fa786a1173
typo
2013-07-08 09:48:48 +01:00
Patrick Rauland
e6f7f5b16f
adding product meta data to post class
2013-07-05 10:46:52 -05:00
jprieton
59d43a25f7
Update proposal hint on documentation of function get_product()
...
Update proposal hint on documentation of function `WC_Product_Factory::get_product()` from `void` to an generic `WC_Product`
2013-07-01 17:18:07 -04:30
Coen Jacobs
9bcf44106c
Also apply #3405 to master branch
2013-06-28 13:10:44 +02:00
Mike Jolley
06bf190599
public false for taxonomies. Closes #3373 .
2013-06-28 11:17:56 +01:00
Mike Jolley
a9569ccd6f
Only allow those who can edit the post to add drafts to cart. For testing. Closes #3381
2013-06-28 11:14:21 +01:00
Mike Jolley
e6db7d2c0c
Set session after removing item. Closes #3382 .
2013-06-28 11:03:12 +01:00
Mike Jolley
e296c9d538
woocommerce_new_order_note_data Closes #3379
2013-06-28 10:50:05 +01:00
Mike Jolley
5be00f2d32
Drop ucwords Closes #3369 .
2013-06-28 10:30:32 +01:00
Mike Jolley
d0b6483037
Dump coupon helper and add new functions. Closes #3353 .
2013-06-28 10:23:20 +01:00
Mike Jolley
9f5f81c1aa
cat-parent without extra query. Closes #3355 .
2013-06-28 10:07:18 +01:00
Mike Jolley
f8f3f8a660
Fix sale expiration for variations. Closes #3321 .
...
@coenjacobs might be useful for .13
2013-06-28 09:58:07 +01:00
Coen Jacobs
a55556332c
Extra escaping on layered nav href to prevent injection
2013-06-26 11:44:35 +02:00
Mike Jolley
d7cfe05daf
More charts work
2013-06-24 17:47:28 +01:00
Mike Jolley
9d37e5bf92
Stripslashes
2013-06-22 11:43:57 +01:00
Mike Jolley
0e29b31fcb
Work on charts/reports
2013-06-22 11:37:59 +01:00
Mike Jolley
fc104fc84b
Post types need to exist first
2013-06-20 12:05:11 +01:00
Mike Jolley
1ff10d6ccf
Enable for all taxonomies
2013-06-20 12:05:11 +01:00
Mike Jolley
3b5d8b7d41
Futher standardisation of cart and order loops. Closes #3348 .
2013-06-17 12:21:24 +01:00
Mike Jolley
1e94bbc990
Review nonce. Closes #3324 .
2013-06-14 16:15:26 +01:00
Mike Jolley
2db3d24a82
Enforce session as array data, and settings api tweak for special chars. Closes #3135 .
2013-06-14 14:42:28 +01:00
Mike Jolley
2a6bae4e0a
Change is_visible for variations to make method calls cleaner.
2013-06-14 12:21:38 +01:00
Mike Jolley
1d0a017a9f
Put back params
2013-06-13 17:01:47 +01:00
Mike Jolley
f87505b445
Rounding tweaks
2013-06-13 17:01:47 +01:00
Mike Jolley
c72ae714f7
Removed nonce helper
...
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley
646a8a008c
Make use of new functions
2013-06-11 15:59:54 +01:00
Mike Jolley
1716728802
new message functions
2013-06-11 15:59:42 +01:00
Mike Jolley
10f44301f4
deprecated functions
2013-06-11 15:59:34 +01:00
Mike Jolley
60bc15e61f
Session class improvements - get and set + defaults
2013-06-11 15:59:23 +01:00
Mike Jolley
d448046234
Move WC back to main file, as singleton
2013-06-11 15:21:14 +01:00
Mike Jolley
4397b00c4a
classes -> includes (for includes)
2013-06-11 14:28:45 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00