Commit Graph

3286 Commits

Author SHA1 Message Date
Mike Jolley 83cd831e1a can_refund_order/limit_string_length methods 2014-11-18 16:53:03 +00:00
claudiosmweb f34cead914 Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax() 2014-11-18 14:45:29 -02:00
Mike Jolley b3782fa1a5 Removing Mijireh from core 2.3 2014-11-18 16:37:43 +00:00
Nicola Mustone 5d30109ab6 Handle cart item undo 2014-11-18 17:31:06 +01:00
Nicola Mustone 7eecb87d34 Added get_undo_url 2014-11-18 17:30:52 +01:00
Mike Jolley 003094c9c3 Ensure remaining hashes are translated Closes #6518 2014-11-18 16:29:21 +00:00
Mike Jolley ed1ff0f48c WooConf is over 2014-11-18 16:26:12 +00:00
Mike Jolley e7fc5520a8 Merge pull request #6776 from axisthemes/welcome
Welcome Page Cleanup
2014-11-18 16:25:44 +00:00
Mike Jolley e476a3f76b Merge pull request #6785 from SiR-DanieL/make_clickable
Automatically creates clickable links in item metas
2014-11-18 16:21:29 +00:00
Mike Jolley 4c5b7a3c06 Remove updates, 1.4, 1.5 2014-11-18 16:18:48 +00:00
Mike Jolley 387296a807 More PayPal line item tweaks 2014-11-18 16:13:41 +00:00
Mike Jolley 898c989753 wc_tax_enabled() and wc_prices_include_tax() methods 2014-11-18 16:13:41 +00:00
claudiosmweb da43955416 Introduces the wc_get_default_location() function 2014-11-18 12:56:13 -02:00
claudiosmweb 771f25d7b7 Improved the WC_Customer class, removed dead variables, removed duplicated code and added new docblocks 2014-11-18 12:32:48 -02:00
Mike Jolley a39353fc73 Split up line item methods in paypal 2014-11-18 13:46:55 +00:00
Mike Jolley e68353da63 Use one variable for endpoint in paypal 2014-11-18 13:46:55 +00:00
Mike Jolley 2e9f02932d Simplify get_icon() method 2014-11-18 13:46:55 +00:00
Mike Jolley 74b93b8c67 Moved paypal settings to file 2014-11-18 13:46:55 +00:00
Mike Jolley dc3aca2d06 Simplify logging and get_paypal_order(). Removes < 2 bw compat
@thenbrent this removes the old IPN handling legacy code. Is this
something that may affect subscriptions? I believe that IPN code was
for WC < 2.0 when we used to send back a string/integer in ‘custom’
2014-11-18 13:46:55 +00:00
claudiosmweb 6acfd3e2a7 Created WC_Customer::get_default_location() for avoid duplicate code 2014-11-18 11:32:44 -02:00
Nicola Mustone 913cc42c06 Fixes https://github.com/woothemes/woocommerce-product-addons/issues/24 2014-11-18 14:22:21 +01:00
Nicola Mustone 22a32ae9c8 Fixes #6555 2014-11-18 14:20:47 +01:00
claudiosmweb 6077a10e44 Removed some dead variables 2014-11-18 10:42:54 -02:00
shivapoudel 78f9759e1c Some modification for theme-support notice 2014-11-18 17:22:15 +05:45
shivapoudel 36e74b3b0d Some curley braces 2014-11-17 22:59:49 +05:45
Mike Jolley a0bf72f7b5 Bulk edit sales schedule on variations
Closes #6300
2014-11-17 16:50:25 +00:00
shivapoudel d688a37f54 Some mistake revoked 2014-11-17 22:34:27 +05:45
shivapoudel 4341174927 Merge remote-tracking branch 'upstream/master' into welcome 2014-11-17 22:30:52 +05:45
shivapoudel 3d4954a3e1 Some gap added intensionally ;) 2014-11-17 22:27:39 +05:45
Mike Jolley e6a5825f8c Some shipping class tidyup 2014-11-17 16:30:18 +00:00
shivapoudel 85440b5927 use of final class helper function 2014-11-17 22:03:15 +05:45
shivapoudel 61dfac7ccd Unused var if needed in future we can use WC_PLUGIN_BASENAME constant 2014-11-17 21:44:32 +05:45
shivapoudel 5b0be2f102 Cleanup for the WC_Admin_Welcome Class 2014-11-17 21:41:36 +05:45
Mike Jolley 82145be444 Merge pull request #6773 from axisthemes/menu-order
Simplify the condition for custom menu order
2014-11-17 14:31:37 +00:00
Mike Jolley c6362051eb Merge pull request #6765 from bryceadams/master
Add placeholder attribute for settings API #6764
2014-11-17 14:29:05 +00:00
shivapoudel 825d56f8ba Modified since current_user_can() returns boolean ;) 2014-11-17 20:00:01 +05:45
Mike Jolley 65ace6818b Merge pull request #6757 from tamarazuk/master
Introduce `woocommerce_product_is_on_sale` filter
2014-11-17 14:11:59 +00:00
shivapoudel 891d3a4573 Simplify the condition for custom menu order :) 2014-11-17 15:21:47 +05:45
Bryce 71909a7c72 Update default for 'Default Product Sorting' option 2014-11-17 15:37:02 +07:00
Bryce 295fed6467 Add placeholder attribute for settings API #6764 2014-11-16 14:49:43 +07:00
claudiosmweb 03c16229e0 Merge branch 'master' of github.com:woothemes/woocommerce 2014-11-14 23:15:16 -02:00
claudiosmweb 24e17e36d3 Preventing errors when adding a widget using the WP Customize
Fixed coding standards and used methods from WC_Widget for start and end the widget
2014-11-14 23:12:59 -02:00
Tamara Zuk 20655d367d Introduce `woocommerce_product_is_on_sale` filter
This filter is useful for extensions like Measurement Price Calculator
which alter the product price quite a bit, but would still like the
sale badge to appear :)

