Commit Graph

1113 Commits

Author SHA1 Message Date
Mike Jolley 9e25450572 Replaced get_language call for get_locale 2014-09-04 11:38:36 +01:00
Mike Jolley fd0a9e52b6 Replace usage of WPLANG with get_locale() for installs without WPLANG set
cc @claudiosmweb
2014-09-04 11:33:30 +01:00
Mike Jolley 1d13f767b3 Merge pull request #6157 from tamarazuk/coding-standards
Coding standards Part 1
2014-09-03 17:05:42 +01:00
Mike Jolley 265ffee23a Remove $can_be_edited in favour of ->is_editable()
For #6154
2014-09-03 10:09:04 +01:00
Mike Jolley cb76bd7fb8 Merge pull request #6154 from thenbrent/is_editable
Add `WC_Abstract_Order::is_editable()` method and `'wc_order_is_editable'` filter
2014-09-03 10:06:04 +01:00
claudiosmweb 78c7fefe3e fixed some docblocks 2014-09-02 16:50:19 -03:00
thenbrent 78d932e6d2 Add WC_Abstract_Order::is_editable()
To centralise logic used to determine if an order can be edited from
the Edit Order screen
2014-09-02 11:47:56 -07:00
claudiosmweb cd154a30ef improved the line items backward compatibility, closes #6109 2014-09-01 12:35:04 -03:00
Tamara Zuk a0ce139f7d Coding Standards: Admin - Settings
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Tamara Zuk 0ab6b44bfa Coding Standards: Admin - Reports
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Tamara Zuk fc0e7adacb Coding Standards: Admin - Meta boxes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Tamara Zuk ce037af961 Coding Standards: Admin - Importers
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:17:58 -04:00
Mike Jolley 721d0e5782 Merge pull request #6125 from axisthemes/notices
Better Notices in themes.php
2014-08-29 09:47:43 +01:00
Mike Jolley e6defc0ddd Merge pull request #6127 from tamarazuk/master
Order totals: 4 new action hooks
2014-08-29 09:46:57 +01:00
thenbrent 175923056a Only display "Refund" when unrefunded amount > 0
If an order has been fully refunded, the "Refund" button was still
displayed despite there being no amount to refund.
2014-08-28 22:04:51 -07:00
Tamara Zuk eb9460aa2d Order totals: 4 new action hooks 2014-08-28 21:56:30 -04:00
shivapoudel 730563f1c1 If other notices are closed this translation won't have stylesheet so 2014-08-29 04:03:26 +05:45
Mike Jolley 4a73cb4e7e Merge pull request #6112 from axisthemes/replacement
Replacement for core Tweaks and fixes
2014-08-28 12:07:05 +01:00
Mike Jolley d526635609 Merge pull request #6096 from axistools/active-plugins
System Status report page
2014-08-28 11:44:49 +01:00
shivapoudel c37f7a16e8 use of is_rtl() which were missed 2014-08-28 14:40:36 +05:45
shivapoudel 71986a10d8 Better href method applied 2014-08-28 14:38:14 +05:45
justinstern 8417209d6c Improve, fix, WC_Payment_Gateway::get_transaction_url()
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
shivapoudel 97ea988843 Remove unusual css stuff (i.e ;) 2014-08-28 06:40:32 +05:45
shivapoudel d4081a37b8 Remove extra line 2014-08-28 06:39:32 +05:45
shivapoudel 768a4f89ed Added '<hr />' before return-to-dashboard 2014-08-28 04:39:09 +05:45
shivapoudel cf42423b80 better using printf() 2014-08-28 02:41:32 +05:45
shivapoudel 4a4673be97 Clean WooCommerce actions in Welcome Page 2014-08-28 02:34:52 +05:45
shivapoudel 716d3f1763 removed in Welcome page 2014-08-28 02:31:17 +05:45
shivapoudel db852e0f10 Better Screen Help adaptation 2014-08-28 02:28:12 +05:45
shivapoudel 7180e50ece Removed unused lines 2014-08-28 02:21:04 +05:45
shivapoudel 0224a3e4ec Added the use of is_rtl() 2014-08-28 02:11:45 +05:45
Shiva Poudel 34d1454439 Time constant in theme set_transient too... 2014-08-27 19:22:03 +05:45
Shiva Poudel 18012b70c0 Using Time Constants to set transient
Rather that '60*60*12` we can use `DAY_IN_SECONDS` which is equivalent of `60*60*24`. Let's use one day rather than (1/2)day as it seems better.
2014-08-26 23:47:41 +05:45
Shiva Poudel 0e313e7b58 Fix for Unnecessary spaces used 2014-08-26 23:13:05 +05:45
Shiva Poudel c961659eca Fix some duplicates entry. 2014-08-26 23:07:35 +05:45
Shiva Poudel e73721c58e Semantic script adapted
@mikejolly I have used id `#status` instead of class `wc_status_table`. Look this `jQuery( '#status thead, #status tbody' )....` and `<table class="wc_status_table widefat" cellspacing="0" id="status">`. Thus will not harm anything. Additionally, I have adapted the sementatic jQuery script here.
2014-08-26 22:58:39 +05:45
Shiva Poudel b201e8d046 Better Text-Domain maintained... 2014-08-26 22:46:31 +05:45
Shiva Poudel 0f113a5750 Added WP Active Plugins In System Status
Although there is list of plugins which were installed but will be informative if number of plugins is displayed before getting list. This will count and display the number of plugin installed and used in the environment section.
2014-08-26 22:39:25 +05:45
Shiva Poudel cbb94f0d11 Better to use Time Constants since WordPress 3.5
Reference http://codex.wordpress.org/Transients_API#Using_Time_Constants
2014-08-25 11:16:39 +05:45
Barry Kooij 94365791af Changed all use of get_product to wc_get_product 2014-08-19 12:09:29 +02:00
Mike Jolley 0333cf9d0d Merge pull request #6039 from thenbrent/i18n_product_type_alert
Tweak language used for i18n_product_type_alert
2014-08-18 13:29:52 +01:00
claudiosmweb 6081f3b61f fixed some missing and wrong textdomains 2014-08-15 16:08:43 -03:00
thenbrent 320156aca0 Tweak language used for i18n_product_type_alert 2014-08-15 11:16:30 -07:00
Mike Jolley 575ba5974e Variation level backorder 'parent' option makes no sense now parent backorder select is hidden
#6035
2014-08-15 15:29:14 +01:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Mike Jolley 6bd38b5ce0 Tweak display order text 2014-08-15 11:50:53 +01:00
Mike Jolley 1c3b4fdc5c Deprecate Mijireh - .org repo requested
Closes #6027
2014-08-15 11:50:53 +01:00
Mike Jolley 3f53512c7f Fix up visibility of stock options, drop downs, and get_availability() when parent is managing stock for a variation.
Fixes #6017
2014-08-13 15:03:30 +01:00
Mike Jolley dfe30bfe84 Tweak max spend text for #5992 2014-08-13 11:43:28 +01:00
Mike Jolley dc60cea213 Merge pull request #5992 from adamawesomeface/master
maximum ammount for coupon functionality added
2014-08-13 11:41:33 +01:00
Mike Jolley 9084ae222f Remove unused/uncoded options from dev branch
Fixes #6004
2014-08-13 11:38:49 +01:00
Mike Jolley 97724c8a95 woocommerce_create_page_id filter Closes #6013 2014-08-13 10:59:40 +01:00
claudiosmweb bbca8dd437 fixed customer report queries with order_types 2014-08-12 12:17:46 -03:00
Mike Jolley 5bc293a69c Initial display of add order item buttons Fixes #5991
Also Closes #5994
2014-08-12 12:54:44 +01:00
adamawesomeface 0e22412a7d maximum ammount for coupon functionality added 2014-08-08 07:38:58 -04:00
Mike Jolley fe12b330c0 Fix sorting indicator and add help text to parent. Fixes #5977 2014-08-08 10:24:42 +01:00
Mike Jolley 49b597665e Merge pull request #5967 from SiR-DanieL/master
Fixed issue #5895
2014-08-05 10:49:40 +01:00
Gustavo Bordoni 7d4a6fc7d8 Merge branch 'master' into issue/5875
Conflicts:
	assets/css/admin.css
