Commit Graph

10147 Commits

Author SHA1 Message Date
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
James Koster 71745c3614 changelog 2014-11-18 13:31:36 +00:00
James Koster e856377194 bye bye quantity increments. closes #6752 2014-11-18 13:29:58 +00: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
James Koster 9e00709165 separate font styles into separate import 2014-11-18 13:04:28 +00:00
James Koster 81fd75d406 more css formatting. 2014-11-18 13:04:28 +00:00
James Koster 479ce5e73f general css comment formatting and small tweaks. 2014-11-18 13:04:28 +00:00
James Koster 40cf2aa37c woocommerce-layout.scss comment formatting. #5606 2014-11-18 13:04:28 +00:00
James Koster 53797130a4 woocommerce-smallscreen.scss comment formatting. #5606 2014-11-18 13:04:28 +00:00
James Koster a0b5839e11 woocommerce.scss comment formatting. #5606 2014-11-18 13:04:28 +00:00
claudiosmweb 790304466b Excluded Mijireh and Simplify libs from scrutinizer 2014-11-18 10:50:47 -02:00
claudiosmweb 971d1ca407 Merge branch 'master' of github.com:woothemes/woocommerce 2014-11-18 10:42:59 -02:00
claudiosmweb 6077a10e44 Removed some dead variables 2014-11-18 10:42:54 -02:00
James Koster baba15e1b0 disabled button styles. closes #6774 2014-11-18 12:21:03 +00:00
Claudio Sanches 4199b20fd4 Merge pull request #6781 from axisthemes/theme-support
Fix for theme-support notice
2014-11-18 09:47:43 -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
James Koster 7290f708ec coding standards find/replace fail ^^. closes #6775 2014-11-17 15:45:12 +00:00
James Koster 299858764b gallery column css. closes #6767 2014-11-17 15:41:27 +00:00
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
Mike Jolley f883f62eaf Merge pull request #6756 from joeflynn/quota-exceeded
ensure storage is writable when setting support flag. fixes #6755
2014-11-17 14:28:49 +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
Joe Flynn 652a66e3d1 ensure storage is writable when setting support flag. fixes #6755 2014-11-14 14:14:56 -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