Commit Graph

50 Commits

Author SHA1 Message Date
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
Mike Jolley f5f01c497e Changes for API Docs 2013-02-20 17:14:51 +00:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Mike Jolley 5c878f62b3 Variations should not inherit prices, and variations with no price set should be hidden. Closes #2232.
Also improves price display for empty/free variations.
2013-01-16 12:10:51 +00:00
Mike Jolley 8d8b3e3d30 get_post_data from 1.6 2013-01-11 18:30:09 +00:00
Mike Jolley d89b2aa66f Set_stock for product class Closes #2042. 2012-12-28 09:59:20 +00:00
Mike Jolley c7fd3e85a6 More class cleanup 2012-12-20 11:54:38 +00:00
Mike Jolley 41f573a71f Magic methods, avoid loading all meta on construct 2012-12-19 23:04:25 +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
Warren Holmes 6b7205a417 Correct scope, remove use of var.
- class-wc-product-variation.php
2012-12-14 23:54:13 +02:00
Mike Jolley a8fba0cf04 Tweaked installer and added new cron for scheduled sales. Closes #1971. 2012-12-12 12:52:39 +00:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley 3c66ddae42 Class tweaks, need more testing. Closes #1874. 2012-11-29 16:48:40 +00:00
Mike Jolley a8a1af4ba3 Fix double tip Closes #1856. 2012-11-28 18:02:12 +00:00
Mike Jolley fb06bde939 recount after stock change 2012-11-28 15:40:08 +00:00
Mike Jolley bd9cee8eaa Merge pull request #1854 from Geczy/fix-nonobject-variation
Fix when instantiating WC_Product_Variation when it isn't a variation
2012-11-27 08:25:17 -08:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Matt ad3a7bef8e Fix when instantiating WC_Product_Variation when it isn't a variation 2012-11-27 11:16:17 -05:00
Mike Jolley 0361a2f0cb Settings API tweaks.
Uses same names as the settings API for gateways which Closes #1848.
Allows a single level of array based IDs for options which Closes #1826.
Related to #1826 this is now used for image size settings.
2012-11-27 15:39:32 +00:00
Mike Jolley ddbfd2bd28 Factory tweak 2012-11-26 13:39:12 +00:00
Mike Jolley 64b3af1ffc Fix notices 2012-11-22 14:59:04 +00: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 b2a868301c Simplified version of Product Factory using an args array 2012-11-22 12:37:41 +01: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
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Coen Jacobs 9769b8851f [3.2.4] Sanitization #1575 2012-10-18 12:33:52 +02:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley 2d15a8aaac Schedule sale for variations. #1064. 2012-10-08 12:51:00 +01:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 91430543bd More docs 2012-08-14 23:43:54 +01:00
Mike Jolley 07b6b6d59a More class docs 2012-08-14 23:43:54 +01:00
Mike Jolley d5163c5638 Made variation get_image() return instead of echo. Closes #1368. 2012-08-12 12:41:26 +01:00
Mike Jolley 6d5b9991d3 version bump 2012-08-10 14:21:10 +01:00
Justin Stern bdf5833531 Fix Downloadable Product Variation Link
Fix the downloadable product variation linking, which was broken in WC
1.6.2 due to the introduction of the has_file() method at the WC_Product
class, with an implementation that does not function properly for the
child WC_Product_Variation
2012-08-09 18:41:59 -04:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Mike Jolley 2d8981c0fb Out of stock tweaks. #1191. 2012-06-29 20:40:18 +01:00
Mike Jolley f2f847ad5b Tweaks to #1180. And get_image confusion resolved (it shouldn't echo) 2012-06-29 18:56:42 +01:00
Mike Jolley 57bf97230d Fix get shipping class id 2012-06-26 13:17:08 +01:00
Mike Jolley 392571aab0 exists function 2012-04-20 11:17:40 +01:00
Mike Jolley afd727bb24 Improved variations panel, bulk edit, and added tax classes for variations. Closes #779. 2012-04-11 18:56:54 +01:00
Mike Jolley 12f296f943 Code tweaks + small changes to inventory panel 2012-03-21 18:37:57 +00:00
Mike Jolley 4fe459ddc5 force variations visible 2012-03-20 17:30:02 +00:00
Mike Jolley ed9d57d04a stock title 2012-03-07 13:38:51 +00:00
Mike Jolley 6085ae4377 Tweaks and fixes to sale logic + sync function #703 2012-02-26 14:11:56 +00:00
Mike Jolley fdb1359d19 Function for getting placeholder.png - woocommerce_placeholder_img_src() with filter woocommerce_placeholder_img_src 2012-02-24 16:23:08 +00:00
Mike Jolley 4a638b962c SKU tweakage 2012-02-13 00:34:09 +00:00
Mike Jolley 473a112c66 Fix for variation shipping class detection 2012-02-10 12:16:21 +00:00
Mike Jolley a562132458 Shipping classes for variations. Closes #553. 2012-02-08 14:39:31 +00:00
Mike Jolley 0836ce04db Better class names (final) 2012-01-27 16:38:39 +00:00