2014-08-05 01:21:48 -03:00
claudiosmweb bce502f455 improved handling of stock options to save changes to a variable product 2014-08-04 14:53:29 -03:00
Nicola Mustone 7c7f6b30e5 following wc coding standards 2014-08-04 17:49:14 +02:00
Nicola Mustone 69694e6242 following wc coding standards 2014-08-04 17:45:35 +02:00
Nicola Mustone a4103f7bfe following wc coding standards 2014-08-04 17:42:16 +02:00
Nicola Mustone c5f9f2157f Fixed issue #5895 2014-08-04 17:28:20 +02:00
Mike Jolley f84cd332dc Merge pull request #5960 from bordoni/issue/5958
User that refunded now been shown at the Order edit page
2014-08-04 14:18:32 +01:00
Gustavo Bordoni 34a47c3682 Removing a `var_dump`, My bad 2014-08-04 08:14:00 -03:00
Nicola Mustone 91177e43da woocommerce support line outside the child theme conditional 2014-08-03 14:05:49 +02:00
Nicola Mustone 359d910090 Merge branch 'master' of https://github.com/woothemes/woocommerce 2014-08-03 13:59:17 +02:00
Gustavo Bordoni 6b3f228a55 Adding the information about who did the refund on the backend 2014-08-02 21:57:14 -03:00
Gustavo Bordoni fbf4ffd39b Include a isset before using a variable that might not be there 2014-08-02 21:32:18 -03:00
Gustavo Bordoni 46ef1638ce Passing all the params for the `edit_address` fields, and build `id` param if it doens't exists 2014-08-01 01:26:45 -03:00
Gustavo Bordoni 09c8e644d1 WP Code Std 2014-08-01 01:24:55 -03:00
Gustavo Bordoni 8805c3443c Include the wp_localize_script for country > state relationship 2014-07-31 23:26:05 -03:00
Gustavo Bordoni 7a484744c0 WP Code Std 2014-07-31 22:54:38 -03:00
claudiosmweb 1a9d346e1f sync with master 2014-07-31 09:39:24 -03:00
Mike Jolley 727e49c097 Welcome page Closes #5920
@jameskoster can your review?
2014-07-31 09:48:17 +01:00
claudiosmweb a0bd72b9f3 Hide variation stock when manage stock is unchecked
closes #5935

