Pippin Williamson
a059290fa8
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-13 16:12:07 +01:00
Mrinal Kanti Roy
10c1a1882f
Uttaranchal (UT) renamed to Uttarakhand (UK)
...
Issue: https://github.com/woothemes/woocommerce/issues/5448
2014-05-13 16:11:46 +01:00
Mike Jolley
c945e5a848
Conflict
2014-05-13 16:11:39 +01:00
Mike Jolley
31ba243927
Prevent empty session data being stored until a cookie or session exists to retrieve it.
2014-05-13 16:09:36 +01:00
Mike Jolley
4a63bb1681
Brackets
2014-05-13 16:09:30 +01:00
Mrinal Kanti Roy
f68f278c16
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-13 16:09:26 +01:00
Mike Jolley
484b4920c9
Cleaned up logic in email_instructions functions for @splashingpixels
2014-05-13 16:09:14 +01:00
toddlahman
025f06a463
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-13 16:08:50 +01:00
claudiosmweb
1f12370fc4
defined a min value to cart quantity input
2014-05-13 16:08:13 +01:00
claudiosmweb
fcfaff1954
hide number input buttons in firefox 29 and later
2014-05-13 16:08:07 +01:00
Tamara Zuk
d8ac99da33
COD: check if cart is available before checking if it needs shipping
2014-05-13 16:07:53 +01:00
Mike Jolley
ad5e6a4f15
param comment Fixes #5408
2014-05-13 16:07:39 +01:00
Mike Jolley
b6c4d9a852
Trim commas and empty lines off address formats Fixes #5411
2014-05-13 16:07:18 +01:00
Mike Jolley
616542b09c
Revise how variation attributes are deleted/updated
...
Prevents issues with WPE caching when you delete and then update right
after.
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-product-data.php
2014-05-13 16:06:57 +01:00
Mike Jolley
121022a5eb
Add $package to is_available shipping method hooks
2014-05-13 16:04:21 +01:00
Dave Mainville
debe30861b
Closes #5424
2014-05-13 16:03:56 +01:00
bolderelements
15b10ca7bc
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-13 16:02:08 +01:00
tamarazuk
a2759cb2b7
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-13 16:01:46 +01:00
Max Rice
27b302b075
Fix fee/coupon lines typo in REST API order response
2014-05-13 16:01:16 +01:00
Mike Jolley
97e0449bd8
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-13 16:00:46 +01:00
Mike Jolley
78e9aed6c1
Add tool for disabling shipping rate cache for debug
2014-05-13 16:00:30 +01:00
Mike Jolley
f3107b2ef6
Tidyup brackets
2014-05-13 16:00:10 +01:00
Mike Jolley
fa7217d565
Sanitize, but decode. UTF-8 Friendly. Fixes #5401
...
Originally changed 34db5d68b6
2014-05-13 15:59:34 +01:00
Nabil Kadimi
334243e2cf
Make the welcome page RTL compatible. Fixes #5405
2014-05-13 15:59:13 +01:00
Jim Greenleaf
3ea4e79b82
fix case-insensitive matching for coupon posts with uppercase chars
2014-05-13 15:58:55 +01:00
Mike Jolley
77e5574b97
Merge pull request #5469 from claudiosmweb/normalize-woocommerce_email_attachments-filter-type
...
Normalize the woocommerce_email_attachments filter return type
2014-05-13 14:34:03 +01:00
claudiosmweb
fcd0b03e7e
normalized the woocommerce_email_attachments filter return type
2014-05-12 15:55:53 -03:00
Mike Jolley
4d2378087e
Ensure _stock meta exists, or update will fail
2014-05-12 16:07:51 +01:00
Mike Jolley
70ef82a617
Add a tip for default selections, and use opt groups for the long bulk edit list
2014-05-12 15:39:13 +01:00
Mike Jolley
12d89fae87
Merge pull request #5458 from pippinsplugins/master
...
Update class-wc-meta-box-coupon-data.php
2014-05-12 14:43:24 +01:00
Mike Jolley
d379b60720
Merge pull request #5466 from claudiosmweb/improve-ajax-class
...
Fix some coding standards in includes/class-wc-ajax.php
2014-05-12 14:32:03 +01:00
Mike Jolley
a74f767bd6
Made wc_get_product_terms support custom menu_order by using get_terms and an include
...
Fixes #5455
2014-05-12 14:31:28 +01:00
claudiosmweb
e65f41f014
fixed some coding standards in includes/class-wc-ajax.php
2014-05-12 10:04:36 -03:00
Mike Jolley
aa24199d82
Merge pull request #5460 from claudiosmweb/fix-strict-standards-set-stock
...
Fix WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock()
2014-05-12 12:39:45 +01:00
Mike Jolley
d8020de76c
Merge pull request #5464 from tamarazuk/master
...
Order Item Meta - Check if attribute term exists
2014-05-12 12:35:11 +01:00
Mike Jolley
bcba8248b9
Fix notice when not scanning any files Closes #5465
2014-05-12 12:34:46 +01:00
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