Mike Jolley
f42fa85eab
Variation tax status should always come from parent
2015-07-15 19:12:12 +01:00
Mike Jolley
db61edcb36
Unused vars
2015-07-15 16:37:30 +01:00
Mike Jolley
ed451f278f
Unused var
2015-07-15 16:37:29 +01:00
Mike Jolley
afbfd2b913
Tweak gzread
2015-07-15 16:37:29 +01:00
Mike Jolley
3749a10a4a
empty $theme_file
2015-07-15 16:16:10 +01:00
Mike Jolley
47c47ab93c
Avoid set_time_limit error supression
2015-07-15 16:14:32 +01:00
Mike Jolley
28c75c63dc
Unused code
2015-07-15 16:04:49 +01:00
Mike Jolley
db473cc369
Move refund logic into main order class.
...
These methods are not defined in the abstract.
2015-07-15 16:02:26 +01:00
Mike Jolley
9f703b96db
delete_version_transients in blocks of 1000 to prevent timeouts
...
Uses cron. @claudiosmweb Closes #8431
2015-07-15 15:12:54 +01:00
Mike Jolley
b38fbed7c4
Merge pull request #8580 from thenbrent/item_meta_hideprefix
...
Add $hideprefix param to WC_Order_Item_Meta::get_formatted_legacy()
2015-07-15 14:36:22 +02:00
Mike Jolley
0f7342a70d
Fix grouped product label
2015-07-15 13:33:45 +01:00
Brent Shepherd
83a87f238a
Add $hideprefix param to get_formatted_legacy()
...
To honour the $hideprefix when dealing with legacy item meta data.
2015-07-14 19:15:31 -07:00
Shiva Poudel
cebaf41d34
Tweak - Template check docs btn as primary
2015-07-15 04:48:46 +05:45
Shiva Poudel
3fb422a7c2
Fix - Nonce check when hide admin notices
2015-07-15 04:40:47 +05:45
Shiva Poudel
5f30308512
No longer use of frontend colors notice
2015-07-15 04:39:28 +05:45
Shiva Poudel
6c936a162d
Tweak coding standard for update notice script
2015-07-15 04:38:32 +05:45
Claudio Sanches
a28c1c1e33
Fixed language update for en_US, closes #8568
2015-07-14 12:18:51 -03:00
Claudio Sanches
d2686f3d2e
Don't show language update message for en_US #8568
2015-07-14 12:04:14 -03:00
Claudio Sanches
409dd81ab9
Fixed unit tests for WC_Cart::get_remove_url()
2015-07-14 12:02:32 -03:00
Claudio Sanches
08b59015c4
Merge pull request #8573 from vicky081/patch-6
...
get_permalink to wc_get_page_permalink
2015-07-14 11:22:32 -03:00
Mike Jolley
c707f771ad
serializeJSON to maintain POST data structure
...
@claudiosmweb
2015-07-14 13:49:45 +01:00
Mike Jolley
c412a2eb3e
Set $post during variation addition
2015-07-14 13:49:13 +01:00
Vignesh
0588c9fe1c
get_permalink to wc_get_page_permalink
...
changed get_permalink to wc_get_page_permalink on class-wc-cart.php
2015-07-14 17:49:29 +05:30
Mike Jolley
8bf1cf60c5
Set $post global so its available like within the admin screens
...
@claudiosmweb
2015-07-14 12:28:31 +01:00
Mike Jolley
015ace770d
Split up bulk edit ajax methods
2015-07-14 11:39:48 +01:00
Mike Jolley
9b21c1c7a1
Add deprecation notices for woocommerce_update_option_X and keep this action working.
...
Before this change, options would be overwritten by the new filters.
2015-07-14 10:10:07 +01:00
Claudio Sanches
57ab3dc0c2
Improved WC_Language_Pack_Upgrader #8568
2015-07-13 17:29:45 -03:00
Claudio Sanches
2cc7fcfa3f
Fixed missing textdomains
2015-07-13 11:03:03 -03:00
Mike Jolley
53916e38bb
Just return the URL
2015-07-13 11:00:10 +01:00
Mike Jolley
ef89f82014
wc_get_page_permalink should check page_id was found
2015-07-13 10:59:34 +01:00
Vignesh
e063d068d7
get_permalink to wc_get_page_permalink
...
Changed get_permalink to wc_get_page_permalink.
2015-07-13 15:01:52 +05:30
Mike Jolley
2f3cf18013
filter empty values during upgrade
2015-07-13 09:41:28 +01:00
Nicola Mustone
35d8572e0b
new outdated templates tutorial link
2015-07-13 09:36:36 +02:00
Claudio Sanches
eea72552f6
Added support for Jetpack Markdown in product short description, closes #8563
2015-07-11 21:35:47 -03:00
Max Rice
a9f6f7fdfe
Introduce woocommerce_order_full_refunded_status filter
...
In certain situations it’s undesirable to automatically change the
order status for an order that has been fully refunded. For example, an
order processed with a credit card whose charge has been authorized but
not yet captured is typically voided, not refunded since no funds have
actually been transferred. In that case, it’s ideal to allow gateways
to change the status to cancelled instead.
2015-07-10 19:51:02 -04:00
Claudio Sanches
9e4dc64f55
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-10 20:17:27 -03:00
Claudio Sanches
b8a28bdab4
Admin variations - Cancel button reset the default form values
...
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley
86e0aa106e
bulk_edit
2015-07-11 00:05:13 +01:00
Mike Jolley
3ec4003bbb
Move add variation button and toolbars
2015-07-11 00:04:16 +01:00
Patrick Garman
fb84486798
Update WC_Logger to include actions on add & clear methods
...
This allows for easy integrating with third party logging services.
2015-07-10 14:26:30 -05:00
Claudio Sanches
a01660cbba
Fixed WC_API_Products::clear_product()
2015-07-10 10:49:18 -03:00
Mike Jolley
157503a6d3
20 not 25
2015-07-10 14:26:39 +01:00
Mike Jolley
3446880705
Translators
2015-07-10 14:02:52 +01:00
Mike Jolley
33877624ac
Welcome page content
2015-07-10 14:00:21 +01:00
Mike Jolley
2834eff221
Merge branch 'variations-8477'
...
Conflicts:
assets/js/frontend/add-to-cart-variation.js
assets/js/frontend/add-to-cart-variation.min.js
assets/js/frontend/add-to-cart.min.js
assets/js/frontend/checkout.min.js
assets/js/frontend/geolocation.min.js
2015-07-10 11:37:05 +01:00
Mike Jolley
1cd2e558ed
Remove add to cart variable from links
...
Closes #8554
2015-07-10 11:17:21 +01:00
Mike Jolley
8bf4469178
woocommerce_save_account_details_errors action
...
Closes #8532
2015-07-10 11:11:51 +01:00
Mike Jolley
ea82ce9f06
Tweak display name to only change if set to an email
...
#8532
2015-07-10 11:09:14 +01:00
Mike Jolley
a976d8e2ba
Don't add hyphens for cities
...
Closes #8547
2015-07-10 11:02:08 +01:00
Mike Jolley
d5a74203c2
Only need one numeric check
2015-07-10 10:48:29 +01:00
nils-fredrik@maksimer.no
3c2b54b360
Fix for #8550
2015-07-10 09:32:10 +02:00
Claudio Sanches
76b312b9e7
Use always min.js files on admin
2015-07-10 01:32:30 -03:00
Claudio Sanches
987a789367
Admin variations - Show link all variations bulk action
2015-07-10 00:49:52 -03:00
Claudio Sanches
3394277a86
Admin variations - Set _stock_status when link all variations
2015-07-09 18:28:02 -03:00
Claudio Sanches
c5ae7b18c7
Created woocommerce_ajax_save_product_variations action
2015-07-09 17:43:46 -03:00
Claudio Sanches
a64695b7f5
Admin variations - Added new triggers and removed data-product_id
2015-07-09 17:31:48 -03:00
Claudio Sanches
ce08c336e9
Updated jquery.payment.js to version 1.2.4
2015-07-09 17:17:34 -03:00
Mike Jolley
506b5ef3f6
Set total after update_shipping
...
Based on add_shipping code Closes #8475
2015-07-09 16:48:34 +01:00
Mike Jolley
60193c7861
Pass product to woocommerce_ajax_variation_threshold
2015-07-09 16:31:46 +01:00
Mike Jolley
30b01ff9b6
Add filter to force price display
2015-07-09 16:15:05 +01:00
Mike Jolley
85855938ec
woocommerce_ajax_variation_threshold
2015-07-09 16:04:46 +01:00
Mike Jolley
5f8a5bcb63
We don't need get_transient_version for children transients because other products do not affect this.
2015-07-09 16:02:26 +01:00
Mike Jolley
eaed944048
Tweak template logic to load variations when needed
2015-07-09 15:58:58 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Claudio Sanches
c4c2ebd038
Merge pull request #8536 from vicky081/patch-3
...
Class attribute added for Checkbox in settings
2015-07-09 11:43:00 -03:00
Vignesh
91faacb4c9
Return the output directly
...
Return the output directly instead of variable.
2015-07-09 13:39:29 +05:30
Mike Jolley
34f149bcbf
Replace dash with colon
2015-07-08 23:51:44 +01:00
Mike Jolley
fedfa53754
expand/close
2015-07-08 23:46:19 +01:00
Mike Jolley
a219243e60
Move link all variations to bulk actions
2015-07-08 23:34:21 +01:00
Mike Jolley
8161cbd095
Change remove buttons into links
2015-07-08 23:08:07 +01:00
Claudio Sanches
042a6644e2
Ajaxify grouped product option, closes #7751
2015-07-08 18:38:17 -03:00
Claudio Sanches
89cef9ff02
Introduces methods to WC_Abstract_Order for get customer full name
...
New methods:
WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()
closes #8535
cc: @mikejolley
2015-07-08 18:00:19 -03:00
Claudio Sanches
94aa610dc0
Admin variations - Prompt when changing page #6995
2015-07-08 17:45:19 -03:00
Claudio Sanches
0a820f055f
Admin variations - Add cancel changes button #6995
2015-07-08 16:10:45 -03:00
Claudio Sanches
064af9a54c
Admin variations - Split the save button from the link/add buttons #6995
2015-07-08 15:53:00 -03:00
Claudio Sanches
bed51c6d0c
Removed code test on WC_AJAX::save_variations()
2015-07-08 14:17:33 -03:00
Claudio Sanches
ffef95f56f
Fixed ajax variations posted data
2015-07-08 13:55:29 -03:00
Vignesh
8a4e7e34ca
Update class-wc-admin-settings.php
2015-07-08 20:42:04 +05:30
Vignesh
4eef4bf846
Class attribute added for Checkbox in settings
...
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Mike Jolley
38d0d0dcad
trim invalid chars from sum
2015-07-08 11:02:20 +01:00
Mike Jolley
d19a7d2c2e
Shipping debug for all users
2015-07-08 11:02:20 +01:00
Claudio Sanches
2ec12a7985
Prevent errors when variation don't have sale price dates
2015-07-08 04:05:08 -03:00
Claudio Sanches
843a55a6b5
Admin ajax variations
2015-07-07 20:53:36 -03:00
Claudio Sanches
c03ea5625d
Fixed the delete all variable products action
2015-07-07 19:51:50 -03:00
Claudio Sanches
4f3fb07dc9
Added new styles for variable pagenav
2015-07-07 19:06:51 -03:00
Claudio Sanches
bbe3cb5b1b
Added bulk variation edit for increase and decrease prices
2015-07-07 17:35:21 -03:00
Claudio Sanches
8b681fddf7
Created bulk edit actions for variable sale schedule
2015-07-07 16:39:59 -03:00
Claudio Sanches
e69d172f6c
Fixed bulk variation edit and added cases to save regular and sales prices
2015-07-07 16:07:09 -03:00
Claudio Sanches
11ca22ef1a
Created _wc_save_product_price() private function
2015-07-07 16:06:34 -03:00
Mike Jolley
85dcee63ae
Flat rate shipping costs should ignore virtual items.
...
Closes #8506
2015-07-07 10:41:56 +01:00
Claudio Sanches
268a696918
Initial bulk edit variations actions
2015-07-06 22:50:35 -03:00
Claudio Sanches
de01133142
Save only updated/edited variations and fixed the variations sync and product cache/transients
2015-07-06 19:07:01 -03:00
Claudio Sanches
af0b786104
Improved relative path check #8503
2015-07-06 15:02:15 -03:00
Claudio Sanches
e888294caa
[2.3] Fixed download URL for relative paths, closes #8503
2015-07-06 15:00:04 -03:00
Claudio Sanches
ffd63efbe2
Merge pull request #8513 from paulwilde/woocommerce-form-field
...
Refactor woocommerce_form_field to remove duplication.
2015-07-06 14:07:33 -03:00
Mike Jolley
fd6fd817a2
Merge pull request #8516 from Sk-Shaikat/master
...
Refund deleted hook parameter fix
2015-07-06 18:57:39 +02:00
Claudio Sanches
47eb3c5deb
Merge pull request #8523 from adnanoner/master
...
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
2015-07-06 13:52:35 -03:00
Mike Jolley
6676ed08fa
500 response on IPN fail
...
Closes #8519
2015-07-06 17:48:46 +01:00
adnanoner
725e3ee4e0
Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
...
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Mike Jolley
270eb785da
Merge pull request #8522 from shivapoudel/wp_json_encode
...
Encode pointers into json, with some sanity checks
2015-07-06 18:07:02 +02:00