Mike Jolley
87fbb21ff2
Removed Sidebar Login Widget. Use http://wordpress.org/extend/plugins/sidebar-login/ instead. A potential security issue was found regarding logging of passwords (since GET was used instead of POST). Sidebar Login 2.5 resolves this and the widget has been removed from WC to prevent needing to maintain two (virtually identical) codebases.
2013-03-18 15:24:29 +00:00
Mike Jolley
bd8a5dcff4
Include deprecated level terms for WP author panel. Closes #2709 .
2013-03-18 13:58:02 +00:00
Mike Jolley
5698d831ea
Fix quotes Closes #2707 .
2013-03-18 13:04:50 +00:00
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
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
Phill Brown
f84e660c2c
woocommerce_get_product_terms bypasses caching
...
wp_get_object_terms() bypasses the object caching API, which especially hinders the performance of larger shops.
2012-11-06 17:05:22 +00:00
Mike Jolley
09b4c352e3
Tweak caps. Closes #1662 .
2012-11-05 16:50:24 +00:00
Mike Jolley
549880b8eb
New structure for line items (this one uses meta more)
2012-10-23 17:41:42 +01:00
Mike Jolley
99efb9ec1b
woocommerce_customer_bought_product
2012-10-20 15:31:19 +01:00
Mike Jolley
c97aeaf533
use wp api for meta, and done the checkout
2012-10-19 18:59:17 +01:00
Mike Jolley
8c3ad31c07
Localisation spacing.
2012-10-16 10:45:33 +01:00
Mike Jolley
ce14efa676
woocommerce_clean
2012-10-15 20:43:07 +01:00
Coen Jacobs
943091d2ca
[3.1.4] Prevent direct access to files #1575
2012-10-15 12:57:58 +02:00
Mike Jolley
596c408c27
Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771 .
2012-10-14 13:06:41 +01:00
Coen Jacobs
0f9e9ed40e
Fixed notices possible with manual prod_cat counting
2012-10-11 11:46:53 +02:00
Mike Jolley
0b36adaed5
Stop transient death.
2012-10-11 10:22:03 +01:00
Mike Jolley
9505e5d63f
Better permalink settings. Closes #1579 .
2012-10-10 10:21:04 +01:00
Coen Jacobs
e87ea2022b
Manual prod_cat counting to hide hidden products from counters
...
- Uses update_count_callback argument for manual counting function
- Filters on get_terms and updates counters
- Closes #1449
2012-10-09 15:16:36 +02:00
Mike Jolley
0a411c38b9
Fix price trim function. Closes #1485 .
2012-09-30 11:14:54 +01:00
Mike Jolley
66cf7d8e98
More capabilities. Closes #1083 .
2012-09-20 16:35:15 +01:00
Mike Jolley
22ff25efb1
Show totals. Closes #1473 .
2012-09-20 14:43:52 +01:00
Mike Jolley
fdd34e5c0e
session -> transient WIP
2012-09-07 18:26:13 +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
555cd9af60
replaced some date() with i18n. Closes #1428 .
2012-08-25 10:20:56 +01:00
kingbt
e50d3710d5
Update woocommerce-core-functions.php
...
Added Romanian leu.
2012-08-22 15:04:13 +03:00
Mike Jolley
82b6db58d1
missed one
2012-08-21 19:05:03 +01:00
Mike Jolley
03f64acf58
DP for #1383
2012-08-21 19:01:56 +01:00
Mike Jolley
b27c509364
functions documented.
2012-08-14 23:43:54 +01:00
Mike Jolley
5b007d4918
Function docs.
2012-08-14 23:43:53 +01:00
Mike Jolley
e7ca202479
RMB
2012-08-09 11:59:14 +01:00
Mike Jolley
fd8f49bf07
Only show image if placeholder set. #1349 .
2012-08-08 09:58:36 +01:00
Max Rice
1a59f386bc
fix woocommerce_disable_admin_bar
...
previous version left admin-bar.js loading in footer, this completely
removes the admin bar when a customer is logged in.
2012-07-23 14:18:07 -04:00
Mike Jolley
ffb34fdc83
Fix up orders when not in a submenu
2012-07-23 13:56:05 +01:00
Mike Jolley
1be0b9f8f2
Backorder handling. Closes #835 .
2012-07-17 19:11:14 +01:00