Commit Graph

1365 Commits

Author SHA1 Message Date
Kathy Darling 3bc521db0d add a class to the variable pricing table row 2013-06-20 10:05:41 -05:00
Mike Jolley 0204ff231a Tab filters. Closes #2786. 2013-06-14 15:54:29 +01:00
Todd Lahman e7738184a0 Fix for Undefined index: _regular_price, _sale_price, _tax_status, _tax_class, _visibility, _purchase_note
Undefined index appears for: _regular_price, _sale_price, _tax_status,
_tax_class, _visibility, _purchase_note, when fields are empty, for
example.

Notice: Undefined index: _tax_class in
woocommerce\admin\post-types\writepanels\writepanel-product_data.php on
line 678
2013-06-11 15:07:44 -07:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 4397b00c4a classes -> includes (for includes) 2013-06-11 14:28:45 +01:00
Mike Jolley c9e3951ac5 Enable setting autoload modification Closes #3195. 2013-06-11 11:27:56 +01:00
Coen Jacobs ef2edd5de7 Merge pull request #3288 from woothemes/core-class-refactor
Further core class refactor
2013-06-11 02:48:55 -07:00
Mike Jolley 6da599156e Merge pull request #3298 from maxrice/master
Add actions for attribute create/update/delete
2013-06-10 08:47:40 -07:00
Mike Jolley 7572d13455 Save button/link for external products if 'empty' 2013-06-08 15:01:42 +01:00
Max Rice 7f6a52ce08 Include old attribute name in `woocommerce_attribute_updated` action 2013-06-07 13:26:51 -04:00
Max Rice 67de46b1ed Add actions for attribute create/update/delete 2013-06-07 13:20:00 -04:00
Mike Jolley 356202ce19 Fix 'same as parent' for tax classes.
@coenjacobs .11 I think
2013-06-06 18:13:03 +01:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Mike Jolley 1cdd04821f More debug 2013-06-06 12:30:46 +01:00
Mike Jolley b50ddaa47f Keep counts synced 2013-06-05 16:32:50 +01:00
Mike Jolley b7d1b2d66e Link orders from admin (customers page) Closes #3248.
This function can also be hooked into registration if it needs to be
automated.
2013-06-05 16:04:09 +01:00
Coen Jacobs a43e204a8c Abstracted coupon helper to class #3282 2013-06-05 16:20:56 +02:00
Coen Jacobs 74fcf1a1d4 Abstracted attribute helper to class #3282 2013-06-05 16:14:25 +02:00
Coen Jacobs b3f05bdd66 Abstracted inline JS helper to class #3282 2013-06-05 13:51:06 +02:00
Coen Jacobs 64c75547f3 Abstracted transient helper to class #3282 2013-06-05 13:39:27 +02:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley a7ba197fb7 Generate usernames and passwords.
Closes #3085. Closes #3155. Part of #3248.
2013-06-03 17:28:32 +01:00
Mike Jolley ef49fd62df Tweak account options 2013-06-03 16:09:04 +01:00
Mike Jolley cde4947acf Remember which attributes get registered and added taxonomy_is_product_attribute() function
Closes #3149.
2013-06-03 11:04:21 +01:00
Mike Jolley 24a1812738 Move post type registration to separate class. 2013-06-03 11:04:21 +01:00
Mike Jolley 3277b485b8 Data sanitization
@coenjacobs for .11
2013-05-31 18:34:44 +01:00
Mike Jolley beb4c99325 woocommerce_create_pages Closes #3173 2013-05-31 17:16:34 +01:00
Mike Jolley 304f006566 Better filter. Closes #3249 2013-05-31 16:44:09 +01:00
Mike Jolley d8a016fcbc Merge pull request #3213 from om4james/installpages
Install pages enhancements to help reduce conflicts with other eCommerce plugins.
2013-05-31 08:15:42 -07:00
Mike Jolley e4f4b09ba6 Pay page and thanks page endpoints. Requires permalink save. Closes #3170. 2013-05-31 16:13:18 +01:00
Mike Jolley bedfa10534 Use get_item_count() method. Closes #3182. 2013-05-31 12:52:45 +01:00
Mike Jolley 222124d201 Prevent fatal error if product not found 2013-05-31 12:30:57 +01:00
Mike Jolley 559d7b9759 Updated blockui to prevent errors in WP 3.6.
@coenjacobs this needs to go in .11
2013-05-28 17:02:18 +01:00
Mike Jolley 8fbd2da48d Separate out accounting.js and format dashboard sales currency. Closes #3151. 2013-05-28 15:27:26 +01:00
Mike Jolley a3fef88895 Hooks for list of gateways in admin. Closes #2982. 2013-05-28 14:38:50 +01:00
Mike Jolley ac51ebf2b8 Revised checkout shipping process. Checkbox within heading. Closes #2571. 2013-05-28 14:19:08 +01:00
Mike Jolley 18023b8420 woocommerce_load_alt_locale 2013-05-24 16:52:02 +01:00
Mike Jolley 28933f1fec Check product exists.
@coe
2013-05-23 13:27:12 +01:00
Mike Jolley d528bef73a Select all/none countries Closes #3203. 2013-05-22 13:18:05 +01:00
James Collins 15bd87cbec WooCommerce Install Pages Enhancements
When attempting to install a new page:

