Commit Graph

4415 Commits

Author SHA1 Message Date
Mike Jolley eb1469a2ab min 2013-01-29 12:37:09 +00:00
Mike Jolley 91180d4c03 Fix sale query Closes #2308. 2013-01-29 12:36:55 +00:00
Alex Bishop 2379a3a1bb Updated everything so it actually works rather than fails hard
I messed up badly on the original with inheritance of variables, and
after a lot of issues realised that strict matching was necessary due
to the '0' string in woocommerce_get_products_on_sale()

Not hard to tell I am new to php.

Regardless this now functions as intended, stopping discount from being
applied to products with active sale prices or carts with items on sale
inside them.
2013-01-29 22:55:03 +10:30
Alex Bishop 0818bb055e ditto 2013-01-29 14:06:08 +10:30
Alex Bishop 4c1f80b23d idiotic missed semicolon
I cannot brain today, I has the dumb.
2013-01-29 14:04:31 +10:30
Alex Bishop b763c7449a Added 'Exclude Sale Products' option to coupons
Added exclude sale products functionality based of the 'exclude product
ids' functionality in wc-coupon/wc-cart.

Compares product ID's in cart vs ID's in the array
'woocommerce_get_product_ids_on_sale'
2013-01-29 13:54:54 +10:30
James Koster 4119f00b0c links to other free themes in readme 2013-01-28 15:22:01 +00:00
James Koster 8469819fb8 retina'd validation icons on checkout 2013-01-28 14:31:12 +00:00
Mike Jolley d6c96f21e3 Merge pull request #2301 from GeertDD/checkoutjs
Small optimisation for postcode/city field reordering
2013-01-28 06:00:38 -08:00
Geert De Deckere 891d8f9bdb Small optimisation for postcode/city field reordering 2013-01-28 14:28:32 +01:00
Mike Jolley 484f1e4192 Restore fields after postcode before city. Closes #2293. 2013-01-28 12:28:27 +00:00
Mike Jolley c21ca1a68c fragment tweak 2013-01-28 12:02:21 +00:00
Mike Jolley fdfa0d6efb QTY Closes #2280. 2013-01-28 11:42:03 +00:00
Mike Jolley c51613910b Fix bulk edit. Closes #2283. 2013-01-28 11:18:14 +00:00
Mike Jolley 0226e41ca3 Merge pull request #2297 from kloon/master
Change on sale meta query from NUMERIC to DECIMAL
2013-01-28 03:01:47 -08:00
Mike Jolley 79eec982d1 Merge pull request #2298 from sbrajesh/master
Allow reusing virtual/downlodable option
2013-01-28 03:01:28 -08:00
Mike Jolley b211894d3c Get cart from ajax or local storage to prevent cache 2013-01-28 10:59:24 +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 10c8e8d501 Merge pull request #2282 from thenbrent/js_fixes
Fix delete tax row for dynamically inserted tax rows
2013-01-27 11:02:41 -08:00
Mike Jolley 59a25af0d9 Merge pull request #2287 from WooCommerceEU/master
nl_NL Admin Po improvement
2013-01-27 11:02:28 -08:00
Mike Jolley cef308b7ab Merge pull request #2290 from GeertDD/post_class_stock
Added class with stock status to product
2013-01-27 11:01:24 -08:00
Mike Jolley 23952237da Merge pull request #2292 from GeertDD/address_fields_filter
Also pass on the country to the address fields filters
2013-01-27 11:01:17 -08:00
Mike Jolley 0c523d30b1 @coenjacobs See this. Custom ajax handler and cart refresh per page load to get around cache issues. Custom handler foes *feel* a little wrong but since it doesn't load admin, it loads 100% faster. 2013-01-27 18:55:30 +00:00
Mike Jolley 4f0d7f55c6 Cleaned up session classes 2013-01-27 18:55:29 +00:00
Mike Jolley 77c1218410 Merge pull request #2291 from GeertDD/be_nl_state_label
In Belgium and the Netherlands we have provinces
2013-01-27 05:37:06 -08:00
Geert De Deckere 4a33b00c15 In Belgium and the Netherlands we have provinces 2013-01-27 12:26:26 +01:00
Geert De Deckere 5233900283 Also pass on the country to the address fields filters 2013-01-27 12:22:06 +01:00
Geert De Deckere e65cf3c904 Added class with stock status to product 2013-01-27 09:31:38 +01:00
Brajesh Singh 410a9d1813 Fix the write-panel.js to show_hide any panel depending on product type 2013-01-27 07:11:38 +05:30
James Koster 2801c963d9 Further optimised pngs using http://pngmini.com/ 2013-01-26 14:06:05 +00:00
Ramon van Belzen f2b5b02b15 nl_NL Admin Po improvement
added a path to refresh within PoEdit, added authors
2013-01-26 10:48:05 +01:00
Brent Shepherd ca6b96e96d Declare var & add missing semicolon 2013-01-25 13:26:16 +10:00
Brent Shepherd 1a9ca48422 Use delegated event handler to delete tax rows
When a tax row is dynamically inserted, it can not be dynamically
deleted until the page is refreshed (becasue the event handler is
bound to only on page load). This commit delegates the event handler
from an element which is guaranteed to exist on page load, so that
dynamically inserted tax rows can also be dynamically deleted.
2013-01-25 13:22:44 +10:00
Coen Jacobs 5c3c54d3ff Merge branch 'master' of https://github.com/woothemes/woocommerce 2013-01-24 16:27:41 +01:00
Coen Jacobs 764d9655e5 Hello WooCommerce 2.0 beta 3! 2013-01-24 16:26:50 +01:00
James Koster d8b11b533a Image optimisation 2013-01-24 15:25:06 +00:00
Mike Jolley f680ec4256 spaces 2013-01-23 20:04:01 +00:00
Mike Jolley 650a6d95ec Merge pull request #2277 from maxrice/patch-2
Use is_readable() for autoloading
2013-01-23 12:03:12 -08:00
Max Rice 8d5d14c060 Use is_readable() for autoloading
instead of file_exists() as is_readable() also checks file permissions
2013-01-23 14:29:23 -05:00
James Koster 802bf78756 attributes (and some more products) added to dummy csv. Fixes #2266 2013-01-23 13:47:02 +00:00
Mike Jolley b19985060c Only save session if needed @coenjacobs 2013-01-23 12:27:19 +00:00
Mike Jolley c3bcc0561c Merge pull request #2264 from krbvroc1/issue_1950
Issue 1950
2013-01-23 03:46:33 -08:00
Mike Jolley eb544b10a7 Same hook for reg. #2270 2013-01-23 11:41:54 +00:00
Coen Jacobs a9154c07a4 Merge pull request #2270 from leewillis77/master
Populate $current_user when users create an account during checkout
2013-01-23 03:39:29 -08:00
Mike Jolley 97817341af Merge pull request #2273 from thenbrent/woocommerce_new_order_item
Fix woocommerce_add_order_item() return value & improve 'woocommerce_new_order_item' params.
2013-01-23 02:55:49 -08: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
Lee Willis 57af52f43d Populate $current_user when users create an account during checkout 2013-01-22 21:30:14 +00:00
Mike Jolley 1cb13fe740 more json fixes #2268 2013-01-22 16:48:28 +00:00
Mike Jolley a3e5748369 Add to cart json #2268 2013-01-22 16:33:33 +00:00