Commit Graph

8251 Commits

Author SHA1 Message Date
Mike Jolley 6d40dd7ff5 Merge pull request #5449 from mkrdip/patch-2
Uttaranchal (UT) renamed to Uttarakhand (UK)
2014-05-12 12:25:27 +01:00
Tamara Zuk 3ebd22b64a Check if term is returned before getting its name
Prevents a rare notice if the order item meta value is blank
2014-05-11 09:37:27 -04:00
claudiosmweb 05a6914ebc fixed WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock() 2014-05-10 17:45:14 -03:00
Pippin Williamson 8d15d6dc6c Update class-wc-meta-box-coupon-data.php
Introduce `woocommerce_coupon_data_panels` action.

If someone wants to add a new tab to the Coupons data meta box, they can use the `woocommerce_coupon_data_tabs` filter to register a new tab. These tabs accept a `target` key that lets you specify the `div` ID to reveal when the tab is clicked on. It turns out, however, that there is no way to actually add the `div` to the page, making the filter for custom tabs only good for removing tabs.
2014-05-10 11:48:37 -04:00
Mrinal Kanti Roy 140f158088 Uttaranchal (UT) renamed to Uttarakhand (UK)
Issue: https://github.com/woothemes/woocommerce/issues/5448
2014-05-08 23:31:41 +06:00
Chuck Mac 2de7df9425 Add new 'wc_admin_reports_path' filter to reports
Add filter to allow for changing of the report class files.

This will allow 3rd party plugins to use this function to extend the
reporting. Currently this can only include files in the woocommerce plugin
directory itself.
2014-05-08 12:34:30 -04:00
Mike Jolley 439ec0d4f6 Merge pull request #5425 from superdave2u/master
Updated the get_download_url() function - fixes #5424
2014-05-08 15:18:29 +01:00
Mike Jolley 4fa5ec8310 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	includes/gateways/cod/class-wc-gateway-cod.php
2014-05-08 15:06:20 +01:00
Mike Jolley 1308662946 Option to toggle enable_for_virtual for COD, rather than just doing it.
Closes #5399
2014-05-08 15:05:34 +01:00
Mike Jolley a4b6c4eb4f Merge pull request #5415 from tamarazuk/patch-2
COD: no need to hide in admin
2014-05-08 15:04:55 +01:00
Mike Jolley 98a6fe7897 Merge pull request #5444 from mkrdip/patch-1
Brahmanbaria & Habiganj missing from the list
2014-05-08 14:19:11 +01:00
Mike Jolley 488f24f01b Prevent empty session data being stored until a cookie or session exists to retrieve it. 2014-05-08 10:36:19 +01:00
Mike Jolley ffb6dcee4a Brackets 2014-05-08 10:35:51 +01:00
Mrinal Kanti Roy 3c8c9e5f83 Brahmanbaria & Habiganj missing from the list
We've 64 districts but listed 62, so two states (Districts) were missing from this file 'Brahmanbaria' & 'Habiganj'. 

Reference from Bangladesh Government Website: http://www.bangladesh.gov.bd/index.php?option=com_content&task=view&id=225&Itemid=272