Current workaround is to use three filters ( `woocommerce_get_price`,
`woocommerce_get_regular_price`, and `woocommerce_get_sale_price` )
which most extension may be using already, but not all need/want to
alter these prices.
2014-11-14 18:00:03 -05:00
Mike Jolley 537233efcc Split is_valid() into separate methods 2014-11-14 17:18:02 +00:00
Mike Jolley f600c5ec05 Limit coupons to X needs to persist across lines during calc
Fixes #6745
2014-11-14 16:38:33 +00:00
Mike Jolley 1d3b8db754 Move formatting logic 2014-11-14 16:22:01 +00:00
Mike Jolley 668e5ffb5c Some refactoring of the coupon class to load data with less code 2014-11-14 16:22:01 +00:00
claudiosmweb a91dd8b516 Fixed missing comma
@mikejolley
2014-11-14 12:09:02 -02:00
Mike Jolley 4b5d22b8e8 Format totals to 2dp when doing paypal checks Closes #6678 2014-11-14 13:17:17 +00:00
Mike Jolley 9701dad114 API - set_fee should support tax_data
Closes #6719 cc @maxrice
2014-11-14 13:14:48 +00:00
Mike Jolley 2e2ce3c286 [2.2] During refunds, correctly set shipping tax totals
Fixes #6691
2014-11-14 12:52:43 +00:00
claudiosmweb 8413d68de6 Added Simplify Commerce minified js file 2014-11-14 09:58:21 -02:00
claudiosmweb c683720b02 Removed old ajax_loader_url param from all js files 2014-11-14 09:52:44 -02:00
James Koster c187c002be mar icons stuff 2014-11-14 09:59:12 +00:00
James Koster c28e7821d5 add dependency to dashicons. 2014-11-14 09:49:59 +00:00
James Koster d765c3138c dashicons for loader and arrows. 2014-11-14 09:47:45 +00:00
James Koster 30a5c4bfdb bye bye ajax loader gif. 2014-11-13 18:28:15 +00:00
Mike Jolley 9abbf4cef8 Fix coupons by date queries to prevent inflated results
Closes #6742
2014-11-13 17:25:45 +00:00
Mike Jolley 2b4f68cf33 Merge pull request #6746 from ThomasSultana/master
#6740 Expose Previous Item Quantity
2014-11-13 08:49:22 -08:00
Mike Jolley 4c8a3eaba5 Merge pull request #6738 from bryceadams/master
Add script_debug $suffix for admin settings.js
2014-11-13 08:43:51 -08:00
Mike Jolley 4a6dc10300 Merge pull request #6741 from ragulka/meta-box-field-attributes
Custom attributes for select, checkbox and textareas
2014-11-13 08:43:38 -08:00
Mike Jolley ea335e5e61 missing colon in wc-emails class 2014-11-13 14:02:06 +00:00
Mike Jolley 7c666852c7 If totals mismatch in paypal, don't send line items 2014-11-13 13:41:51 +00:00
Illimar Tambek a7a913ab09 Custom attributes for select, checkbox and textareas 2014-11-13 13:26:52 +02:00
ThomasSultana d3542a2192 #6740 Expose Previous Item Quantity
woocommerce_after_cart_item_quantity_update will now also pass the old quantity. #6740
2014-11-13 12:11:24 +01:00
Bryce d717eed3ad Add script_debug $suffix for admin settings.js 2014-11-13 15:57:09 +07:00
James Koster 452cb56cd9 layered nav count markup matches product/post categories. #5606 2014-11-13 08:30:10 +00:00
claudiosmweb 75c28e715f fixed the deprecated filters 2014-11-12 22:57:45 -02:00
claudiosmweb bac2af461a Improved the WC_Emails::order_meta() method
Deprecated the woocommerce_email_order_meta_keys filter in favor to woocommerce_email_order_meta_fields

