Commit Graph

167 Commits

Author SHA1 Message Date
Geert De Deckere e806d4c193 Created the `woocommerce_get_product_ids_on_sale()` function 2013-01-16 20:04:01 +01:00
Coen Jacobs a0b3120438 Session cleanup should be part of implementation 2013-01-16 10:53:08 +01:00
Mike Jolley 9da6eb690a Revised session handler based with some code from Eric Manns wp_session class idea.
The (long term) plan will be to use that when stable and in WP core.
Until then, our wc_session_ implementation will work.

This is similar to what we had, with the exeption of not using
transients to ensure the data persists.

@coenjacobs please view this.
2013-01-15 19:51:19 +00:00
Mike Jolley d37eefff6d removed easter egg 2013-01-15 11:49:40 +00:00
Mike Jolley 24ae660405 fix session expirey and clear old expired sessions 2013-01-15 11:37:20 +00:00
Mike Jolley 815990f329 Fix category order + nesting Closes #2226. 2013-01-14 11:56:54 +00:00
Ken Bass 449a5fa9ec Add isset check for sizes 2013-01-11 10:01:48 -05:00
Geert De Deckere 86abb2a7c8 Spelling fix for "visibilty" 2013-01-04 16:30:31 +01:00
Mike Jolley 6821abc549 Store counts in a transient. Closes #2100. 2013-01-02 12:12:44 +00:00
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Mike Jolley 8c9966145b Removed some unused code, removed order tracking from installer. #1765 2012-12-30 15:51:37 +00:00
Mike Jolley 2567e33f1e Clear transients on cron #1971 2012-12-28 18:49:08 +00:00
Mike Jolley da978d7431 Is account page tweak Closes #2050. 2012-12-27 18:43:26 +00:00
Mike Jolley 3d6c61d4ac Merge pull request #2065 from GeertDD/woocommerce_change_term_counts
Optimization for woocommerce_change_term_counts()
2012-12-27 10:23:02 -08:00
Geert De Deckere e8f88eafe8 Coding standards matter 2012-12-27 15:18:10 +01:00
Geert De Deckere 8205357828 Optimization for woocommerce_change_term_counts() 2012-12-27 10:29:53 +01:00
Ken Bass 8debb1697c Fix reset password URL to work with non-pretty permalinks
Fix security issue where new password is being changed on non-SSL page.
2012-12-25 00:19:33 -05:00
Mike Jolley 1141714ecf Respect show count setting. Closes #2034. 2012-12-23 12:35:49 +00:00
Mike Jolley 3af3f42a5b Readme for #2032 2012-12-23 11:36:05 +00:00
Mike Jolley e0a67b3387 rounding fixes for #2020 2012-12-20 15:10:27 +00:00
Mike Jolley 6bb5ec424e placeholder images for hidden/secure files 2012-12-20 12:35:36 +00:00
Warren Holmes ec8b756940 - Make sure product has categories/tags when changing stock status. 2012-12-17 22:30:54 +02:00
Warren Holmes 6d00768a15 Revert "Check categories and tags are available on a product before doing count updates."
This reverts commit 98525111f3.
2012-12-17 14:53:03 +02:00
Warren Holmes 98525111f3 Check categories and tags are available on a product before doing count updates. 2012-12-17 14:39:27 +02:00
Mike Jolley 3af034755b Put holds on stock until orders are cancelled. Closes #1977. 2012-12-12 21:14:19 +00:00
Mike Jolley a8fba0cf04 Tweaked installer and added new cron for scheduled sales. Closes #1971. 2012-12-12 12:52:39 +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 e07dd0099c #ocd #1923 2012-12-05 16:28:59 +00:00
Matt c37f99d5da Fix 'Invalid argument supplied for foreach()' when no file for download 2012-12-05 11:26:03 -05:00
Mike Jolley bcc91f586d Use different sanitize functions for attribute names. Closes #1897. 2012-12-05 15:01:29 +00:00
Mike Jolley 3c66ddae42 Class tweaks, need more testing. Closes #1874. 2012-11-29 16:48:40 +00:00
Mike Jolley 37de4f62cb Possible fix for #1882. 2012-11-29 12:50:02 +00:00
Mike Jolley c2dfb2fd74 Use meta for order count. Closes #1810. 2012-11-28 20:24:01 +00:00
Mike Jolley 8ae8fea2e8 clean last commit 2012-11-28 15:45:05 +00:00
Mike Jolley fb06bde939 recount after stock change 2012-11-28 15:40:08 +00:00
Mike Jolley 2b5e867380 Debug option to recount terms. 2012-11-28 15:23:13 +00:00
Mike Jolley 9d853e0c02 Product counts. #1789 2012-11-28 15:03:26 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00: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
Coen Jacobs 6ba6e410e5 Moved Product Factory class instance to WC global instance 2012-11-22 14:00:25 +01: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
Coen Jacobs 93cddbaa16 Abstract main product class, added simple product class 2012-11-22 11:22:18 +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
Coen Jacobs cb4f34a177 Introducing woocommerce_date_format() to properly do #1791 2012-11-21 13:28:16 +01: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
Lee Willis 999d7e0bc9 Implement is_order_received_page 2012-11-15 20:12:51 +00:00
Mike Jolley 68418d3c2b Fix ordering. Closes #1763. 2012-11-15 15:32:58 +00:00
Mike Jolley 764b34a938 Case insensitive coupons. Closes #1633. 2012-11-08 16:57:59 +00:00