Mike Jolley
1a77563085
started on free shipping
2015-12-16 13:52:46 +00:00
Mike Jolley
e25d876779
List and sort methods within zones
2015-12-15 17:48:03 +00:00
Mike Jolley
b47423ff2b
Moved rate calc logic into shipping class
2015-12-15 16:22:32 +00:00
Mike Jolley
a0e0bb1e55
Load instance methods for calculations
2015-12-15 15:00:45 +00:00
Mike Jolley
091a8a7641
Zone matching functions
2015-12-15 12:39:52 +00:00
Mike Jolley
3b81642eec
Instance and global level settings
2015-12-14 16:56:39 +00:00
Mike Jolley
2f97b16a91
Fix notice
2015-12-14 14:05:00 +00:00
Mike Jolley
b27aed5753
Settings api
2015-12-14 14:03:46 +00:00
Mike Jolley
63f8eebd6a
Started on refactoring settings for instances
2015-12-11 16:41:38 +00:00
Mike Jolley
6cea054fca
Method list screen and method screen with breadcrumbs
2015-12-11 14:11:12 +00:00
Mike Jolley
dd2fe6ff49
Make WC_Abstract_Order::update_status() return boolean
...
closes #9777
2015-12-07 10:12:17 +00:00
Shiva Poudel
88d7713a86
Modified checkbox class value from widefat
2015-12-05 05:26:28 +05:45
Shiva Poudel
69d6a25f5e
Refactor to format the value based on widget settings type
2015-12-05 05:25:51 +05:45
Claudio Sanches
d15c711855
Merge branch 'master' of github.com:woothemes/woocommerce
2015-12-04 21:17:47 -02:00
Max Rice
3befe1426f
Introduce WC_Product::get_id() method
2015-12-04 15:17:25 -05:00
Claudio Sanches
92582e21cb
Properly sanitize textarea field for widgets #9762
2015-12-04 17:14:42 -02:00
Shiva Poudel
b3cd28e323
Added textarea widget form field
2015-12-04 21:23:19 +05:45
Mike Jolley
1c364e79e4
Enforce min and max
...
Closes #9761
2015-12-04 14:53:25 +00:00
Patrick Garman
eb3dc97df9
Add filter to WC_Product::is_virtual()
2015-12-03 20:52:27 -05:00
Claudio Sanches
112f3bfc32
Merge pull request #9723 from shivapoudel/widget-field-class
...
Added support for class in each widget fields
2015-12-02 13:40:41 -02:00
Mike Jolley
350078b779
Merge branch 'pr/9708'
2015-12-02 12:42:09 +00:00
Mike Jolley
869dee2726
No need for rating HTML as we have no styling
2015-12-02 11:50:41 +00:00
Mike Jolley
328a84d278
Floatval to get rid of stray decimals
2015-12-02 11:46:51 +00:00
Shiva Poudel
2881587c44
Don't use key as default class
2015-12-02 15:47:57 +05:45
Mike Jolley
2e553cf220
Show order refunds in totals
...
Fixes #9589 @claudiosmweb
2015-11-30 15:25:48 +00:00
Mike Jolley
b5a2c2a9d5
Unify all order email tables to use a single template
...
Closes #9587
@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
Shiva Poudel
532c1f9474
Added support for class in each widget fields
2015-11-30 12:11:29 +05:45
Claudio Sanches
753014da5a
Merge pull request #9631 from woothemes/transient-tweaks
...
Transient tweaks
2015-11-21 22:48:14 -02:00
Illimar Tambek
d91dfb6fe6
Introduce woocommerce_recorded_sales action hook
2015-11-19 18:07:04 +02:00
Claudio Sanches
d931405156
Fixed the type returned when get_stock_quantity() is empty
...
Since expect return an integer value, we can't return an empty string.
This can generate some kinds of errors like:
'' >= 1 returns false
'' >= -1 returns true
This can be a problem comparing stock quantity like we do in
WC_Product::has_enough_stock()
But using null we have:
null >= 1 returns false
null >= -1 returns false
cc @mikejolley
ref #9598
2015-11-14 15:53:36 -02:00
Mike Jolley
b59ec6de76
Move var definition to abstract
2015-11-14 16:39:53 +00:00
Mike Jolley
3a096b3b64
Remove transient from get_total_stock and combine into abstract
...
Grouped and variable methods were identical. Caching benefit comes from
get_children
2015-11-14 16:34:47 +00:00
Mike Jolley
851fc2a442
Use get_cache_prefix in orders class
2015-11-13 23:11:05 +00:00
Mike Jolley
3082c5bba6
wc_related_ and get_related method tweaks
...
Remove use of multiple expiring transients. See function docblock for
explanation.
2015-11-13 21:14:42 +00:00
Mike Jolley
3ceed757bd
Store rating and reviews in postmeta rather than transients
...
These don’t change often, and as long as we listen for comment count
update events will be kept in sync.
2015-11-13 20:41:20 +00:00
Shiva Poudel
d31859ab6c
Remove unused variable declaration
2015-11-10 16:53:45 +05:45
Mike Jolley
4e5baf23aa
Cache get_item_meta_array for better performance
...
Closes #8810 @claudiosmweb
2015-11-05 15:21:28 +00:00
Shiva Poudel
d9e8057df3
Tweak the dockblocks and periodic-ending fix
2015-11-04 00:05:08 +05:45
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Mike Jolley
aec0e0e327
supports() method which mirrors gateways
...
Closes #9471
2015-11-02 11:23:50 +00:00
Kathy Darling
856d192bff
Use generic `ajax_add_to_cart` class for adding items in the loop to the cart via ajax.
2015-10-30 12:54:49 -05:00
Mike Jolley
5b6e16682c
Handle partial/full refund for orders containing free items
...
Also adds helper method to determine if such as free item exists or
not. Closes #9460
2015-10-29 15:34:33 +00:00
Ari-Pekka Koponen
11ab216993
WC_Product __get should check for False instead of empty
2015-10-28 12:45:54 +02:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Mike Jolley
4dbfe1551c
Settings API - don't save title fields
...
Closes #9401
2015-10-22 11:27:39 +01:00
Mike Jolley
dda0f0c2bd
Check for existence of global attribute when you get_attributes() for a product
...
Fixes #9141
2015-10-08 13:55:01 +01:00
Mike Jolley
1ec3cb0ef6
[2.4] Default value should not apply if value of option is 0
...
Fixes #9270 @claudiosmweb
2015-10-05 15:07:46 +01:00
Mike Jolley
42d90594af
Fix password with & saving
...
@claudiosmweb
2015-10-05 14:09:11 +01:00