* only search for pages (ignore posts and other custom post types)
* search for an existing page with the specified page content (typically a shortcode), or if no page content is specified, search for an existing page with the specified page slug.

Should fix #3100 and will also help ensure that WooCommerce only attempts to reuse existing pages that have the WooCommerce shortcodes on them, thus reducing conflicts with other eCommerce plugins.
2013-05-21 16:18:35 +10:00
James Koster d976dedcc5 no more css options & added responsive stylesheet 2013-05-14 18:28:36 +01:00
Coen Jacobs ee52cf9b49 Missed a parenthesis for #3154 - thanks @sjeden 2013-05-14 11:47:09 +02:00
Coen Jacobs 1ee8dfde24 Replace deprecated wp_convert_bytes_to_hr() with size_format(). Closes #3154 2013-05-14 11:33:19 +02:00
James Koster 3c79056aa8 More CSS separation #2785 2013-05-13 16:02:22 +01:00
Coen Jacobs 2f5f631dee Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2013-05-13 16:13:47 +02:00
Coen Jacobs 44c604da2d Merge remote-tracking branch 'john/master'
Conflicts:
	readme.txt
2013-05-13 16:12:19 +02:00
Mike Jolley cdcdbd79f7 Remove expensive query. Closes #3116 2013-05-13 14:40:15 +01:00
Coen Jacobs ecb5edc9bd Post id property is obviously ID, not id 2013-05-13 11:42:10 +02:00
Coen Jacobs b4b3d1c790 Fix error trying to use -> outside object 2013-05-13 10:59:09 +02:00
Mike Jolley 3d66634221 Hide images from admin too. 2013-05-10 12:30:12 +01:00
Coen Jacobs 9f48e70ca4 Added 'WooCommerce' name to updater notice. Closes #3132
Just a touch of branding in that message so all users with less
technical know how, know where this message is coming from
2013-05-09 21:42:24 +02:00
Mike Jolley 9be0927eb8 Merge pull request #3078 from Geczy/master
Duplicate capability hook
2013-05-09 09:12:05 -07:00
Mike Jolley c42fafd26c Merge pull request #3134 from kloon/master
Variations bulk edit increase/decrease prices by fixed or percentage values and MyException fix
2013-05-09 09:10:00 -07:00
James Koster b98307c4be Splitting the CSS #2785 2013-05-09 15:39:35 +01:00
Gerhard d426964bb9 Variation Bulk Edit - Increase/Decrease prices by fixed or percentage values 2013-05-09 08:23:25 +02:00
John c887922500 new status reporting system
new status reporting system, this plugin list is better visually and
very better to read
2013-05-07 15:19:27 -03:00
Gerhard 38d892b14e esc_js translatable strings to avoid js breaking on quote chars 2013-05-06 15:17:04 +02:00
Gerhard ba923875a2 esc_js for translatable string in the javascripts 2013-05-06 14:50:28 +02:00
Coen Jacobs 656c897448 Merge pull request #2828 from thenbrent/formatted_product_name
Encapsulate formatted product name
2013-05-02 08:26:41 -07:00
Coen Jacobs 7a21dacf5b Cast term_id as int before using in has_term. Closes #3077 #1999 2013-05-02 16:58:30 +02:00
Matt b79ef5a36c Duplicate capability hook 2013-05-02 09:09:32 -04:00
Coen Jacobs 2616251ed3 Code standards and readme for #3076 2013-05-02 14:00:22 +02:00
Gerhard a93cee0cba SKU: search case insensitive support 2013-05-02 13:23:12 +02:00
Warren Holmes 056473d681 Ensure product exists on downloads information. 2013-04-29 21:39:19 +02:00
Mike Jolley 4b87f933a4 Extension compatibility fix #3026 2013-04-29 15:17:03 +01:00
Mike Jolley 073227317c Merge pull request #3026 from MZAWeb/master
Make easier for 3rd party plugins to get reports and charts info
2013-04-29 07:15:09 -07:00
Mike Jolley a2788af011 fix screen ids 2013-04-25 16:18:27 +01:00
Daniel Dvorkin a8c722dc72 Make reports and charts discovery easier
Extract the reports and charts definition to a new woocommerce_get_reports_charts() function so third party plugins can get easily the data.

