Commit Graph

185 Commits

Author SHA1 Message Date
Mike Jolley 5be66693d4 Rupees 2013-03-12 08:40:32 +00:00
Mike Jolley afc6a55a45 Leave meta case alone 2013-03-10 13:39:00 +00:00
Mike Jolley 42fc9193ac woocommerce_cancel_unpaid_orders respects the manage stock setting. 2013-03-08 10:45:29 +00:00
Max Rice 97ae238ffb Add filter to control automatic cancel of unpaid order 2013-03-06 18:30:26 -05:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Brent Shepherd 9cba9551e2 Fix woocommerce_cancel_unpaid_orders()
Cancel orders placed more than an hour in the past, not orders
placed between now & 1 hour in the future.
2013-02-14 15:20:46 +10:00
Mike Jolley 29eb289c3b Tweak messages #2430 2013-02-12 11:49:26 +00:00
Geert De Deckere a81e915eeb API comments for v2.0 2013-02-08 16:36:34 +01:00
Mike Jolley 8b5c9465d4 Append codes from get_woocommerce_currency_symbol to option names instead of defining them in the strings. 2013-02-02 17:24:34 +00:00
Mike Jolley af108213a1 Rupiah Closes #2339. 2013-02-02 16:04:13 +00:00
Mike Jolley af599fdbc4 Fix for previous commit 2013-02-01 14:53:23 +00:00
Mike Jolley 569b31b973 get_woocommerce_price_format filter Closes #2322 2013-02-01 14:44:28 +00:00
Mike Jolley 91180d4c03 Fix sale query Closes #2308. 2013-01-29 12:36:55 +00:00
Gerhard 85aba3620b Change meta query type for on sale products to DECIMAL to match on 0.xx prices as NUMERIC only matches sale prices >= 1 2013-01-28 08:21:50 +02:00
Mike Jolley f680ec4256 spaces 2013-01-23 20:04:01 +00:00
Brent Shepherd eda7961bfa Pass more arguments to woocommerce_new_order_item 2013-01-23 16:23:54 +10:00
Brent Shepherd e7a0324b7c Fix item ID returned woocommerce_add_order_item()
If a plugin hooks to 'woocommerce_new_order_item' and run some sort of $wpdb insert
query or uses a function which runs an insert query, like woocommerce_add_order_item_meta(),
then the item ID returned by woocommerce_add_order_item() will actually be the ID of a
different DB entry (becasue woocommerce_add_order_item() returns $wpdb->insert_id). This
commit fixes that.
2013-01-23 16:20:44 +10:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
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