Commit Graph

4778 Commits

Author SHA1 Message Date
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
Brent Shepherd e2c50cd529 Set $variation object when add variation via ajax
When the variation-admin-html.php template is loaded on the Edit
Product screen, $variation is a WP_Post Object. When the template
is loaded by woocommerce_add_variation() handling an Ajax call,
$variation is an array. This commit makes $variation consistent so
functions hooking to 'woocommerce_product_after_variable_attributes'
and 'woocommerce_variation_options' receive the same variable type
regardless of what initiated the template loading.
2013-02-28 15:37:51 +10:00
David Garcia Watkins 38a2aac997 Apply filters to custom attribute option names for translation 2013-02-27 15:14:05 +01:00
Mike Jolley 22376b8d73 order terms by parent Closes #2534. 2013-02-27 13:43:38 +00:00
Mike Jolley 505f9f0b43 Stock increase/descrease alerts Closes #2536. 2013-02-27 12:50:02 +00:00
Mike Jolley b8a92318e0 filter is_enabled boolean Closes #2535. 2013-02-27 10:10:40 +00:00
Mike Jolley f7de23f199 Merge pull request #2539 from thenbrent/master
Allow extensions to run core WC add-to-cart handlers
2013-02-27 02:02:23 -08:00
kukac7 fafdb56cd3 hungarian translation v0.9.1
91%
2013-02-27 10:50:25 +01:00
Brent Shepherd b1acb6c657 Whitespace tweak 2013-02-27 17:57:13 +10:00
Brent Shepherd bd78ca6eec Allow extensions to run core WC cart handlers
Rather than determining how to handle a product being added to the cart
based on its type, create a handler flag which extensions can set in
order to run core WC handlers for different product types.
2013-02-27 17:55:39 +10: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
Mike Jolley 890640afca Remove, don't hide. Closes #2532. 2013-02-26 14:36:18 +00:00
Mike Jolley d403f4d9bc Split out fragment code into wc-cart-fragments Closes #2528 2013-02-26 12:15:12 +00:00
Mike Jolley fa6fc063ed Prevent naming conflict Closes #2530. 2013-02-26 11:51:17 +00:00
Mike Jolley daaec188d6 Merge pull request #2527 from absoluteweb/master
100% french version by ABSOLUTE Web WC 2.0 RC2
2013-02-26 03:46:44 -08:00
Nicolas Maillard 08b691b8b7 French Translation WC2.0RC2 2013-02-25 17:06:21 +01:00
Mike Jolley 625b1cf72e Fix JS calc totals Closes #2525. 2013-02-25 11:39:15 +00:00
Mike Jolley b7dd49d73c POT refresh 2013-02-25 11:31:12 +00:00
Mike Jolley 86fce66aa0 Change password fix Closes #2518. 2013-02-25 11:21:37 +00:00
Mike Jolley 566e10eeb0 Less conditionals for JS loader 2013-02-25 10:32:13 +00:00
Mike Jolley 69db6a4262 Login form initial state. Closes #2505. 2013-02-25 10:17:16 +00:00
Mike Jolley 48a4ce1384 New interface didn't pass correct value to old hook. Closes #2520. 2013-02-25 10:12:45 +00:00
Mike Jolley aa250f35a7 Hook should be after messages. #2510 2013-02-25 10:10:11 +00:00
Mike Jolley 8d54dbdad5 Merge pull request #2508 from judgej/patch-1
Update woocommerce-ajax.php
2013-02-25 02:08:42 -08:00
Mike Jolley 2f3b7f339a Merge pull request #2510 from krbvroc1/before_after_hooks
Add encompassing hooks to cart and mini-cart
2013-02-25 02:06:55 -08:00
Mike Jolley 110ad84146 Merge pull request #2516 from Geczy/master
Filter on get_items()
2013-02-25 02:03:48 -08:00
Mike Jolley e7c1390ba9 Merge pull request #2517 from Ramoonus/master
nl_NL update
2013-02-25 02:03:20 -08:00
Matt 31b3201a3c woocommerce_order_get_items filter on get_items() 2013-02-24 10:00:42 -05:00
Ramon van Belzen 69f9cd1ad4 More strings 2013-02-24 14:02:52 +01:00
Ramon van Belzen db9f872c5a nl_NL more strings translated 2013-02-24 10:53:06 +01:00
Ramon van Belzen efb303443a nl_NL Country strings 2013-02-24 10:44:42 +01:00
Ramon van Belzen 28e54e0989 nl_NL first bit of the day 2013-02-24 10:31:50 +01:00
Ramon van Belzen 5a728ed5ae admin-NL refreshed 2013-02-24 10:20:40 +01:00
kukac7 0a3c0bf43e hungarian translation v0.8.6
86%
2013-02-23 17:36:23 +01:00
kukac7 e3b35fa318 hungarian translation v0.8.4
84%
2013-02-22 22:50:55 +01:00
Ken Bass edc53f4624 Add encompassing hooks to cart and mini-cart 2013-02-22 13:14:59 -05:00
Jason Judge 8b33de17c3 Update woocommerce-ajax.php 2013-02-22 16:30:01 +00:00
Coen Jacobs 9bdb243da0 Tagging RC2 2013-02-22 14:19:13 +01:00
James Koster 69e793df50 messages 2013-02-22 12:13:22 +00:00
Mike Jolley c086d7236a Initial display Closes #2505. 2013-02-22 08:55:48 +00:00
Mike Jolley 38ac7a5fc2 woocommerce_coupon_loaded Closes #2506 2013-02-22 08:44:40 +00:00
Mike Jolley 947a0aa483 kses Closes #2503. 2013-02-21 19:55:58 +00:00
Mike Jolley 884c217c12 Merge pull request #2497 from thenbrent/variable-writepanel-tweaks
Tweaks to the Variable Product Writepanel
2013-02-21 02:16:43 -08: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
Mike Jolley 42e8502b52 Merge pull request #2494 from neilpie/master
Template path in email admin area has plugin directory hardcoded
2013-02-21 02:15:22 -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
Coen Jacobs dfddb41774 Merge pull request #2496 from thenbrent/slug-not-sanitize
Use product_type slug not sanitized term name
2013-02-21 00:14:25 -08:00