Commit Graph

239 Commits

Author SHA1 Message Date
Mike Jolley dc0cd1fafe Rupee Closes #3529 2013-08-06 11:54:45 +01:00
Mike Jolley 9383deb9b2 is_woocommerce should be true for all product taxonomies 2013-08-05 16:34:54 +01:00
Mike Jolley 12a7f7d305 CNY 2013-08-05 12:27:30 +01:00
Mike Jolley 9f1c14c682 Tidied comment styling and only show stars if set Closes #2906. 2013-07-31 09:44:28 +01:00
JustinSainton c88b80554e Remove extraneous $wpdb globalization
There were a handful of functions containing legacy $wpdb globals.  These can be safely removed.
2013-07-25 21:59:25 -07:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley f711d50b91 Prevent conflict with joins Closes #3437, and hide order notes from comments section entirely. 2013-07-22 18:33:35 +01:00
Mike Jolley 859558fd3b isset for vars which are not always present. Closes #3494 2013-07-19 15:02:36 +01:00
Mike Jolley a3a7736056 Reduce the number of joins needed in customer bought query. Closes #3368. 2013-07-19 13:03:45 +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 cbd7dbee64 add filters to downloadable file permission function 2013-07-16 13:38:42 +01:00
jprieton 18f86a910d Update proposal hint on documentation of function get_product() 2013-07-01 17:15:42 -04:30
jprieton 6acf17caf5 Hint on documentation of function get_product()
The hint actual says that return void, changed to WC_Product_Simple because $woocommerce->product_factory->get_product() returns WC_Product_Simple, this change is useful for IDEs autocomplete hints
2013-06-28 11:43:36 -04:30
Mike Jolley f8f3f8a660 Fix sale expiration for variations. Closes #3321.
@coenjacobs might be useful for .13
2013-06-28 09:58:07 +01:00
Mike Jolley d3de355cf5 Is checkout pay page function 2013-06-17 12:21:24 +01:00
Mike Jolley 4397b00c4a classes -> includes (for includes) 2013-06-11 14:28:45 +01:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Mike Jolley b50ddaa47f Keep counts synced 2013-06-05 16:32:50 +01:00
Mike Jolley b7d1b2d66e Link orders from admin (customers page) Closes #3248.
This function can also be hooked into registration if it needs to be
automated.
2013-06-05 16:04:09 +01:00
Coen Jacobs 74fcf1a1d4 Abstracted attribute helper to class #3282 2013-06-05 16:14:25 +02:00
Coen Jacobs 64c75547f3 Abstracted transient helper to class #3282 2013-06-05 13:39:27 +02:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley cde4947acf Remember which attributes get registered and added taxonomy_is_product_attribute() function
Closes #3149.
2013-06-03 11:04:21 +01:00
Mike Jolley e4f4b09ba6 Pay page and thanks page endpoints. Requires permalink save. Closes #3170. 2013-05-31 16:13:18 +01:00
Mike Jolley da0896646b Move include to the function where used. Closes #3219 2013-05-22 12:53:18 +01:00
Coen Jacobs 9a946a2f6a Merge branch 'refs/heads/release-2-0-10'
Conflicts:
	admin/post-types/product.php
	classes/gateways/paypal/class-wc-gateway-paypal.php
	readme.txt
	woocommerce-core-functions.php
	woocommerce.php

Signed-off-by: Coen Jacobs <coenjacobs@gmail.com>
2013-05-15 12:50:52 +02:00
Coen Jacobs c000afbe86 Failsafe for when get_the_terms() returns false
As committed on master branch:
- 7d9d1ee2f0
2013-05-12 20:08:09 +02:00
Coen Jacobs 7d9d1ee2f0 Failsafe for when get_the_terms() returns false. Closes #3147
Thanks @arminrosu!
2013-05-12 20:06:29 +02:00
Coen Jacobs b2c6b9050f RUB currency symbol fixes
As done on master branch:
- 683d54f957
- 1671b1d713
2013-05-06 12:13:07 +02:00
Almaz Mannanov 1671b1d713 +* Localization - Added a point to the symbol of the Russian currency 2013-05-03 21:28:26 +06: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
Mike Jolley 130a8074f9 ruble Closes #3072. 2013-05-02 12:10:23 +01:00
Mike Jolley 28696d1c35 woocommerce_before_delete_order_item Closes #3041 2013-04-29 15:35:12 +01:00
Mike Jolley 1b8a362a22 is_product_taxonomy 2013-04-29 14:46:42 +01:00
Steven Mathias 7c4943fad1 Patched the "woocommerce_downloadable_product_permissions" function to avoid fatal error if return value for get_product_from_item is false. 2013-04-24 12:19:44 -06:00
Mike Jolley 3b3d507a6d Clear ratings when changing status. Closes #3005. 2013-04-23 12:53:42 +01:00
Mike Jolley 14126a6188 Fallback for #2992
Closes #2992.
2013-04-23 12:29:40 +01: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 47143bcffb moved woocommerce_get_filename_from_url to core-functions as it is required in admin too. Closes #2949 2013-04-15 12:09:20 +01:00
Mike Jolley 98f6dde734 Order by +0 not signed. Closes #2922. 2013-04-10 13:30:34 +01:00
Mike Jolley 9031c7603f Sanitize taxonomy names. Closes #2844. 2013-04-08 21:11:55 +01:00
Kathy Darling bb35a00620 pass $args to woocommerce_before_template_part action 2013-04-08 17:32:57 +02:00
Brent Shepherd 854a9eccad Update phpdoc 2013-03-27 18:06:59 +10:00
Brent Shepherd 9431f82a24 Deprecate woocommerce_get_formatted_product_name()
For #2788
2013-03-27 18:00:40 +10:00
Mike Jolley d14fb5fdc1 Cancel based on post_modified, so that checkout (when resuming an order) prevents them being cancelled. Closes #2814. 2013-03-26 12:41:45 +00:00
kexplo 8231ee664e Add South Korean Won ( KRW, ₩ ) currency 2013-03-26 17:13:21 +09:00
Mike Jolley 9c2a7afe8a Held duration must be > 0. Closes #2766. 2013-03-22 20:36:36 +00:00