Commit Graph

15195 Commits

Author SHA1 Message Date
Mike Jolley a3d376b5c3 Tab hiding with some theme markup.
Closes #8791
2015-08-12 12:05:31 +01:00
Mike Jolley 9986240793 min 2015-08-12 11:51:10 +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
Claudio Sanches f16468c33c Version 2.4.2 2015-08-11 14:23:50 -03:00
Claudio Sanches aae3581a28 Minify files for 2.4.2 2015-08-11 14:22:54 -03: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
Mike Jolley fd22334fe6 Merge pull request #8774 from Ninos/dropdown
Add class arg to dropdown function
2015-08-11 12:32:32 +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 34aa0e9f9d min 2015-08-11 11:53:55 +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 08c751f4fe Minify scripts 2015-08-11 10:46:25 +01:00
Mike Jolley 03f16d6833 Made tab panel selector more specific to avoid theme conflicts. 2015-08-11 10:46:21 +01:00
Mike Jolley 42e99286c7 If all variations are out of stock, maintain pricing. 2015-08-11 10:33:47 +01:00
Nicola Mustone 1017798c6c instroducing WC_Session::delete 2015-08-11 10:11:36 +02:00
George Stephanis 4dd4550190 Add in tracking for changes. 2015-08-10 18:54:25 -04:00
George Stephanis 755b18bef2 Add in a notification for unsaved changes. 2015-08-10 18:49:06 -04:00
George Stephanis 4d8176a805 Remove debugging per_page override. 2015-08-10 18:39:13 -04:00
George Stephanis 64475025a6 Kinda silly to have min length 3 on a field that holds max 2. 2015-08-10 18:37:53 -04:00
George Stephanis 50cf4e6fe5 Reorder where we're running the before unload 2015-08-10 18:22:27 -04:00
George Stephanis 992917caa0 Manually trigger change event. Why?
Unsure why this needs to be manually triggered, but its seems to.
2015-08-10 18:22:12 -04:00
George Stephanis 0afd9ebd6f Be more specific as to what we're listening for. 2015-08-10 18:21:49 -04:00
Claudio Sanches 4a24aeb5ee Updated the changelog 2015-08-10 18:48:36 -03:00
Claudio Sanches b1f0da9d76 Version 2.4.1 2015-08-10 18:44:32 -03:00
George Stephanis fed3574434 Update the tablenav so the gotos are never out of range. 2015-08-10 17:29:52 -04: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
George Stephanis 743dc23014 Listen for changes in form inputs.
When one is found, update the model to reflect the data in the dom.
2015-08-10 17:24:37 -04:00
George Stephanis b80375ffba Give the Model a setRateAttribute method.
This should simplify updating when listening for changes in the form.
2015-08-10 17:24:06 -04:00
Claudio Sanches 7908d6e55a Improved 2.4.1 update script 2015-08-10 18:23:28 -03:00
George Stephanis ce02cd8a5b String.trim() polyfill. 2015-08-10 17:22:03 -04:00
George Stephanis 5e8ef8f18d Check for truthiness.
This avoids silliness where `’0’` evaluates to true.  Just parse it as
an int and evaluate that.
2015-08-10 17:21:52 -04:00
Claudio Sanches 2ad4592324 WooCommerce 2.4.1 update script 2015-08-10 18:18:33 -03:00
George Stephanis dff70a0509 Add more data attributes to the rows and fields. 2015-08-10 16:54:32 -04:00
Mike Jolley c1cd3f097c Fix notices when calling get_shipping_classes(). 2015-08-10 21:52:21 +01:00
George Stephanis 396752236c Don't base size of news off the dom. 2015-08-10 16:51:26 -04:00
George Stephanis 97251f80b6 Swap to associative array for model. 2015-08-10 16:51:06 -04:00