Now we can filter and work with the data without worrying about translations.

cc: @mikejolley @helgatheviking
2014-11-12 22:53:36 -02:00
claudiosmweb 7200b449dc Fixed the labels in customer details 2014-11-12 22:33:47 -02:00
Kathy Darling cfeeb7e9c6 Merge branch 'email_customer_details_hook_backup' into email_customer_details_hook_2
Conflicts:
	includes/class-wc-emails.php
2014-11-13 00:32:15 +01:00
Kathy Darling 520cb4e385 change array to account for localization per @claudiosmweb 2014-11-12 20:44:11 +01:00
Mike Jolley ca6885c4a3 Merge pull request #6731 from SiR-DanieL/patch-2
Hide order again button
2014-11-12 09:06:29 -08:00
Mike Jolley 622c031f05 Merge pull request #6733 from SiR-DanieL/patch-3
Improved Shop Page Display option
2014-11-12 09:05:54 -08:00
Mike Jolley ccdacb76b7 Fire all form handlers priority 20
Closes #6706
2014-11-12 16:43:29 +00:00
Mike Jolley a1c04670bc End output buffering even if buffers are empty.
Closes #6659
2014-11-12 16:15:47 +00:00
Mike Jolley 18ebded7c5 Make check_cart_items consistantly placed
Closes #6708
2014-11-12 15:47:27 +00:00
Mike Jolley 4b2ab00be3 Order again button template file
Closes #6664
2014-11-12 15:33:00 +00:00
Mike Jolley 3ccd54f268 English version of Taiwan address format
Closes #6651
2014-11-12 15:28:33 +00:00
Mike Jolley 87c417e56a When bulk editing variable products, set the stock status for non-stock managed variations
Fixes #6661
2014-11-12 15:15:05 +00:00
Mike Jolley bb1564d6c4 Incorrect variable
#6626 cc @claudiosmweb
2014-11-12 14:50:01 +00:00
Mike Jolley aaca944a85 API - Variation handling for stock data
Closes #6626 cc @claudiosmweb
2014-11-12 14:21:29 +00:00
Nicola Mustone fc2429549e Improved Shop Page Display option
I tweaked the text of the second option in Shop Page Display because i guess it confuse users that only read "Show subcategories". What about main categories?

I'd like to change also "Show both" to "Show all". What do you think?
2014-11-12 15:01:17 +01:00
James Koster 6a0fe9974f reports print styles. closes #4544 2014-11-12 12:53:57 +00:00
Nicola Mustone be59e9f80b Hide order again button
Hide "Order again" button if the user is not logged in.
2014-11-12 11:44:26 +01:00
Marin Atanasov 5ad973eac2 fixing small typo 2014-11-11 22:52:45 +02:00
Marin Atanasov 7c5be1ebde fixing small typo 2014-11-11 22:32:06 +02:00
Mike Jolley a076c5a69d get_product in product factory should return passed in object if its a product already
Fixes #6726
2014-11-11 16:24:22 +00:00
Mike Jolley 9e53b3fb33 Clear shipping transient on save
Closes #6723
2014-11-11 16:22:29 +00:00
James Koster 57809bc017 coding standards 2014-11-11 15:47:14 +00:00
Mike Jolley d58400399a Fix wildcard search and optimise local delivery + pickup Closes #6676 2014-11-11 15:46:57 +00:00
James Koster ecb5c77eae coding standards 2014-11-11 14:40:13 +00:00
James Koster 0321fc79d1 yoda 2014-11-11 14:31:27 +00:00
James Koster 7fd28c1295 order. #6639 2014-11-11 14:29:54 +00:00
James Koster c153a62406 Products setting tab. #6639 2014-11-11 14:25:46 +00:00
Mike Jolley f8bc4a0abd Add item cost column Closes #6650
@jameskoster
2014-11-11 13:40:47 +00:00
Mike Jolley b98b7354ad String sanitize_user Closes #6667 2014-11-11 13:11:40 +00:00
Mike Jolley 83fb26e30d Dump chosen select option. Closes #6593 2014-11-11 12:12:28 +00:00
Mike Jolley cb8fe34b4c get_base_tax_rates() + filter. Closes #6668 2014-11-11 11:56:17 +00:00
Mike Jolley b5f359b22a Merge pull request #6717 from bryceadams/master
Add filter for registration auth cookie #6707
2014-11-11 03:44:54 -08:00