Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
7cf75f5085
Remove use of deprecated functions
2016-08-22 16:57:54 +01:00
Mike Jolley
c88984eb0e
Replace add methods
2016-08-22 16:48:19 +01:00
Mike Jolley
fdd7e797ba
API get refunds
2016-08-22 13:15:15 +01:00
Mike Jolley
9e45927803
Create refund with crud
2016-08-22 13:15:15 +01:00
Mike Jolley
190cd0bf86
Remove direct access of item props in admin
2016-08-19 15:08:00 +01:00
Mike Jolley
21ad196297
Use CRUD in wc_save_order_items
2016-08-19 13:43:33 +01:00
Mike Jolley
eb45acf0d5
[2.6] Use method title in admin shipping dropdown
...
fixes #11678
2016-08-12 14:23:59 +01:00
Mike Jolley
a8759fc0aa
Meta/product handling
2016-08-08 16:20:15 +01:00
Mike Jolley
c3aa933ad2
coupon
2016-08-08 15:25:22 +01:00
Mike Jolley
75975de58a
Item meta
2016-08-08 15:22:00 +01:00
Mike Jolley
39b4831e95
get_id
2016-08-05 15:56:23 +01:00
Mike Jolley
9181c107a8
get_currency
2016-08-05 15:49:17 +01:00
Manos Psychogyiopoulos
0173447cf9
add $order arg to woocommerce_admin_order_item_class and woocommerce_admin_html_order_item_class filters
2016-07-21 11:50:45 +03:00
Mike Jolley
d17b4de6d5
woocommerce_admin_order_item_bulk_actions
...
Closes #11099
2016-07-20 13:37:17 +01:00
Mike Jolley
53511e36ec
Use permission id to revoke access to downloads to prevent removing wrong rows.
...
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Claudio Sanches
05c7f186ba
Fixed line_subtotal_tax and line_tax localized price format
2016-06-14 17:41:20 -03:00
Teemu Suoranta
35519fb685
Add filters for attribute selection UI
2016-06-05 21:22:10 +03:00
Mike Jolley
d24fceab44
When calculating discount amount in backend, use unrounded values
...
#10963
2016-05-23 16:23:27 +01:00
Mike Jolley
36021ab1ac
Improve no longer editable text
...
Closes #10916
2016-05-16 11:12:04 +01:00
Mike Jolley
ba2bfdc685
Fix invalid closing tag
2016-05-16 10:17:44 +01:00
corsonr
becc4ef841
use wc_help_tip()
2016-05-13 18:49:58 +02:00
corsonr
ca040a3d1f
Add a refund reason help bubble
2016-05-13 18:15:35 +02:00
Mike Jolley
96cb47e037
escape
2016-05-11 10:58:04 +01:00
Caleb Burks
2fd455769d
Make customer download links available for admins
2016-05-10 23:52:18 -05:00
Mike Jolley
0782b869f5
Remove double filter on meta_key label
...
Fixes #10845
2016-05-03 16:01:16 +01:00
Mike Jolley
6f42514afb
Pass false for product in attribute label filter
...
Closes #10773
2016-04-25 14:11:07 +01:00
Mike Jolley
29c6acf767
Used positional placeholders in strings where the order of strings may require modification in the locale.
...
Closes #10775
2016-04-25 13:07:41 +01:00
Mike Jolley
95de7f5a2c
Minor spacing issues
2016-03-23 13:06:15 +00:00
Mike Jolley
f73149feaf
Tweak variation display and reenable bulk editing
2016-03-22 17:13:39 +00:00
Mike Jolley
f1b3d0f708
Further layout tweaks
2016-03-22 14:54:02 +00:00
Mike Jolley
5862785522
Restyle items panel
2016-03-21 18:35:00 +00:00
Mike Jolley
7be2b129b6
Removed bulk actions from order items panel
...
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.
Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Jeff Stieler
16b65ea8c3
Fire action before order line items are rendered.
2016-03-18 15:25:31 -06:00
Mike Jolley
9ce892bd39
Avoid title case. Clean up colon.
...
Closes #10524 (lol)
2016-03-10 11:39:32 +00:00
Mike Jolley
6880a71ea9
Merge pull request #10141 from woothemes/fix-10135
...
Fix 10135
2016-02-12 13:37:53 +00:00
Mike Jolley
75c264837f
Justins feedback/code tidy
2016-02-10 13:21:16 +00:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley
57c643c93e
[2.5] Round tax/tax refunded amounts on display.
...
Closes #10162
2016-01-25 15:18:49 +00:00
Mike Jolley
77e1aa8263
Make qty for refunds negative
...
Fixes order counts reported in #10135
May however require an upgrade routine and needs more testing. Not for
2.5.
Fixes #10135
2016-01-22 16:28:29 +00:00
Mike Jolley
007abbc98e
Shipping meta data
...
Closes #9094
2016-01-08 11:42:32 +00:00
Claudio Sanches
997d1caa50
Fixed several new variations admin actions, closes #9886
2015-12-21 03:36:36 -02:00
Claudio Sanches
c001d5b274
Make tooltips consistent, closes #9856
2015-12-16 03:38:53 -02:00
Mike Jolley
d515ddaaed
Merge pull request #9798 from JeroenSormani/admin-order-item-hooks
...
Add hooks after order line items in admin
2015-12-14 12:50:54 +00:00
JeroenSormani
0bc4089ea7
Add hooks after order line items in admin
2015-12-09 09:29:32 +01:00
roykho
887d37583c
Seperate variation description field from shipping div container
2015-11-28 07:20:47 -08:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches
1ea5b8433f
Escape normalized for the woocommerce_variation_option_name filter
2015-10-18 10:42:44 -06:00
Claudio Sanches
3a536ac8b7
Sanitize shipping method label/title, closes #9159
2015-10-01 17:17:45 +02:00
Claudio Sanches
7c05671188
Added new actions to make easy add custom fields for variations, closes #8827
2015-10-01 16:30:02 +02:00
Claudio Sanches
ebedba7906
Merge pull request #9081 from helgatheviking/filter-admin-order-item-thumbnails
...
Add `woocommerce_admin_order_item_thumbnail` filter in admin
2015-09-15 19:58:23 -03:00
Claudio Sanches
7e63374aaf
Merge pull request #8735 from shivapoudel/backbone-modal
...
Allow support for variable in backbone modal template in extensions
2015-09-15 19:44:50 -03:00
James Koster
82f8b61418
make it clearer that variation drag/drop only applies to the backend. closes #9104
2015-09-15 17:05:55 +01:00
Kathy Darling
9571b8827e
Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`.
2015-09-08 13:41:12 -04:00
Kevin Hagerty
3671bcf39d
Improve order total formatting
...
The function get_formatted_order_total already provides formatted HTML with indication of a prior refund. No need to do that logic and formatting again.
2015-09-05 07:48:24 -04:00
Mike Jolley
dd7c32c22c
Added 'false' check in variation admin
...
@claudiosmweb Closes #8966
2015-09-01 16:35:13 +01:00
Mike Jolley
2d8b3f0c1f
menu_order notices on IIS.
2015-08-21 14:08:32 +01:00
Shiva Poudel
4cc26ab799
Backbone modal template to support wp.template
2015-08-06 10:22:53 +05:45
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
Mike Jolley
e7dfff8687
Update wording and add tooltip
...
#8690
2015-07-31 17:14:28 +01:00
Mike Jolley
82f50cedb0
Allow menu_order sorting like in 2.3
...
Also allow setting manually to allow sorting between pages.
Fixes #8690
2015-07-31 12:39:23 +01:00
Mike Jolley
64d38f6dd8
STOCK STATUS field for variations should never be hidden
...
Fixes #8687
2015-07-30 15:45:05 +01:00
Mike Jolley
7b2aec4791
Take item qty into consideration when refunding orders
...
Fixes #8675
2015-07-29 13:13:41 +01:00
Mike Jolley
8d6858bb80
Sanitize not needed
2015-07-27 16:43:05 +01:00
Manos Psychogyiopoulos
18a7c6b7fb
back-compat with text-based attributes: defaults don't work in WC2.4
2015-07-18 12:34:41 +03:00
Mike Jolley
34f149bcbf
Replace dash with colon
2015-07-08 23:51:44 +01:00
Mike Jolley
8161cbd095
Change remove buttons into links
2015-07-08 23:08:07 +01:00
Claudio Sanches
843a55a6b5
Admin ajax variations
2015-07-07 20:53:36 -03:00
Claudio Sanches
8b681fddf7
Created bulk edit actions for variable sale schedule
2015-07-07 16:39:59 -03: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
Claudio Sanches
3d59933d6b
Created initial methods to load variations by ajax
2015-07-02 17:42:22 -03:00
Justin Shreve
5d8b17bd6f
Update the help text to mention that we expect already encoded URLs.
2015-06-16 15:48:05 +00:00
Mike Jolley
f8151f416c
Merge branch 'text-attribute-handling'
2015-06-16 15:11:58 +01:00
Mike Jolley
753a22734f
Prevent Manage stock being forced on
...
Closes #8336
2015-06-12 11:22:54 +01:00
Mike Jolley
12396f4296
Attempted bw compat by comparing sanitised text to real text
2015-06-11 15:42:18 +01:00
Mike Jolley
89f7e15052
Save full version of text based attributes when dealing with variations
2015-06-11 14:43:02 +01:00
Mike Jolley
b9708c4df9
Show refunded total shipping and taxes
...
Closes #8222
2015-06-01 11:06:11 +01:00
Mike Jolley
0a3defd798
Move tax enabled check
2015-05-29 14:55:57 +01:00
roykho
b9eefa58fa
use esc_textarea function
2015-05-28 16:08:22 -07:00
roykho
54b0a0ca54
changed dynamic variation description to allow limited HTML and some sanitized tweaks
2015-05-28 14:31:45 -07:00
roykho
b812b2fd94
add dynamic variation description feature
2015-05-14 10:56:26 -07:00
Gustavo Bordoni
22393df867
The woocommerce_admin_order_item_headers action lacks a variable for context
2015-04-21 23:13:55 -03:00
Dominic
be8e61161b
Prevent notices if variation_id isn't set
...
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
Mike Jolley
26e7a5c705
Merge pull request #7865 from SiR-DanieL/scrutinizer-issues
...
Fix scrutinizer issues
2015-04-08 11:53:44 +01:00
James Koster
cd20ce6789
variation images. closes #7844
2015-04-08 10:19:23 +01:00
shivapoudel
227c83a084
Use of <button> instead of <a> for modal-close
...
This was the clone of themes.php modal close button
2015-04-04 13:57:20 +05:45
shivapoudel
29f584ba98
Fix - Unusual slightly dark box on the backdrop of modal right side
2015-04-04 13:51:10 +05:45
Nicola Mustone
85fd634861
fix scrutinizer issues
2015-04-01 15:33:56 +02:00
Mike Jolley
01ee531136
Same as #7662 for backend
2015-03-09 13:48:47 +00:00
Mike Jolley
8bdd4fc283
Run item meta label through wc_attribute_label() in admin order page.
...
Closes #7420
2015-02-16 13:49:44 +00:00
Mike Jolley
447ee6e7bb
Docblocks
2015-02-03 14:02:38 +00:00
Mike Jolley
c11d283ddc
Still trying to get scruit to pick up these variables. Testing a few variations.
2015-02-03 13:49:04 +00:00
Mike Jolley
7c019c0c50
More docblocks; the check for WP_POST isn't needed as the second case (isset) runs regardless and is true for posts
2015-02-03 13:13:07 +00:00
Mike Jolley
2693e110c6
Correct @var syntax.
2015-01-20 11:35:59 +00:00