@mikejolley
2014-07-30 15:32:06 -03:00
claudiosmweb 519de5be59 added alert about changing the product type that has variations
closes #5864

@mikejolley
2014-07-30 15:04:04 -03:00
Mike Jolley dab9a9be1f Merge pull request #5788 from kilbot/patch-1
Add woocommerce_product_visibility_options filter
2014-07-30 17:03:13 +01:00
Mike Jolley 75a6be58b9 Merge pull request #5755 from doublesharp/patch-1
Corrected duplicated settings_page() content
2014-07-30 17:01:19 +01:00
Mike Jolley 80a33b83d7 Merge pull request #5838 from danielvonmitschke/master
adding default product visibility filter hook
2014-07-30 12:58:50 +01:00
Mike Jolley d41cf9552f Merge pull request #5846 from corsonr/attributes_do_action
Add attributes do_action in products settings
2014-07-30 12:20:29 +01:00
Barry Kooij e49237c692 Added isset() checks around $legacy_order, var is only set if 'woocommerce_calc_taxes' option is 'yes'. 2014-07-30 11:13:09 +02:00
claudiosmweb 1cce388e1e added copy for support button, closes #5865 2014-07-29 12:06:58 -03:00
Mike Jolley c465c7235d Merge branch 'credit-notes'
Conflicts:
	includes/abstracts/abstract-wc-order.php
	includes/class-wc-order-factory.php
	includes/class-wc-post-types.php
	includes/wc-formatting-functions.php
	includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Mike Jolley 8a6831f33b Hide tax columns for legacy orders
