Commit Graph

160 Commits

Author SHA1 Message Date
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Coen Jacobs e6bea70f62 Abstracted messages helper to class 2013-06-06 15:56:24 +02:00
Coen Jacobs 64c75547f3 Abstracted transient helper to class #3282 2013-06-05 13:39:27 +02:00
Coen Jacobs 656c897448 Merge pull request #2828 from thenbrent/formatted_product_name
Encapsulate formatted product name
2013-05-02 08:26:41 -07:00
Max Rice f5c27236d6 Add action for AJAX order item insertions 2013-04-17 11:15:28 -04:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley ba0b4196fa Posted 'text' terms are not slugs. Only striptags/slashes - don't change to slugs. Closes #2955. 2013-04-15 13:15:42 +01:00
Mike Jolley cb836a5fff Santize terms when linking all variations. Closes #2917 2013-04-12 10:16:26 +01:00
Mike Jolley 02d8aec39c Over-sanitized. Closes #2933. 2013-04-12 09:51:10 +01:00
Mike Jolley 9977031a5d Nonces cannot be used on all pages with cache - removed them for add to cart actions + fixed caching for hiding the cart 2013-04-08 18:43:07 +01:00
Brent Shepherd 9e71cd699f Update woocommerce_get_formatted_product_name use
To use new WC_Product::get_formatted_name() function. For #2788
2013-03-27 18:00:43 +10:00
Mike Jolley 87fbb21ff2 Removed Sidebar Login Widget. Use http://wordpress.org/extend/plugins/sidebar-login/ instead. A potential security issue was found regarding logging of passwords (since GET was used instead of POST). Sidebar Login 2.5 resolves this and the widget has been removed from WC to prevent needing to maintain two (virtually identical) codebases. 2013-03-18 15:24:29 +00:00
Justin Stern f4076b888f Product Stock Filters
Added a number of filters related to product stock to allow for improved
control over the stock handling and display
2013-03-18 01:38:22 -04:00
Mike Jolley c8371fa884 Save attributes notice 2013-03-10 17:01:23 +00:00
Mike Jolley ca46e4ec29 Fix attribute encoding issues. Closes #2644. 2013-03-10 16:55:53 +00:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
gkaam 3eeb09b495 Issue #2612: Adds a filter to redirect the visitor to a custom page if an error happened when adding an item to the cart 2013-03-06 20:56:09 +01:00
Mike Jolley 089178e0e8 escape when output, not when saved. #2587 2013-03-05 21:20:00 +00:00
Mike Jolley 4918d7a27d Billing email must be set to grant permission. #2555 2013-03-01 20:58:25 +00: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
Mike Jolley 505f9f0b43 Stock increase/descrease alerts Closes #2536. 2013-02-27 12:50:02 +00:00
Jason Judge 8b33de17c3 Update woocommerce-ajax.php 2013-02-22 16:30:01 +00:00
Ken Bass 9a51b63174 Change esc_html to wp_kses and fix class name 2013-02-20 15:49:14 -05:00
Mike Jolley 5f304f0534 Incorrect Constant Closes #2477. 2013-02-20 17:55:13 +00:00
Mike Jolley 807ec3a106 Prepend constants, renamed functions, split messages from errors. #2456 2013-02-18 12:29:10 +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 7a84ddd6c1 Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist 2013-02-10 23:02:52 +00:00
Mike Jolley fdfa0d6efb QTY Closes #2280. 2013-01-28 11:42:03 +00:00
Mike Jolley b211894d3c Get cart from ajax or local storage to prevent cache 2013-01-28 10:59:24 +00:00
Mike Jolley 0c523d30b1 @coenjacobs See this. Custom ajax handler and cart refresh per page load to get around cache issues. Custom handler foes *feel* a little wrong but since it doesn't load admin, it loads 100% faster. 2013-01-27 18:55:30 +00:00
Mike Jolley a3e5748369 Add to cart json #2268 2013-01-22 16:33:33 +00:00
Frank Martin f1a3957f4c Remove random var_dump(), add filter for ajax customer details load 2013-01-22 13:06:51 +00:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Geert De Deckere 5da944af3c Use correct Content-Type header for JSON output 2013-01-16 16:00:11 +01:00
Geert De Deckere e122c78cab A few more CSS class updates #2086 2013-01-03 13:21:26 +01:00
Mike Jolley c8852bcf40 Revised, roduct gallery panel, images stored in meta = more flexibility. 2012-12-20 01:13:06 +00:00
Mike Jolley f972501dfa get_post_meta instead of get_post_custom - cut out the middleman. #1765 2012-12-19 21:01:15 +00:00
Mike Jolley 01ff7b1083 Fix save attributes for custom attributes. Closes #2002. 2012-12-18 07:08:16 +00:00
Mike Jolley 0f0512c8fd rounding filters. Closes #1964. 2012-12-13 01:23:35 +00:00
Mike Jolley 988269534a removed refunds 2012-12-12 18:03:46 +00:00
Mike Jolley fd8e15bbea Work on refunds admin. #1755 2012-12-12 15:32:51 +00:00
Mike Jolley c273da1aff Customer note + email on refund action. #1755. 2012-12-12 13:57:15 +00:00
Mike Jolley 81290a9ceb wp_kses_post #1109 2012-12-11 17:10:35 +00:00
Coen Jacobs 084a247a20 Backend views for refunds #1755 2012-12-11 14:56:30 +01:00
Mike Jolley bfcb3ec1e9 Load options in checkout class and ensure hooks are available to change the options. Closes #1950. 2012-12-10 12:34:59 +00:00
Mike Jolley be40e982b6 Small fix for previous commit, for adding rows. 2012-12-06 19:54:11 +00:00
Mike Jolley e3698f99ed Rounding fixes, and link tax rows to tax rates by ID.
Also closes #1869 as it allows us to use 'codes' for tax rates instead
of their label. E.g. code US-AL-Tax-1. This lets users filter taxes in
reports easier.
2012-12-06 19:49:04 +00:00
Mike Jolley 0da50add7b Fix link variations on new posts. Closes #1925. 2012-12-05 17:57:53 +00:00