All of 64 districts are listed there!
2014-05-08 06:08:28 +06:00
Mike Jolley 53deeb4be5 Cleaned up logic in email_instructions functions for @splashingpixels 2014-05-07 15:54:22 +01:00
Mike Jolley 3670afdffb [2.2] get_user and get_user_id methods
Closes #5429
2014-05-07 15:11:34 +01:00
Mike Jolley 83f1236875 [2.2] Simplified attribute name sanitisation which maintains UTF8 char integrity.
Fixes #5434
2014-05-07 15:02:03 +01:00
Mike Jolley 588242e5bd Merge pull request #5440 from toddlahman/master
Use WP SEO class method rather than deprecated fn
2014-05-07 14:48:35 +01:00
Mike Jolley e631006845 Merge pull request #5435 from dimitrov-adrian/patch-9
Consistence
2014-05-07 14:48:06 +01:00
Mike Jolley a9b24c963e Merge pull request #5437 from claudiosmweb/feature-cart-qty-min-value
Define a min value to cart quantity input
2014-05-07 13:12:04 +01:00
Mike Jolley a243f138fa Merge pull request #5436 from claudiosmweb/fix-qty-input-firefox29
Hide number input buttons in firefox 29 and later
2014-05-07 13:11:46 +01:00
toddlahman 912aca6907 Use WP SEO class method rather than deprecated fn
Notice: wpseo_get_value is deprecated since version WPSEO 1.5.0! Use
WPSEO_Meta::get_value() instead.
2014-05-07 03:40:21 -07:00
claudiosmweb 80f44d2d1a defined a min value to cart quantity input 2014-05-06 21:49:30 -03:00
claudiosmweb 38f4d7744d hide number input buttons in firefox 29 and later 2014-05-06 21:40:19 -03:00
Adrian Dimitrov 7de8b10428 Consistence
Way to remove complete <h2> tag also consistence syntax like templates/single-product/tabs/additional-information.php
2014-05-06 23:12:09 +03:00
Tamara Zuk a9ebcdd8c6 COD: check if cart is available before checking if it needs shipping 2014-05-06 16:04:25 -04:00
Mike Jolley 9665239ba7 param comment Fixes #5408 2014-05-06 16:06:32 +01:00
Mike Jolley 18294e715d Trim commas and empty lines off address formats Fixes #5411 2014-05-06 16:04:11 +01:00
Mike Jolley 63fc4262b6 Merge pull request #5418 from tamarazuk/backorders_allowed
Introduce woocommerce_product_backorders_allowed filter
2014-05-06 15:09:56 +01:00
Mike Jolley 8c90915f09 Merge pull request #5413 from maxrice/fix-rest-api-order-response
Fix fee/coupon lines typo in REST API order response
2014-05-06 15:07:00 +01:00
Mike Jolley 32a770cf0e Merge pull request #5416 from bolderelements/patch-2
Update abstract-wc-shipping-method.php
2014-05-06 14:53:10 +01:00
Mike Jolley 0f81541870 Revise how variation attributes are deleted/updated
Prevents issues with WPE caching when you delete and then update right
after.
2014-05-06 10:47:23 +01:00
Mike Jolley ffa1db6ae6 Add $package to is_available shipping method hooks 2014-05-06 09:34:25 +01:00
Dave Mainville cabc84bf61 Closes #5424 2014-05-05 16:37:57 -04:00
Tamara Zuk 651f1ac96f Introduce woocommerce_product_backorders_allowed filter 2014-05-04 17:29:43 -04:00
bolderelements fb80f6ba09 Update abstract-wc-shipping-method.php
The order is backward so if you use the default 'is_available' function for your extensions, the 'excluding' option will always deny every country because this line returns an empty array.
2014-05-03 15:59:01 -04:00
tamarazuk ec1b16340b COD: no need to hide in admin
Also fixes a fatal error when WC()->payment_gateways()->get_available_payment_gateways() is called in the admin
2014-05-03 01:32:37 -04:00
Max Rice a007f2e8d7 Fix fee/coupon lines typo in REST API order response 2014-05-02 15:26:30 -04:00
Mike Jolley 72849cb4db Stop sending line items to Mijireh Fixes #5365
Like PayPal, Mijireh struggles with out prices including tax due to
rounding errors. Since the validation cannot be disabled, its better to
just send the order as 1 item. This will prevent rounding errors and
payment failures.

Prices excluding tax are unaffected.
2014-05-01 15:29:28 +01:00
Mike Jolley 173d483ac0 Add tool for disabling shipping rate cache for debug 2014-05-01 14:40:31 +01:00
Mike Jolley b7efaea79f Tidyup brackets 2014-05-01 14:40:31 +01:00
Mike Jolley 13caa07cc2 Sanitize, but decode. UTF-8 Friendly. Fixes #5401
Originally changed 34db5d68b6
2014-05-01 14:40:31 +01:00
Mike Jolley c9378cf092 Merge pull request #5402 from aMoniker/master
fix case-insensitive matching for coupon posts with uppercase chars
2014-05-01 12:23:04 +01:00
Mike Jolley 3034f40431 Merge pull request #5406 from kadimi/master
Make the welcome page RTL compatible. Fixes #5405
2014-05-01 12:13:30 +01:00
Nabil Kadimi 246b9ba1fa Make the welcome page RTL compatible. Fixes #5405 2014-05-01 09:50:19 +01:00
Jim Greenleaf 3b1f54f86c fix case-insensitive matching for coupon posts with uppercase chars 2014-04-30 23:29:29 -04:00
Coen Jacobs 0a2b75db82 This branch is now 2.1.9-bleeding 2014-04-30 14:34:17 +02:00
Coen Jacobs 34726ab6bc Merge branch '2.1'
Conflicts:
	i18n/languages/woocommerce-admin.pot
	i18n/languages/woocommerce.pot
	includes/admin/post-types/class-wc-admin-cpt-product.php
	includes/class-wc-form-handler.php
	package.json
	readme.txt
	woocommerce.php
2014-04-30 14:30:42 +02:00
James Koster 657773c2f4 twenty thirteen spacing. 2014-04-30 11:24:09 +01:00
Mike Jolley ec1d521fde Only output wrappers on order-review when not loaded via ajax 2014-04-30 11:20:43 +01:00