@claudiosmweb
2014-07-28 17:08:11 +01:00
Bryce 1ffa2dd867 Updated to employ WordPress coding standards 2014-07-28 22:16:35 +07:00
Bryce 16fad7469b Admin Views HTML Headers, Stop Direct Access
Also a couple small formatting improvements
2014-07-28 21:50:11 +07:00
claudiosmweb fda7a5565c removed extra td element in refunds 2014-07-28 10:40:08 -03:00
Mike Jolley 42ac0c0368 Fix refund table alignment 2014-07-28 11:45:16 +01:00
Mike Jolley bf86072cce Interface tweaks
#3164
2014-07-28 11:41:52 +01:00
claudiosmweb acaee93236 fixed refunds cancel button action 2014-07-25 13:32:16 -03:00
Mike Jolley 5e663a7fa8 Show refunded line items inline 2014-07-25 16:48:19 +01:00
Mike Jolley f4e7211d3a Fix top seller on dashboard 2014-07-25 15:48:37 +01:00
Mike Jolley a9e30766d6 fix dashboard total 2014-07-25 15:47:51 +01:00
Mike Jolley 029bbbec39 Updated reports 2014-07-25 15:46:19 +01:00
Mike Jolley a7eaefc374 Change button label for calc taxes 2014-07-25 10:48:47 +01:00
claudiosmweb ca2dfdd7c1 synchronized the trash and delete actions between orders and refunds #3164 2014-07-24 18:39:59 -03:00
claudiosmweb 2d61126502 added add_shipping and add_fee ajax actions 2014-07-24 17:55:25 -03:00
claudiosmweb 5b3f69de0a fixed the "calculate tax" action #3164 2014-07-24 17:33:26 -03:00
Mike Jolley 00af832203 Sales by product report 2014-07-24 17:11:25 +01:00
Mike Jolley 873f36ca5c Pass order_types to reporting query functions 2014-07-24 15:55:06 +01:00
Mike Jolley 19b6922044 Refund line items and taxes 2014-07-24 15:34:14 +01:00
Mike Jolley e38dcf79bb Show refund boxes on click 2014-07-24 10:56:32 +01:00
Mike Jolley 0b231f2e03 Calc refund amounts and total via javascript 2014-07-24 10:53:29 +01:00
Mike Jolley 1ecfc59dfe Remove refund qty column 2014-07-24 10:22:04 +01:00
Mike Jolley e9b3d67ab7 Coupon template not needed 2014-07-24 10:21:57 +01:00
Mike Jolley 13f4f889a4 woocommerce_admin_order_item_values + refund fields 2014-07-24 10:21:47 +01:00
claudiosmweb a46ef1fced improved the shipping order items 2014-07-23 19:30:55 -03:00
claudiosmweb 26e50b7caf fixed post_type in reports 2014-07-23 14:17:01 -03:00
Mike Jolley 3aa9475e39 Coupon code display 2014-07-23 11:47:02 +01:00
Mike Jolley 4a306beef5 Max 100 taxes displayed, but show text input 2014-07-23 11:30:06 +01:00
claudiosmweb ae1881de06 fixed the line item quantity calcule #3164 2014-07-22 18:08:24 -03:00
claudiosmweb b56b60f191 stopped order editing when the status is not equal to pending or on-hold #3164 2014-07-22 16:25:37 -03:00
Mike Jolley 388e2eec49 removed display block 2014-07-22 16:46:28 +01:00
Mike Jolley 249f18f70d Merge branch 'credit-notes' of https://github.com/woothemes/woocommerce into credit-notes
Conflicts:
	assets/js/admin/meta-boxes-order.min.js