Also add a string key to each chart so it's easier and more reliable to identify them, because order, name and function can change.
2013-04-24 22:25:12 -03:00
Mike Jolley efa8d9fe62 Brazil states fixes 2013-04-24 15:37:49 +01:00
Mike Jolley 505170da93 Merge pull request #2994 from claudiosmweb/fix_i18n_brazil_states
Fix i18n for Brazilian States
2013-04-24 07:25:43 -07:00
Mike Jolley 3e43a19c30 Fix Screen ids when plugin name localised. Closes #3013.
Closes #3016.
2013-04-24 14:29:38 +01:00
Mike Jolley 706e78af72 Save hook should be named differently for coupon data. 2013-04-24 13:27:03 +01:00
Mike Jolley 91ffd711ce Merge pull request #2990 from kloon/master
Apply the_content filter to taxonomy archive descriptions
2013-04-23 08:11:12 -07:00
Mike Jolley b473f3f96a Update field descirption so its clear validation is done when order is placed. Closes #3006. 2013-04-23 15:58:10 +01:00
Gerhard 7bbe6f1d51 Add support for MAC line endings when importing tax rates 2013-04-22 10:43:25 +02:00
claudiosmweb abd2deaec8 Added function to correct the Brazilian states in orders and clients 2013-04-19 18:18:04 -03:00
Justin Stern 143079c9e9 Renamed Order Items 'Cost' column to 'Totals' for clarity 2013-04-18 16:04:03 -04:00
Max Rice 4a54236563 Allow class callbacks for report functions 2013-04-17 12:13:21 -04:00
Mike Jolley 8d2c2b5368 Missing textdomains 2013-04-17 16:03:27 +01:00
Mike Jolley e9cfd5b32a Updated docs links 2013-04-17 10:16:37 +01:00
Mike Jolley f3be90b9b5 Order item meta - skip serialized fields. Closes #2962. 2013-04-16 15:50:09 +01:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley b40cf953f3 Merge pull request #2968 from piffpaffpuff/master
use base_country for tax calculations in manually created orders
2013-04-16 05:48:59 -07:00
Mike Jolley d64b83a9f9 Use the core function #2971 2013-04-16 13:37:01 +01:00
Gerhard c3397e3664 Removed space 2013-04-16 09:03:26 +02:00
Gerhard b172757a8e Remove url params from filenames on orders in backend under Downloadable Product Permissions 2013-04-16 09:01:50 +02:00
Mike Jolley e16d222f96 Merge pull request #2960 from bengummer/issue-2958
patch shop_order.php for issue 2958
2013-04-15 07:07:19 -07:00
Mike Jolley ba0b4196fa Posted 'text' terms are not slugs. Only striptags/slashes - don't change to slugs. Closes #2955. 2013-04-15 13:15:42 +01:00
Ben Gummer ddd92141bf patch shop_order.php for issue 2958
adds ` UTC` to the variable passed to `strtotime` to ensure that the `strtotime` function does not assume the local timezone when converting.
2013-04-15 21:02:19 +10:00
Triggvy Gunderson 53c13f721b base_country js param for order tax calculation
added  woocommerce_writepanel_params.base_country to fix tax
calculation when an order is created manually. if you click the button
calc taxes the js uses base_country to calc when no billing/shipping
country is selected. just like the the message says: "If no
billing/shipping is set it will use the store base country".
2013-04-14 22:59:18 +02:00
Mike Jolley 02d8aec39c Over-sanitized. Closes #2933. 2013-04-12 09:51:10 +01:00
Mike Jolley 12e185e70b Merge pull request #2915 from maxrice/master
Fix coupon type filter typo
2013-04-09 06:14:03 -07:00
Max Rice 107877037f Fix coupon type filter typo 2013-04-09 07:56:37 -04:00
Mike Jolley d84d1c7a74 Tool to flush customer sessions 2013-04-09 09:40:07 +01:00
Mike Jolley 9031c7603f Sanitize taxonomy names. Closes #2844. 2013-04-08 21:11:55 +01:00
claudiosmweb 2aa712ef4a added filters to format the address 2013-04-07 05:31:21 -03:00
Mike Jolley fa91ef80d4 Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
Now works with all caching enabled in W3 Total cache. Closes #2862.

cc @coenjacobs
2013-04-05 22:24:56 +01:00