Commit Graph

261 Commits

Author SHA1 Message Date
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
Mike Jolley c0bea39c95 Seeing if magic properties are recognised 2015-01-20 11:06:15 +00:00
Mike Jolley 562743e847 Another @var declaration 2015-01-20 10:52:08 +00:00
Mike Jolley 0e4026941b Move $current_tab to where used 2015-01-20 10:41:26 +00:00
Mike Jolley 0e9bb50aae Docblock experiments continued... 2015-01-20 10:29:54 +00:00
Mike Jolley bc45f7755f Testing to see if scruitinizer recognises docblock 2015-01-20 10:01:28 +00:00
Mike Jolley 0d64e3854d Add tooltips for manual and auto refunds Closes #7117 2015-01-19 14:50:06 +00:00
Claudio Sanches a82aa2bd13 Fixed refund amount when product dont have taxes 2015-01-15 16:57:33 -02:00
Mike Jolley a52f94fb42 $order_taxes check 2015-01-15 15:19:19 +00:00
Mike Jolley 206a650488 Tidy variation output 2015-01-14 12:17:09 +00:00
Mike Jolley 8d8e57cbf5 Use @var to define vars passed in 2015-01-14 11:46:03 +00:00
Mike Jolley 32f2a44091 define @global 2015-01-14 11:32:00 +00:00
Claudio Sanches 695b04be61 Fixed conflits 2015-01-12 16:02:46 -02:00
Claudio Sanches 017831f1c6 Fixed the backbone modal 2015-01-12 15:11:01 -02:00
Mike Jolley 9852d9c6ec Order data JS select2 + refactor 2015-01-12 15:43:13 +00:00
Mike Jolley 4b7f97c1de Attributes 2015-01-09 16:53:47 +00:00
Claudio Sanches 03193b867b Creted new webhooks edit interface 2015-01-08 16:34:30 -02:00
Mike Jolley 5c86e962e8 Hide restock checkbox until qty is input Closes #6937 2015-01-05 17:19:18 +00:00
Claudio Sanches e53a6f5e57 Fixed variation fields when use "Link all variations" button 2015-01-02 15:07:31 -02:00
shivapoudel 39bf306f1a Fix add tax backbone modal backdrop issue 2015-01-02 20:00:21 +05:45
shivapoudel eab3a23b14 Fix missing icon for add tax backbone modal 2015-01-02 19:56:59 +05:45
Claudio Sanches 794621e3ba Improved the close button in backbone modal #7016 2015-01-02 11:58:57 -02:00
Claudio Sanches 28d960d5bb Added variable_pricing class/wrap for variable price fields, closes #7008 2014-12-23 14:12:12 -02:00
Mike Jolley 22cc1fb0c7 Add attributes with ajax and don't load all attributes at once.
Significantly improves performance with many attributes in admin.
Closes #6852 cc @claudiosmweb
2014-12-22 14:16:15 +00:00
Claudio Sanches 690b04b29a Improved the webhook meta boxes 2014-12-17 16:20:37 -02:00
Claudio Sanches 67f90fbb87 Created webhook logs meta box 2014-12-17 15:50:19 -02:00
Mike Jolley 65dbab486c [2.2] Don't force tax_rate_id to an integer. Allow strings.
Used in Taxamo extension.
2014-12-11 11:06:01 +00:00
James Koster 316b43f770 coupons. closes #6836 2014-12-09 16:06:34 +00:00
Mike Jolley 95a504cf84 Fix admin term output
Resolves an issue decoding foreign chars caused by #6555
Fixes #6550
2014-12-09 09:54:42 +00:00
Mike Jolley eba8206540 Merge branch 'tax-coupon-handling' Closes #6830
Conflicts:
	assets/js/admin/meta-boxes-order.min.js
	includes/api/class-wc-api-coupons.php
	includes/class-wc-cart.php
	templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Mike Jolley 6df4c143cc Adjust total for partially refunded order totals
Closes #6666
2014-11-27 10:04:18 +00:00