2014-07-22 16:44:23 +01:00
Mike Jolley 3e4506c376 Clean up total/subtotal display 2014-07-22 16:44:02 +01:00
claudiosmweb 7b5b1fc845 prevented that exist duplicate tax rate columns #3164 2014-07-22 12:42:17 -03:00
claudiosmweb 954a5ddc23 only show refund via button when gateway supports refunds #3164 2014-07-22 12:13:35 -03:00
Mike Jolley 01950bebdc Add confirmation before deleting tax column #3164 2014-07-22 15:26:18 +01:00
Mike Jolley 559ff43c42 Shipping should be displayed before fees 2014-07-22 14:42:12 +01:00
Mike Jolley 414bc4e314 Dashes when there is no tax 2014-07-22 14:42:04 +01:00
Mike Jolley b032c857ee Fix delete of shipping and fee line items. Remove checkbox for refunds. 2014-07-22 14:38:07 +01:00
Mike Jolley 550db70d77 Line item icons 2014-07-22 14:27:47 +01:00
Mike Jolley 6e0a880699 Group line items by type 2014-07-22 14:18:11 +01:00
Mike Jolley c65cd44aef Fix input styling 2014-07-22 11:56:52 +01:00
Mike Jolley 0c5be5f054 Moved add tax button, and tidied up tax column display 2014-07-22 11:54:59 +01:00
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 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
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
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 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 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 755001f19b Use order types where required 2014-07-11 12:43:42 +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
Mike Jolley 6862829fce Show total available 2014-07-10 14:52:36 +01:00
Mike Jolley d88279fe53 Start on ajax handlers 2014-07-10 13:33:05 +01:00
claudiosmweb 31a8483b4f created method to get the total amount already refunded 2014-07-08 16:59:38 -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
claudiosmweb 73a273caf8 removed order_type hidden input in order actions meta box 2014-07-08 11:46:39 -03:00
Mike Jolley 2282d76efb More UI / Split up meta box scripts 2014-07-08 14:14:29 +01:00
Mike Jolley 5c0ea16a39 More refund UI -show qty boxes and totals 2014-07-08 10:51:10 +01:00
claudiosmweb 90110f300f added order_type when save the order data 2014-07-07 17:11:40 -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
Mike Jolley 5b6c574664 Use get_transaction_id 2014-07-07 11:44:35 +01:00
Mike Jolley 72396bf987 Add an order action to 'create credit note' 2014-07-04 15:20:29 +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
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 ad2c483370 No need to clear all transients here - only clear parent's cache
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
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
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
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
claudiosmweb a5f8d4dd5c guaranteed that variations have unique sku, closes #5712 2014-06-27 09:45:50 -03: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
Mike Jolley 50a4c5bd23 Merge branch 'variation-stock-management'
Conflicts:
	includes/class-wc-product-variation.php
