Commit Graph

1282 Commits

Author SHA1 Message Date
Brent Shepherd 9247e3277c Create WC standards compliant class name from term 2013-02-28 15:39:02 +10:00
Brent Shepherd 2eb8b26aad Use sanitized $product_type->name values
product_type term slugs are inconsistent so can not be used as unique
identifiers, but product_type term names may have white space and other
characters unsafe for option values, class names & or hooks, therefore,
product_type term names should be sanitized.
2013-02-28 15:39:02 +10:00
Mike Jolley 22376b8d73 order terms by parent Closes #2534. 2013-02-27 13:43:38 +00:00
Mike Jolley b8a92318e0 filter is_enabled boolean Closes #2535. 2013-02-27 10:10:40 +00:00
Mike Jolley 80b4ef14c9 Slugs are unreliable, and support show_if hide_if for all product types 2013-02-26 15:14:49 +00:00
Matt 31b3201a3c woocommerce_order_get_items filter on get_items() 2013-02-24 10:00:42 -05:00
Mike Jolley 38ac7a5fc2 woocommerce_coupon_loaded Closes #2506 2013-02-22 08:44:40 +00:00
Mike Jolley 3019d3b605 Merge pull request #2498 from dziudek/master
Fix for the HTML syntax error in the recent products widget form on the back-end
2013-02-21 02:15:58 -08:00
Neil Pie b6cc12b5e6 Update classes/abstracts/abstract-wc-email.php
whitespace
2013-02-21 09:31:45 +00:00
Neil Pie 39785ee760 Merge branch 'master' of github.com:woothemes/woocommerce 2013-02-21 09:23:47 +00:00
Neil Pie 633f353245 conditional for WC_Email template base in abstract constructor 2013-02-21 09:23:32 +00:00
Tomasz Dziuda c960019ad2 Fix for the HTML syntax error in the recent products widget form on the back-end
The problem was caused by unclosed paragraph tag.
2013-02-21 10:15:00 +01:00
Brent Shepherd 102cbe78b0 Make slug elements ucfirst for class name
For example, instead of `WC_Product_Variable_subscription` create the
class name `WC_Product_Variable_Subscription`.
2013-02-21 16:32:20 +10:00
Brent Shepherd 4ceb988536 Use product_type slug not sanitized term name 2013-02-21 15:13:23 +10:00
Neil Pie 9b984bac5f sloppy whitespace 2013-02-21 00:59:21 +00:00
Neil Pie 11835b1004 Brings correct template path format into line with WC generate file paths 2013-02-21 00:57:46 +00:00
Neil Pie 11782d4f2b Fixes issue with displaying email template path in admin 2013-02-21 00:39:38 +00:00
Ken Bass b53dee1770 Undo change from hyphen to underscore 2013-02-20 17:40:32 -05:00
Mike Jolley 59ff162e5a Coupon amounts for after tax discount. Closes #2485. 2013-02-20 22:09:57 +00:00
Mike Jolley c696c99cee woocommerce_error class 2013-02-20 20:52:38 +00:00
Mike Jolley 3d0001700d Merge pull request #2491 from krbvroc1/widget_login_fix
Undo esc_html and fix class name
2013-02-20 12:51:09 -08:00
Ken Bass 9a51b63174 Change esc_html to wp_kses and fix class name 2013-02-20 15:49:14 -05:00
Mike Jolley b8c3e159de Query published coupon. Closes #2487. 2013-02-20 20:48:40 +00:00
Mike Jolley 35d5e2997a Work with 4dp for discounts so totals add up. Closes #2476. 2013-02-20 18:50:28 +00:00
Mike Jolley e0ef659cb9 Reset after showing shortcode. Closes #2475. 2013-02-20 18:10:03 +00:00
Mike Jolley 5f304f0534 Incorrect Constant Closes #2477. 2013-02-20 17:55:13 +00:00
Mike Jolley f5f01c497e Changes for API Docs 2013-02-20 17:14:51 +00:00
Ken Bass 23d6677c28 Allow user error message on filtered invalid coupon error messages 2013-02-18 14:05:23 -05:00
Mike Jolley 8b666eb71f Min fee Closes #2464 2013-02-18 16:41:32 +00:00
Mike Jolley 807ec3a106 Prepend constants, renamed functions, split messages from errors. #2456 2013-02-18 12:29:10 +00:00
Mike Jolley 79b273f87c Merge pull request #2456 from krbvroc1/coupon_naming
Add ability to filter 'coupon code'
2013-02-18 03:19:13 -08:00
Mike Jolley 346ec52794 Customer id 2013-02-15 21:18:46 +00:00
Mike Jolley 018259b41f Record all discounts. Closes #2455. 2013-02-15 10:27:09 +00:00
Mike Jolley a98de826f0 Tidied up order display #2452 Added new line count function 2013-02-15 09:54:06 +00:00
Ken Bass fe8a34a069 A different attempt 2013-02-14 23:18:58 -05:00
Ken Bass b0a5402f11 Add ability to filter 'coupon code' 2013-02-14 19:29:55 -05:00
Mike Jolley 18ab00d10d escape for #2441 2013-02-14 16:50:45 +00:00
Mike Jolley 24fff87877 Merge pull request #2441 from yitzchak/patch-2
Update classes/integrations/google-analytics/class-wc-google-analytics.p...
2013-02-14 08:26:34 -08:00
Mike Jolley a0393f3a52 Resume failed orders 2013-02-14 15:37:05 +00:00
yitzchak a0dfdad79b Update classes/integrations/google-analytics/class-wc-google-analytics.php
Added SKU tracking for shop loop
2013-02-13 14:31:21 -05:00
yitzchak c8bb71c2c7 Update classes/integrations/google-analytics/class-wc-google-analytics.php
Added use of product SKU to "Add to cart" event.
2013-02-13 13:35:10 -05:00
Mike Jolley 66666f6bd8 API endpoints - some gateways don't like query strings 2013-02-13 12:38:19 +00:00
Mike Jolley 60e3628076 Hook on order creation. Closes #2438. 2013-02-13 09:38:54 +00:00
Mike Jolley 30e6beb861 Fix buttons and externals. Closes #2437. 2013-02-13 09:29:00 +00:00
Mike Jolley 0b46347efc Prevent notices. 2013-02-12 13:52:50 +00:00
Mike Jolley 0efa9d1792 #2430 get_called_class with product type fallback for 5.2 2013-02-12 12:15:49 +00:00
Mike Jolley 29eb289c3b Tweak messages #2430 2013-02-12 11:49:26 +00:00
Mike Jolley 8bc3a0934a Merge pull request #2432 from thenbrent/deprecated-paypal-class
Add deprecated WC_Paypal class
2013-02-12 02:55:15 -08:00
Mike Jolley 3a734e230e Merge pull request #2431 from thenbrent/deprecated-find-rate-args
Deprecate old params for WC_Tax->find_rates()
2013-02-12 02:55:02 -08:00
Andrew Benbow e7c0834b90 Update classes/widgets/class-wc-widget-product-categories.php
Title correction
2013-02-12 10:51:42 +00:00