Commit Graph

3555 Commits

Author SHA1 Message Date
Coen Jacobs 930a36e90c Filter to provide icon to COD. Closes #1831 2012-11-26 12:48:19 +01:00
Coen Jacobs 71459fe75c __x should be _x. Closes #1820
Thanks @a1ur3l, you were right!
2012-11-26 12:18:33 +01:00
Coen Jacobs 4d95abe8be Merge pull request #1823 from lkraav/master
form-pay.php: add missing standard classes for .shop_table {th,td}
2012-11-26 03:12:52 -08:00
Coen Jacobs 2a45d82de9 Typo in spanish translation file, closes #1811 2012-11-26 12:12:12 +01:00
Coen Jacobs 3f5a4fbe9e Do not use wpdb->prepare without param arg. Closes #1717
Starting WordPress 3.5, wpdb->prepare should always have a second param
to discourage improper use:
https://core.trac.wordpress.org/changeset/22429 props @spencerfinnell
2012-11-26 11:03:47 +01:00
Leho Kraav f6e11bdb09 add missing standard classes for .shop_table td 2012-11-24 21:50:25 +02:00
Leho Kraav eeff8ce1cf add missing standard classes for .shop_table th
this probably needs further work to also add respective classes to td's
2012-11-24 21:36:16 +02:00
Coen Jacobs fccbb18fb4 Check for empty terms array before current(). Closes #1807 2012-11-23 13:39:01 +01:00
Mike Jolley 64b3af1ffc Fix notices 2012-11-22 14:59:04 +00:00
Coen Jacobs 554c73f05b Fixed missing $args attribute in class construction 2012-11-22 15:13:34 +01:00
Mike Jolley e95509adff Merge pull request #1803 from andreibarabas/update-shareyourcart
Apply coupons only for shared products
2012-11-22 06:10:23 -08:00
Andrei Barabas fb4dd68a4b v1.9.6 apply coupons only for the woocommerce product that has been shared 2012-11-22 16:04:29 +02:00
Coen Jacobs 13f6ec9b29 Moved WC_Abstract to abstracts folder 2012-11-22 15:04:15 +01:00
Mike Jolley 93fdca8530 Fix those darn categoies. Closes #1800. 2012-11-22 13:46:05 +00:00
Coen Jacobs ad71e7cd9d Merge pull request #1802 from woothemes/Product-Classes
IMPORTANT MERGE: Product classes (read notes!)
See notes: #1802
2012-11-22 05:33:52 -08:00
Mike Jolley f8a26a2426 Improved product data panels. 2012-11-22 13:28:32 +00:00
Andrei Barabas f32b01fdf7 Merge branch 'update-shareyourcart' of https://github.com/andreibarabas/woocommerce into update-shareyourcart 2012-11-22 15:27:15 +02:00
andreibarabas 04d4101e68 Merge pull request #1 from woothemes/master
update fork
2012-11-22 05:26:04 -08:00
Coen Jacobs 6ba6e410e5 Moved Product Factory class instance to WC global instance 2012-11-22 14:00:25 +01:00
Coen Jacobs 85f55e5ee8 Set the product type to 'variation' if post type is like that
Because variation post types do not have a product type
2012-11-22 13:56:52 +01:00
Andrei Barabas a5908571ad remove sprintf as it seems there is a conflict between Gettext and sprintf 2012-11-22 14:08:09 +02:00
Coen Jacobs afc0add816 Default to the arguments array as second param for get_product() 2012-11-22 12:48:16 +01:00
Coen Jacobs 098e2d5d4d Reinstated post_type to be used as a class parameter 2012-11-22 12:40:42 +01:00
Coen Jacobs b2a868301c Simplified version of Product Factory using an args array 2012-11-22 12:37:41 +01:00
James Koster b91806b6c8 in some countries accepting the terms isn't enough. 2012-11-22 11:29:33 +00:00
Coen Jacobs 93cddbaa16 Abstract main product class, added simple product class 2012-11-22 11:22:18 +01:00
Mike Jolley 5d4277df03 nb Closes #1799. 2012-11-21 19:51:06 +00:00
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +00:00
Mike Jolley 841624a0b2 Ensure child_ids (transient) is cleared on delete. Closes #1786. 2012-11-21 18:26:42 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs cb4f34a177 Introducing woocommerce_date_format() to properly do #1791 2012-11-21 13:28:16 +01:00
Coen Jacobs 3734f7addc Changed rest of #1791 translatable strings to date_format 2012-11-21 12:16:17 +01:00
Coen Jacobs 9345985666 Merge pull request #1791 from jorijnsmit/patch-1
replaced hard coded date format with get_option('date_format')
2012-11-21 03:10:32 -08:00
Mike Jolley 4c0f805edf More input types and settings API support. Closes #1322. 2012-11-20 17:32:50 +00:00
Mike Jolley 3a803b010a Other writepanel html5 inputs. #1322. 2012-11-20 16:49:05 +00:00
Mike Jolley f52821ba2c Coupon panel validation. #1322. 2012-11-20 14:25:27 +00:00
Mike Jolley 7d960e0c9d HTML5 validation for product data. #1322 2012-11-20 14:16:13 +00:00
Mike Jolley 8b7b297b8e 3.5 checks + 2012 tweaks. Closes #1788. 2012-11-20 13:03:45 +00:00
jorijnsmit 29f8d1bee7 Update templates/emails/admin-new-order.php
Instead of the hard coded date format the date format from the admin panel is now used with get_option('date_format').

A more uniform and neater solution then via codestyling localization to my idea, I don't know how to replace all date related functions in the project in this way though...
2012-11-19 22:04:37 +01:00
jorijnsmit 02261e975c Update templates/single-product/review.php
Replaced hard coded date format with get_option('date_format') so that date format from admin panel is used instead.

(woohoo, my first Github contribution :-))
2012-11-19 21:43:11 +01:00
Mike Jolley b226b38c0c custom_attributes option added to woocommerce_form_field args. Pass name/value pairs. Closes #1764. 2012-11-19 15:05:23 +00:00
Mike Jolley ad78c3ccc0 Flat rate shipping - if no rules match, and no default is set, don't return a rate. Closes #1695. 2012-11-19 14:48:44 +00:00
Coen Jacobs 22afc34052 Reverted changes for manual category count. Ref: #1789 2012-11-19 15:39:27 +01:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Mike Jolley 7d017ca25c Merge pull request #1777 from andreibarabas/update-shareyourcart
increment the version to 1.9.5
2012-11-16 10:13:53 -08:00
Mike Jolley 5d91e9ad42 Shareyourcart tweaks. Closes #1774. 2012-11-16 18:13:23 +00:00
Andrei Barabas e9d3772484 increment the version to 1.9.5 2012-11-16 16:02:13 +02:00
Mike Jolley ffed61e35e Merge pull request #1774 from andreibarabas/master
Update ShareYourCart Integration
2012-11-16 05:54:14 -08:00
Mike Jolley 470e1c3ab6 readme 2012-11-16 13:53:23 +00:00
Mike Jolley 9191363986 Merge pull request #1769 from leewillis77/master
Implement is_order_received_page()
2012-11-16 05:52:43 -08:00