2014-06-27 11:15:42 +01: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 0f6f04e017 Added wc_stock_amount() core function and replaced intval
#4612
2014-06-25 11:25:28 +01:00
Manos Psychogyiopoulos 6ad8f0f718 fix conflicts 2014-06-25 10:36:11 +03: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 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 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
Coen Jacobs 71ae6f874a Status page log title should not assume action 2014-06-21 10:27:40 +02:00
Mike Jolley 19adbb9bba Product admin/saving 2014-06-19 16:47:04 +01: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
Patrick Rauland 8e3c3a61db adding brackets around if statement 2014-06-17 16:40:54 -05:00
Mike Jolley 8c1b384f43 [2.1] Total tax should be +, not - 2014-06-17 10:19:40 +01:00
claudiosmweb 97fb619e23 fixed undefined variable $status, closes #5673 2014-06-13 12:18:00 -03:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02: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 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
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
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
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
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02: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 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 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
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 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 f30e95663b Prefixes for queries 2014-06-03 11:29:01 +01:00
Mike Jolley 309f700283 has_status 2014-06-03 10:45:33 +01:00
splashingpixels 2757573bb2 add filter for admin stock report products per page 2014-05-31 13:45:47 -07:00
Mike Jolley ce44a5445f Join errors 2014-05-30 18:29:53 +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 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 ba15dc1793 No longer need system status report on status 2014-05-30 15:58:09 +01:00
Mike Jolley 6e3820b635 No need for status drop down 2014-05-30 15:24:34 +01: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 a9ff5afa01 Additional report filters Closes #4752 2014-05-28 15:19:16 +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 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 84740c1449 Merge pull request #5560 from woothemes/remove-tinymce-button
Removed unused TinyMCE button
2014-05-27 13:02:02 +01:00
Coen Jacobs 09a9463b0a Removed unused TinyMCE button 2014-05-26 16:17:56 +02:00
claudiosmweb 240cad1c89 fixed a little typo in add-ons page 2014-05-23 09:54:26 -03: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 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 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
Coen Jacobs cc7adb4819 Disable image size settings if filters are being used 2014-05-21 16:28:36 +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
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
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
claudiosmweb c09cd8ea4b fixed the admin welcome screen css 2014-05-15 17:42:04 -03:00
Mike Jolley 0dd8dcba2e Update label for force http option Closes #5474 2014-05-15 12:40:08 +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
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
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 bcba8248b9 Fix notice when not scanning any files Closes #5465 2014-05-12 12:34:46 +01: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 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 173d483ac0 Add tool for disabling shipping rate cache for debug 2014-05-01 14:40:31 +01:00
Nabil Kadimi 246b9ba1fa Make the welcome page RTL compatible. Fixes #5405 2014-05-01 09:50:19 +01:00
Mike Jolley 64ebb7c0eb Prevent duplicate admin menu items Closes #5380 2014-04-29 14:03:16 +01: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
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 02acbfa07e 1 filter rather than 2 Closes #5361 2014-04-25 10:43:30 +01:00
Mike Jolley 558a7bbe25 Recount true when recounting terms Fixes #5320 2014-04-24 16:09:03 +01:00
Mike Jolley 5862bfb2fe Allow saving no downloads, if unset
#5296
2014-04-24 16:00:17 +01:00
Mike Jolley 247bd15f68 Change label and add description Closes #4698 2014-04-23 14:24:20 +01: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 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 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
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 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
Remi Corson 7e955ba1f9 fixed incorrect order received endpoit tooltip 2014-04-17 11:03:47 +02:00
Akeda Bagus 2a97f07d47 Typo fix. 2014-04-15 22:56:35 +07: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
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
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 dc6c70cf77 Delete term count transients after stock status change and trashed post
Closes #5286
2014-04-07 15:16:54 +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 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 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
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
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
Patrick Rauland 1db1a47cf5 updating coupon email restriction tool tip 2014-03-31 15:54:21 -05: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 df8e54985c Fix the SKU search logic so it works with other filters. Closes #5208 2014-03-26 10:46:42 +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
Mike Jolley a21f8a3d47 delete terms transient during recount. #5204 2014-03-25 11:55:57 +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 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 eee61a9d1a URL decode attributes in admin so they display correctly (asian chars) 2014-03-19 15:54:26 +00:00
Mike 5a19abe48b Remove comment exclusion in order notes meta box 2014-03-18 19:49:15 +02: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 90914cc3c8 Update LESS compiler and less files #5070 2014-03-06 16:23:43 +00:00
Mike Jolley 156098edb9 Fallback for add ons page loading 2014-03-06 15:25:05 +00:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +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
splashingpixels d357154d2f shop order - fixes non object error on comments when order is in the trash 2014-02-28 22:08:42 -08: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 e0b042a8d4 Fix strict standards Closes #4980 2014-02-28 10:54:34 +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
JustinSainton 9b0ddb2bd3 Copypasta fix in docs. 2014-02-26 10:42:35 -08: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 1f3d2632ed Filters to restrict granting/revoking access to files Closes #4952 2014-02-26 12:35:11 +00: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
Mike Jolley e73aa65440 Ensure product exists before getting title. Closes #4916 2014-02-25 14:48:55 +00:00
Mike Jolley 9a52c5dd43 Combine two meta queries into one #4901 2014-02-25 13:33:55 +00:00
Mike Jolley 4789223f32 Fix variation level reporting Closes #4885 2014-02-24 17:10:08 +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 90b042573e Transifex links 2014-02-21 15:29:42 +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 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
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
Mike Jolley 8c7996e5b1 Fix notice when left blank 2014-02-17 14:54:06 +00:00
Mike Jolley f9251084d9 woocommerce_get_sections_{id} filters Closes #4817 2014-02-17 14:30:42 +00:00
Mike Jolley c0c21c8364 Unify textdomains Closes #4814 2014-02-17 13:14:45 +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 84e754e298 Update docblocks 2014-02-14 14:29:39 +00: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 69748cd4e3 Force a valid base when saving permalinks 2014-02-14 10:43:15 +00: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 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 403e90008d Fix line total display for order fees Closes #4766 2014-02-13 10:25:15 +00: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
James Koster f2f919ebca stock report icons. closes #4753 2014-02-13 09:38:08 +00:00
Gerhard 75da5d829a Fix variation download file url save for Amazon S3 extension. 2014-02-12 21:17:09 +02:00
Mike Jolley 29b59cc74f Vars in report classes Closes #4720 2014-02-12 12:26:32 +00:00
Mike Jolley 5da7cc05ce Added tinymce buttons relevant to the short description 2014-02-12 09:49:13 +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
Mike Jolley 0bffeca947 Set $time Closes #4718 2014-02-11 16:03:02 +00:00
Mike Jolley 26d0e711cd Need to actually check $outdated. Derp. @coenjacobs 2014-02-11 15:13:51 +00:00
Mike Jolley 39f5b8aec0 Function comment #4714 2014-02-11 13:47:46 +00: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 b0755f695f Sections can be lowered using sanitize_title Closes #4700
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
James Koster b85a881cc5 allow line breaks in customer addresses on order details page. closes #4709 2014-02-11 09:56:47 +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
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
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 bfe3020897 removed unused global vars in WC_Report_Coupon_Usage::output_report, closes #4665 2014-02-07 15:37:31 -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 545441b2e3 Multiple attribute for email box Closes #4659 2014-02-07 10:10:50 +00:00
Mike Jolley 2dd73acb9d Context for checkout string Closes #4646 2014-02-06 15:46:18 +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 9222e6a854 woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake 2014-01-31 14:48:23 +00: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
Mike Jolley 4abcc331dd Ensure stock status is set for variations after setting to 0 Closes #4587 2014-01-29 14:39:55 +00: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
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 239d673646 Change featured image notation to product Closes #4586 2014-01-28 11:58:20 +00: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
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
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 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
Kathy Darling f93abb7acb fix for #4547 2014-01-22 13:54:25 +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 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
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
Gerhard 52267220e4 wc_clean on download url instead of esc_url to support shortcodes 2014-01-21 13:09:27 +02: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
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
Brent Shepherd 6610f71d5a Fix order discount input label "for" attribute 2014-01-13 18:10:19 -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 dc880c7af7 Missing updated class 2014-01-13 11:35:02 +00: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
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 ddb755afd5 braces 2014-01-08 14:12:19 +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
Andrew Benbow 030131a311 Add delete tax rates option to system tools 2014-01-06 14:42:54 +00:00
Mike Jolley 7cafdb4bf8 Prevent settings loading twice 2014-01-03 14:13:18 +00:00
Mike Jolley d02b1386df Meta box tips Closes #4367 2013-12-31 14:38:41 +00: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