Commit Graph

181 Commits

Author SHA1 Message Date
James Koster 1fbb6249ff Replaced → / ← on frontend with icons from our font. closes #4009 2013-10-28 09:45:59 +00:00
Mike Jolley c7429357c7 Fix notices and rounding issues in orders 2013-10-25 20:02:21 +01:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 19c3ab7172 calc_tax functions 2013-10-24 16:16:39 +01:00
Mike Jolley 0d8d95e8e6 total calcs 2013-10-24 13:41:42 +01:00
Mike Jolley 24a3e3e17b Format decimals with single function, convert locale to standard form. #3862 2013-10-01 17:54:32 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Mike Jolley 9590a03e2f Fix tax rule detection. Closes #3698.
@coenjacobs .15
2013-09-13 16:34:41 +01:00
Illimar Tambek f138007f1a Add product download access grant/revoke hooks. 2013-09-10 14:26:31 +03:00
Coen Jacobs 9ba80fb34b Check for strlen to allow 0 values in attributes. Closes #3675
Conflicts:
	admin/post-types/writepanels/writepanel-product_data.php
2013-08-26 12:24:25 +02:00
Mike Jolley 410f047d17 #3639 2013-08-17 01:40:54 +01:00
Mike Jolley a66472d148 Order panel improvements + save multiple shipping methods 2013-08-16 16:43:26 +01:00
Mike Jolley 7cd4e46846 Cleaner orders items, and show meta in text until editing.
@coenjacobs this commit has the urldecode fix. Will move it over to
master/.14 later
2013-08-15 16:49:09 +01:00
Mike Jolley e01df544ec Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
@todo store shipping methods in the order
@todo test with PP shipping real world

cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley aed9a0aceb Search first and last names Closes #3536 2013-08-13 14:38:58 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
Mike Jolley f09fafe738 Meta box refactor
Closes #3458.
2013-08-06 11:41:20 +01:00
Mike Jolley 34624fa4ca Rather than check if cart has contents, standardize cart hash adn cookie so its refreshed once. Closes #3505.
@coenjacobs for .14
2013-07-30 15:23:08 +01:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00
Mike Jolley d0761e726e Add primary key for download permissions + upgrade script. Makes working with individual rows easier. #2765 2013-07-16 14:40:07 +01:00
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