George Stephanis
52d4ea822c
Extract 'No Rows Selected' string
2015-08-12 12:59:07 -04:00
George Stephanis
973348d6ad
Whitespace tidy!
2015-08-12 12:59:06 -04:00
George Stephanis
18293cf365
Extract the autocomplete for states and countries data.
...
Localize it!
2015-08-12 12:59:06 -04:00
George Stephanis
5d5a64753d
Migrate csv columns to localize script.
2015-08-12 12:59:06 -04:00
George Stephanis
39749c4563
Move js in from php template file.
2015-08-12 12:59:06 -04:00
George Stephanis
a63ef876d7
Rename and tweak how js is registered.
...
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-12 12:59:06 -04:00
George Stephanis
0ed5f40fa2
Prefix template name with `wc-`
...
Good call, @mikejolley
2015-08-12 12:59:06 -04:00
George Stephanis
a59ed70774
Big changeover to JS templating for the table.
...
Switching over to building the table with JS — wp.template.
We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.
I’ve also started building stuff in an external JS file rather than
straight on the page. Will continue migrating things to it and
localizing as needed.
Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.
More coming.
2015-08-12 12:59:06 -04:00
George Stephanis
cb4e3cb774
Tax Rate Search: First whack.
...
This is by no means complete. A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-12 12:59:05 -04:00
Mike Jolley
817f8476ac
Refund subjects when order contains downloadable product.
2015-08-12 17:50:57 +01:00
Mike Jolley
19e8cc4634
display_errors > error_reporting
2015-08-12 17:45:49 +01:00
Mike Jolley
7a58c5417c
Only process downloads if valid order is found
...
Closes #8798
2015-08-12 17:21:07 +01:00
Mike Jolley
457283bc3c
Ajax variations: stripslashes to fix attributes with quotes.
2015-08-12 17:08:21 +01:00
Mike Jolley
6a3f4ee969
Disable error_reporting during ajax requests to prevent malformed JSON.
2015-08-12 11:51:05 +01:00
Mike Jolley
2f79ab5e3a
When merging shipping taxes with a shipping rate taxes, ensure shipping rate taxes is not malformed.
...
Closes #8790
2015-08-12 11:28:24 +01:00
Mike Jolley
0da69f2bef
Query within wc_customer_bought_product().
2015-08-12 10:44:44 +01:00
Mike Jolley
f6f2d7f9df
Ensure array is returned from wc_get_attribute_taxonomies
2015-08-11 17:10:34 +01:00
Mike Jolley
3bd52a78a5
Use wc_get_attribute_taxonomies instead of global
2015-08-11 17:10:34 +01:00
Claudio Sanches
23f6544ffc
Stop jetpack markdown of add slashs in HTML, closes #8782
2015-08-11 12:06:59 -03:00
Mike Jolley
4dd19c3839
Stripslashes on text attributes
...
Fixes #8778 Closes #8771
2015-08-11 14:55:35 +01:00
Mike Jolley
7d27707043
Tax inclusive prices rounding issue
...
Remove rounding on cart_contents_total so total is calculated correctly.
Prevents issues with half rounded taxes and half rounded items.
Fixes #8776
2015-08-11 14:17:52 +01:00
Mike Jolley
fafb6d5dca
Tweak cart fix to avoid munging %%endpoint%%
2015-08-11 14:04:42 +01:00
Mike Jolley
3eedab457d
return; don't break
2015-08-11 13:47:12 +01:00
Mike Jolley
61f7dd428e
use shop_single instead of full image size for variations.
...
Closes #8764
2015-08-11 12:54:26 +01:00
Ninos Ego
98a1ae4b25
Add class arg to dropdown function
2015-08-11 13:17:52 +02:00
Mike Jolley
5b786261e1
Hide get_formatted_legacy notices when doing ajax.
2015-08-11 12:09:54 +01:00
Mike Jolley
faa8ab02e0
* Fix - ordering_args in product_category shortcode.
2015-08-11 12:04:30 +01:00
Mike Jolley
8a0f4fcc67
Tweak update shipping logic
2015-08-11 11:53:51 +01:00
Mike Jolley
1078564fca
Prevent double add to cart due to ajax endpoints.
2015-08-11 11:53:36 +01:00
Mike Jolley
1cae64f448
eval maths - output errors only if WP_DEBUG is on
2015-08-11 11:23:53 +01:00
Mike Jolley
15e3c545df
Made checkout make use of new ajax endpoints.
...
Fixes #8763
2015-08-11 11:18:50 +01:00
Mike Jolley
42e99286c7
If all variations are out of stock, maintain pricing.
2015-08-11 10:33:47 +01:00
Claudio Sanches
b1f0da9d76
Version 2.4.1
2015-08-10 18:44:32 -03:00
Claudio Sanches
a572c40405
Added the update script for 2.4.1
2015-08-10 18:27:07 -03:00
Claudio Sanches
f7c5d3d5f9
Fixed a typo
2015-08-10 18:26:06 -03:00
Claudio Sanches
7908d6e55a
Improved 2.4.1 update script
2015-08-10 18:23:28 -03:00
Claudio Sanches
2ad4592324
WooCommerce 2.4.1 update script
2015-08-10 18:18:33 -03:00
Mike Jolley
c1cd3f097c
Fix notices when calling get_shipping_classes().
2015-08-10 21:52:21 +01:00
Mike Jolley
1f5bca4daa
Ensure emails are disabled during this update routine
...
Closes #8758
2015-08-10 21:37:49 +01:00
Mike Jolley
77b2316d80
Merge pull request #8754 from JeroenSormani/is_on_sale
...
FIx is_on_sale bug on variable products
2015-08-10 15:43:35 +01:00
JeroenSormani
95609928ba
FIx is_on_sale bug on variable products
2015-08-10 16:36:40 +02:00
Mike Jolley
7363c85a2c
Get filtered variation prices #8753
2015-08-10 15:34:10 +01:00
Mike Jolley
318f399081
Small tidy for scruitinizer
2015-08-10 14:56:02 +01:00
Mike Jolley
d3f0fd1bb3
Correct docblocks
2015-08-10 14:42:10 +01:00
Mike Jolley
41e8cf74fb
Unused vars
2015-08-10 14:40:14 +01:00
Mike Jolley
f687a5a059
When setting up flat and international shipping during wizard, set availability based on base country
2015-08-10 11:03:36 +01:00
Mike Jolley
257010695e
Readme, versions, develop blog links
2015-08-10 10:39:08 +01:00
Brent Shepherd
a826330ad0
Reinstate default value for $items
...
That was (accidentally?) removed with SHA: 877e39064
Fixes "PHP Notice: Undefined variable: items" when attempting to get
line items of a type that does not exist on the order, like coupons.
2015-08-07 12:12:08 -07:00
Claudio Sanches
8bc5e9e284
Merge pull request #8747 from thenbrent/add_api_permissions_filter
...
Add permissions in scope filter
2015-08-07 15:25:00 -03:00
Brent Shepherd
1681b0f9d5
Add permissions in scope filter
...
To allow extensions to display the permissions API keys will provide
for their objects, in addition to the permissions for core WC objects.
2015-08-07 11:19:21 -07:00