Commit Graph

1551 Commits

Author SHA1 Message Date
Kevin Killingsworth f45a4cd57d Reload cart page upon emptying.
The server shows a different page for the cart
when the cart is completely empty. The Cart AJAX
update subverted this and caused issue #10736 as
a result. Not to mention, the page just didn't look
good or functional with no items left in the cart.

This commit forces a reload any time the cart becomes
empty, which shows the empty page generated from
the server.

Fixes #10736
2016-04-19 23:36:48 -05:00
Claudio Sanches 1603543bf3 Merge pull request #10735 from coderkevin/cart_update
Fix: Ensure cart gets updated
2016-04-19 16:59:31 -03:00
Kevin Killingsworth 069eca0b32 Fix: Ensure cart gets updated
The cart was not getting updated in all cases
when products were removed or shipping was
updated. This ensures those changes update the
cart as well.

Fixes #10734
2016-04-19 13:00:18 -05:00
Mike Jolley 25138f4ce3 Preserve values on add row 2016-04-19 18:27:00 +01:00
Mike Jolley 120a62cd90 minify 2016-04-19 13:44:20 +01:00
Mike Jolley 73658fe17c Merge pull request #10720 from bucketpress/patch-1
Make product tabs and ratings work when product page is loaded via ajax
2016-04-19 07:43:39 -05:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
bucketpress dfccfce705 Grouping of delegated events together
As suggested by @claudiosmweb
2016-04-19 10:00:16 +08:00
Mike Jolley 826613db3c Grunt dev 2016-04-18 15:37:19 +01:00
Mike Jolley b1d32b3f8c Change error events for inline validation
Fixes #10691
2016-04-18 13:27:05 +01:00
bucketpress 6cca7029fc Make product tabs and ratings work when product page is loaded via ajax
.wc-tabs-wrapper, .woocommerce-tabs, #rating set as delegated events, so that on ajax loading a product page, we can call 
$( '.wc-tabs-wrapper, .woocommerce-tabs, #rating' ).trigger('init'); to make them work.
2016-04-18 18:08:42 +08:00
Mike Jolley 65f2c24358 Handle tab-reviews click 2016-04-15 18:25:18 +01:00
Kevin Killingsworth 00c3bf9ce3 Fix: Update message on update cart/shipping
This adds the messages to the ajaz update cart
and shipping operations.
2016-04-08 12:02:45 -05:00
Kevin Killingsworth 3073437ea1 Fix: Make cart ajax selectore more specific
The previous jQuery selector was on div.woocommerce,
which was also selecting other divs on the page.
This is more specific to the cart table on the page.
2016-04-06 12:14:54 -05:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 5a49394102 Justin code review 2016-04-01 11:19:55 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Mike Jolley 32475695a5 Simplify wizard tax rates and import automatically 2016-03-31 15:54:54 +01:00
Mike Jolley 34b65e339a Extra error handling 2016-03-31 15:18:35 +01:00
Mike Jolley 5f6aa6c160 Fix modals and ajax events 2016-03-24 19:06:51 +00:00
Mike Jolley 8b53d1a618 Only load modal if supported 2016-03-24 18:31:39 +00:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley 1b520840d6 Merge branch 'pr/10596' 2016-03-24 11:34:08 +00:00
Mike Jolley 26a06a7a69 Tweak check to use indexof 2016-03-24 11:34:00 +00:00
Mike Jolley ca5a46a2f9 Allow bulk deletion of refunds 2016-03-23 16:32:12 +00:00
Mike Jolley dd68a57fff Merge pull request #10592 from woothemes/item-box-tweaks
Order Item Meta Box Tweaks
2016-03-23 15:03:24 +00:00
Mike Jolley 495aac2df1 Remove backslash 2016-03-23 14:28:45 +00:00
Mike Jolley 95de7f5a2c Minor spacing issues 2016-03-23 13:06:15 +00:00
Gorka Maiztegi eaa025229b Added minified javascript file 2016-03-23 10:59:07 +01:00
Gorka Maiztegi 8f184c0a34 Fix tax editing when using WPML
WPML adds the query parameter "lang" to the ajaxurl variable (and potentially other plugins might do the same thing too), so a new query parameter must be prefixed with & and not ?. This small piece of code solves the issue.
2016-03-23 10:32:15 +01:00
Mike Jolley f73149feaf Tweak variation display and reenable bulk editing 2016-03-22 17:13:39 +00:00
Mike Jolley 8d5b9b7b48 min 2016-03-22 15:02:39 +00:00
Mike Jolley f1b3d0f708 Further layout tweaks 2016-03-22 14:54:02 +00:00
Mike Jolley 5862785522 Restyle items panel 2016-03-21 18:35:00 +00:00
gonssal 523ded8358 Fixed password-strength-meter.js' checkPasswordStrength function not being encapsulated into the wrapper 2016-03-21 17:26:33 +01:00
Mike Jolley 7be2b129b6 Removed bulk actions from order items panel
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.

Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Allen Snook bd99d8f1f3 Remove unused new_enabled variable 2016-03-18 13:43:58 -07:00
Mike Jolley 1549158981 Add 'is_enabled' column to instances table and allow toggle in zones screen
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley 699e007659 Wrap export in quotes to preserve commas
Fixes #10541
2016-03-14 12:26:18 +00:00
Mike Bronner de85e5be25 Add tests for localStorage
Some spiders will not error out on sessions storage, but will throw an exception on localstorage. For example, my site has been hit with the following almost on an hourly basis:

```
TypeError: Cannot call method 'setItem' of null
1
File https://maureentaylor.com/app/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js line 1 in [anonymous]
```
2016-03-13 08:42:35 -07:00
Mike Jolley 71f32383f8 Comment and minify 2016-03-12 08:37:02 +00:00
Mike Jolley 7e712ee09a Tweak preserveComments and re-minify 2016-03-12 08:14:37 +00:00
Claudio Sanches ede64f7aa9 Minify and POT 2016-03-11 14:42:34 -03:00
Claudio Sanches ad446d002e Fixed zeroclipboard fallback on firefox 2016-03-10 14:58:50 -03:00
Claudio Sanches 1aa796390a Minify 2016-03-10 00:02:50 -03:00
Claudio Sanches a27324c00c [2.5] Fixed PrettyPhoto embed under HTTPS, closes #10521 2016-03-10 00:02:17 -03:00
Mike Jolley 25d6a93c07 Merge pull request #10479 from shivapoudel/gtm-listener
Tweak - GTM listener for single products tabs
2016-03-07 12:04:38 +00:00
Shiva Poudel 25e1d72017 Tweak - GTM listener for single products tabs, Closes #10478 2016-03-04 23:52:39 +05:45
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00
Mike Jolley c21b0eda82 Merge pull request #10361 from shivapoudel/ajax-customer-search
Feature to exclude certain users from ajax customer search box
2016-03-03 12:54:19 +00:00
Justin Shreve b9870bff30 Minify js 2016-03-03 02:48:14 -08:00
Justin Shreve f4d771ef3e Show error if copying can't even happen (to cover safari). 2016-03-02 10:25:16 -08:00
Justin Shreve 32eabbc685 Provide a fallback message if copying to the clipboard fails. 2016-03-02 10:13:17 -08:00
Justin Shreve e94a60d4c3 Update minified JS 2016-03-01 11:49:43 -08:00
Justin Shreve ccb2c90ef3 Update references for the tokenization UI script (hiding/showing inputs) to use the correct file. 2016-03-01 11:49:43 -08:00
Justin Shreve a2aa20bcb5 Rename payment-gateway JS to tokenization-form. 2016-03-01 11:49:42 -08:00
Justin Shreve eff4e297f9 First pass at showing saved payment methods on checkout 2016-03-01 11:49:40 -08:00
Mike Jolley 6f04ff1fa0 Replace size with length
Fixes #10444
2016-03-01 13:08:25 +00:00
Kevin Killingsworth 7fc0932e33 Fix state input box for cart shipping.
Input box wasn't reappearing when switching from a hidden input
to a text input. Changed the JQuery selector to go off the input
type.
2016-02-27 00:50:05 -06:00
Kevin Killingsworth 45b2f7eae3 Remove console.log calls
Some left-over console log calls were removed.
2016-02-22 11:12:05 -06:00
Kevin Killingsworth b7f365982e cart objects: refactor into objects
This update actually takes the code and refactors it into
two object handlers, cart and cart_shipping.

Also, more block comments are added to each function.
2016-02-22 10:15:47 -06:00
Kevin Killingsworth 02b7c1edc4 cart objects: Create cart_shipping object.
This commit creates a cart shipping object which handles all shipping
code in this file.
2016-02-19 14:33:28 -06:00
Kevin Killingsworth 7c82a6b1f1 cart objects: Add block comments
Add block comments to functions in the file.
2016-02-19 14:26:27 -06:00
Kevin Killingsworth e7fa89cdf9 cart objects: split off events
Step one of implementing objects in carts is splitting off
the event handlers to separate named functions.
2016-02-19 14:13:48 -06:00
Justin Shreve 328ad226e8 [2.5] Correct the 'unavailable template' call for variations so the message is displayed correctly, fixing a JS error. 2016-02-17 07:50:38 -08:00
Shiva Poudel a88caf5b72 Feature to exclude certain users from ajax customer search box
Closes #10360
CC @mikejolley
2016-02-16 19:40:36 +05:45
Kevin Killingsworth 7e951afbae Cart AJAX: Add shipping form support.
Add support for making an AJAX call for updating the shipping options.
2016-02-15 10:52:25 -06:00
Kevin Killingsworth b330813306 Cart AJAX: Clean up form handling for cart form.
The coupon and update cart logic was tripping on each other
between the click handling and form submit handling.
This commit combines the event handler, then splits off from there.
2016-02-15 10:27:47 -06:00
Kevin Killingsworth 4b8cf5cd1f Cart ajax: Fix html5 validation checks for quantities.
The form button click event handling was subverting the validation
checks. Moving the event to the actual form submit event fixed it.
2016-02-15 09:53:11 -06:00
Kevin Killingsworth 62c141ff5d Cart AJAX: Fix block UI for remove item.
The JQuery selector was incorrect and needed to go
further up the DOM tree.
2016-02-15 09:41:58 -06:00
Kevin Killingsworth a8e51cfb66 Style: Add spaces between closing braces and parens. 2016-02-15 08:40:46 -06:00
Kevin Killingsworth ef4debace7 Cart AJAX: Block form during update
Apply the JQuery Block UI to the form during an AJAX update.
Also correct a few small style issues.
2016-02-15 08:10:25 -06:00
Kevin Killingsworth e416ba0e2b Cart AJAX: Add cart item remove.
Add cart item remove, using same technique as the cart update.
Make the normal call via AJAX and update the HTML afterwards.
2016-02-14 22:55:47 -06:00
Kevin Killingsworth 9a43b897da Cart AJAX: Add update call.
Since the code is built to use a form submit for all the quanitities
already, I just made this an ajax call instead of a whole page call.
The result is the exactly the same and the .woocommerce div is replaced
with the resulting HTML.
2016-02-14 21:57:14 -06:00
Kevin Killingsworth 1c361bb29f cart.js: Consolidate url calculation.
DRY the url calculation code within a single function to make
the code more readable and succinct.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 30a272e58a Add remove coupon ajax handling in cart.
Add code to handle ajax call for removing a coupon from the cart.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 191b58eba0 Block cart form while applying coupon.
Add code to block the cart form during the apply operation
until completion. Refactor block/unblock into local methods
for reuse.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 4cc7e99ab7 Add notice to add coupon in cart.
Add the notice to when a coupon is added to the cart,
or the error if the coupon was not added for some reason.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth ce90c440cb Cart ajax: apply coupon
Adds an ajax call for applying coupons while on the cart
screen (not checkout, as it already has this.)

This is the first commit to add ajax calls to the cart update
functions. See issue #6734
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 07db701e91 Add minified js file for add-to-cart-variation.js
Adding missing minified version of js file from
commit f1bf89db2b
2016-02-12 09:54:21 -06:00
Mike Jolley 2c86574785 Merge pull request #10328 from KristoferN/single-product-image-alt-tag-content-error
Corrected content in alt-tag
2016-02-11 13:17:46 +00:00
Kristofer Norén f1bf89db2b Corrected content in alt-tag
Previously both the alt-tag and the title-tag of the variations main image used content from variation.image_title. The alt-tag should use variation.image_alt.
2016-02-11 13:40:56 +01:00
Justin Shreve 37ad8ccbed Minified checkout.js 2016-02-10 10:41:23 -08:00
Justin Shreve 6a8abc9f28 Keep track of terms & conditions state and recheck the box if necessary. 2016-02-10 10:38:39 -08:00
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley 4c29b7607f Show notices on variation button clicks
Closes #10281
2016-02-08 16:21:02 +00:00
Mike Jolley 6dd01fc839 Better way to find wrapper for stateboxes
Closes #8255
2016-02-08 14:47:42 +00:00
Mike Jolley aa4bfde937 Remove deprecated chosen js scripts 2016-02-08 12:10:42 +00:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Claudio Sanches 5f2d769567 Minify 2016-02-03 15:02:32 -02:00
Claudio Sanches 2596b888a2 [2.5] Include new triggers when remove and add the password strength meter, closes #10257 2016-02-03 13:24:11 -02:00
Mike Jolley 254c8cf677 Prevent default in variation script
Closes #10223
2016-02-01 12:16:17 +00:00
Mike Jolley 089b8aff68 Disable button (again) but not on checkout 2016-01-28 15:53:08 +00:00
Mike Jolley 26a7d04c07 Unused var 2016-01-28 15:38:27 +00:00
Mike Jolley 6a8e89da2f [2.5] HTML5 validation message on weak password, and append to indicator 2016-01-28 15:36:24 +00:00
Mike Jolley 30ee8aaef0 [2.5] Bind on autocompletechange event
Fixes #10185
2016-01-27 12:14:21 +00:00
Mike Jolley 8c85183d6e [2.5] Remove case check from tax rate country REGEX 2016-01-27 12:10:36 +00:00
Mike Jolley 32b6e05eb1 [2.5] docblock 2016-01-27 11:07:44 +00:00
Mike Jolley a2843c03c7 [2.5] Added password hint text and error messages 2016-01-27 10:54:03 +00:00
Mike Jolley 5db85c6ef7 [2.5] Compatibility with w3 total cache inline minification 2016-01-25 20:14:45 +00:00
Mike Jolley 793d86c9c3 [2.5] Fix scroll on ios
Closes #10145
2016-01-25 11:31:24 +00:00
Claudio Sanches 9c9fab33da [2.5] Reload tax backbone view when save, closes #10150 2016-01-23 14:51:43 -02:00
Claudio Sanches 7d627e105c Don't stop conversions because password strength meter
cc @mikejolley
2016-01-22 17:46:15 -02:00
Claudio Sanches c1c6ef0271 Added support password strength meter lost password page
Still part of #10103
2016-01-22 17:37:34 -02:00
Claudio Sanches 4f3ef79b8c Added password strength meter to my account > edit account page
Closes #10103
2016-01-22 17:33:35 -02:00
Claudio Sanches 3fb84f91c1 Improved code for #10127 2016-01-20 22:54:29 -02:00
Simon Prosser 4899d99475 Videon only load when help is needed. 2016-01-21 00:12:19 +00:00
Mike Jolley cc68fdc89a [2.5] Correctly block UI to prevent attribute issues
Fixes #10115
2016-01-20 11:01:18 +00:00
Mike Jolley c661b4c78f JSlint 2016-01-13 17:08:53 +00:00
Mike Jolley d821b87f8a Move shipping classes to custom UI in shipping section 2016-01-13 16:52:28 +00:00
Mike Jolley 8064b35350 Add methods from zones screen 2016-01-13 15:04:10 +00:00
Mike Jolley c8025705c1 Text changes 2016-01-13 12:38:31 +00:00
Mike Jolley 70a9eb3807 Fix pagination + sorting on tax screen
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley cef3ec7e37 Indicate disabled methods 2016-01-08 11:57:49 +00:00
Mike Jolley 007abbc98e Shipping meta data
Closes #9094
2016-01-08 11:42:32 +00:00
Mike Jolley 808d3317c2 Min #10021 2016-01-07 10:53:04 +00:00
Shiva Poudel 64161b9d63 No need of external product type to index 2016-01-07 12:43:08 +05:45
Mike Jolley 5fed5c6990 Dash when no methods are shown 2016-01-06 13:38:32 +00:00
Mike Jolley 0b6fdf5fe8 Use data-placeholder for selects since placeholder is not to W3C spec
Closes #9986
2016-01-06 12:20:06 +00:00
Mike Jolley 97d47fb576 Move zones to main settings 2016-01-05 11:23:15 +00:00
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 61f8a92202 View/Edit icon hiding on edit 2016-01-04 14:34:10 +00:00
Mike Jolley a70f1d7852 Fix row selection in tax settings screen 2016-01-04 11:04:52 +00:00
Mike Jolley 1228ae348c Fix change event on tax settings screen 2016-01-04 10:54:34 +00:00
Claudio Sanches a81f0f6eea Use blockui while saving taxes 2015-12-19 12:12:31 -02:00
Mike Jolley 77f0e9d72a has settings handling 2015-12-18 13:12:20 +00:00
Mike Jolley 8ebba9cc68 "enabled" column 2015-12-16 16:24:58 +00:00
Mike Jolley 9aa34330ac Fix sorting and saving for methods 2015-12-16 16:09:52 +00:00
Mike Jolley e13ba4f029 Empty states 2015-12-16 15:37:40 +00:00
Mike Jolley 571469f44c Add methods to zones 2015-12-16 15:16:52 +00:00
Mike Jolley bf362de020 worldwide methods 2015-12-16 13:38:03 +00:00
Mike Jolley aab4e1cfa0 Min 2015-12-16 11:05:01 +00:00
Phil Young ee54e040df Chrome autocomplete to update checkout shipping. Closes #9850
When using Chrome's autocomplete to alter an address field in the
checkout, the shipping selection in the order review will now update.
Closes #9850.
2015-12-16 10:02:18 +00:00
Mike Jolley d8f96f4dc9 zones empty state 2015-12-15 19:10:41 +00:00
Mike Jolley e25d876779 List and sort methods within zones 2015-12-15 17:48:03 +00:00
Mike Jolley f48f09ebdf Fix zone links 2015-12-15 16:35:33 +00:00
Mike Jolley 6e7d8e98b2 Trigger change event when inserting media
Fixes #9793
2015-12-14 12:27:03 +00:00
Manos Psychogyiopoulos 2a6a26f800 allow searching from predefined set and introduce search limit
Makes it possible to search from a pre-defined set of known ids without returning all results, avoiding an excessive amount of product instantiations with large result sets.
2015-12-12 14:28:45 +02:00
Mike Jolley 6cea054fca Method list screen and method screen with breadcrumbs 2015-12-11 14:11:12 +00:00
Mike Jolley 66d4065ae4 postcode saving 2015-12-10 18:33:59 +00:00
Mike Jolley 4893db3afe tweak js 2015-12-10 17:47:14 +00:00
Claudio Sanches baf09d4a5e Fixed some coding standards 2015-12-10 15:24:26 -02:00
Mike Jolley e93853e4cf Fix up adding zones 2015-12-10 16:38:24 +00:00
Mike Jolley cf5381083d Started on zone regions selector 2015-12-10 15:09:37 +00:00
Mike Jolley 3a8ed22905 Fix sorting for new zones 2015-12-10 13:09:39 +00:00
Mike Jolley 41042e94a7 Sort zones 2015-12-10 12:31:03 +00:00
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Claudio Sanches 0e1d342e26 Updated select2 to 3.5.4, closes #9781 2015-12-08 15:00:18 -02:00
Mike Jolley 56f274b68b non-functional Mockup for the shipping zones interface 2015-12-08 12:45:18 +00:00
Mike Jolley 1b5af9e188 Output the wp.template instead of passing in 2015-12-04 14:28:32 +00:00
Mike Jolley 3ae614c5a8 Wrap is Always visible since 2.5.0 2015-12-04 13:45:47 +00:00
Mike Jolley b7d8091a44 pass full variation object into script instead of parts 2015-12-04 13:31:36 +00:00
Mike Jolley 2c023a2847 Pass the wp.template to the script and append so its added to the page once when needed 2015-12-04 13:26:44 +00:00
Mike Jolley 398cde4770 Merge remote-tracking branch 'origin/master' 2015-12-04 12:06:00 +00:00
Mike Jolley 1ade6adf71 Unused line 2015-12-04 12:05:48 +00:00
Jeff Stieler e334d75591 Allow plugins to force a reload of the checkout page without an error condition. 2015-12-03 18:20:22 -08:00
Mike Jolley 9f76a61bcd Extra comments, fix JS Lint issue, and log fixes for debugging purposes. 2015-12-03 10:51:39 +00:00
Max Rice b50e830b54 [#9655] Recover from malformed JSON checkout response
If a plugin or other code produces output during checkout processing,
it breaks the JSON parsing. This commit makes use of jQuery’s Ajax
dataFilter which allow us to sanitize the raw response before it’s
parsed by the Ajax handler.
2015-12-02 17:31:43 -05:00
Claudio Sanches b9624290e1 Minify 2015-12-02 13:26:09 -02:00
Mike Jolley 327cf87191 Merge pull request #9728 from woothemes/issue/9727-order-review-payment-method-change-ui
Hook up payment method change UI on “Pay for Order” forms.
2015-12-02 10:45:26 +00:00
mitogh 0808bbf1ba Update variable to use the cached version 2015-11-30 22:12:26 -06:00
Jeff Stieler 8adc422034 Hook up payment method change UI on “Pay for Order” forms. 2015-11-30 11:09:09 -07:00
Mike Jolley 00f5317621 Merge pull request #9581 from shivapoudel/validation
Add Js Validation for price and dimension field in product quick edit…
2015-11-27 13:07:38 +00:00
Mike Jolley 27a7793f00 Min and POT 2015-11-25 18:46:57 +00:00
Tiago Noronha 105105db06 Adds support for srcset and sizes attributes in variation images. 2015-11-23 16:35:11 +00:00
Mike Jolley c8ef6902f5 Allow checkout to be updated without posting shipping methods
Fixes #9552 @claudiosmweb
2015-11-20 14:51:38 +00:00
Mike Jolley 4595befb76 Pass product type with variation bulk edit
Closes #9570
2015-11-17 15:25:48 +00:00
roykho ca13d3e5f7 Add conditional check for the selected variation image
This added check prevents undefined object preventing images that have no sizes ( e.g SVG ) from causing errors
2015-11-12 16:55:25 -08:00
Shiva Poudel 7934d6fd29 Add Js Validation for price and dimension field in product quick edit panel 2015-11-12 04:50:57 +05:45
Claudio Sanches 5c54aae2c2 Minify again 2015-11-06 13:54:47 -02:00
Claudio Sanches d66427bd8a [2.4] Fixed product type select in wp 4.4 2015-11-06 13:51:17 -02:00
Claudio Sanches 7bbfd3534e Minify 2015-11-06 13:25:00 -02:00
Mike Jolley 12000cd85f Fix model in IOS
Fixes #9507
2015-11-04 15:41:25 +00:00
Claudio Sanches e1c2054b5c Improved how geolocation js check for pages where shouldn't load
Simplified all checks in just one
Less PHP and JS conditionals

cc @mikejolley
2015-11-04 01:51:54 -02:00
Claudio Sanches 0a9929146d Minifiy 2015-11-04 01:23:45 -02:00
Claudio Sanches fde904b27a [2.4] Fixed redirection loop on customizer screen
It's caused an redirection loop on the customizer page when
activated "Geolocate (with page caching support)" option

cc @mikejolley
2015-11-04 01:20:16 -02:00
Mike Jolley 7fdb93329c Merge branch 'revised-single-variation-cart-template'
Conflicts:
	includes/admin/views/html-admin-page-status-report.php
2015-11-02 11:26:49 +00:00
Kathy Darling 856d192bff Use generic `ajax_add_to_cart` class for adding items in the loop to the cart via ajax. 2015-10-30 12:54:49 -05:00
Mike Jolley 77054e11fa Improve appearance when only 1 gateway is active.
Closes #8982
2015-10-30 15:23:16 +00:00
Mike Jolley 58b01886c9 Add validation handling for checkboxes
@jameskoster set label color red too so this is indicated

Fixes #9464
2015-10-30 13:45:59 +00:00
Claudio Sanches 034871a395 Fixed js coding standards 2015-10-28 16:52:31 -02:00
Mike Jolley dddca9b7a6 Avoid animation when no text is present 2015-10-28 15:43:06 +00:00
Mike Jolley edd2e4f2cb wp.template is not required for cart button 2015-10-28 14:59:40 +00:00
Mike Jolley f7a065fb53 Button initial state 2015-10-28 14:27:02 +00:00
Mike Jolley 6f5aaa69da Fix single variable 2015-10-28 13:53:51 +00:00
Mike Jolley 1ff6a27951 Split button from variation display 2015-10-28 13:09:34 +00:00
Mike Jolley a28da6eabc Remove wc_variations_description_update effects 2015-10-28 13:04:45 +00:00
Mike Jolley f050c804e1 Use wp.template for variation and variation button 2015-10-28 13:04:28 +00:00
Claudio Sanches ad5264d40b Fixed initial tax rate settings pagination
Pagination need to be set up to 1, since is first page.
This fix a bug where is impossible to insert rates when don't have any rate saved before.

cc @mikejolley
2015-10-27 19:36:57 -02:00
Claudio Sanches 0dbbcd0a16 Fixed coding standards in assets/js/admin/settings-views-html-settings-tax.js 2015-10-27 18:19:30 -02:00
Claudio Sanches 9b47f3866a Prevented reset to default option when click in any attribute option
Improvement for #9335
2015-10-27 17:59:26 -02:00
Claudio Sanches 9877ce99b5 Minify 2015-10-27 17:24:54 -02:00
Claudio Sanches 2f0f8f5b3e Fixed focus on attributes select fields for variable products
This is an issue on IE 11, since we test for "focusin touchstart", IE 11
can't loses the focus and need to this "snippet" to make IE work like
another browsers.

Closes #9335
2015-10-27 17:24:32 -02:00
Mike Jolley 5c43b34002 Avoid hardcoding admin input names for orders
Closes #9444 @claudiosmweb
2015-10-27 15:54:00 +00:00
Claudio Sanches 76583aeeda Minify 2015-10-26 13:05:06 -02:00
Mike Jolley 59dc92e113 Merge pull request #9417 from woothemes/9381-help-tip-icon-font
Use new "question" mark icon font for Help Tips
2015-10-26 08:45:10 -06:00
Mike Jolley 7012ef5608 When updating cart hash, refresh all open tabs
Closes #8708
2015-10-26 11:50:25 +00:00
Claudio Sanches 2e95a68357 Use new "question" mark icon font
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]

We'll keep the old image and styles in order to maintain backwards
compatibility

Closes #9381
2015-10-23 01:40:52 -02:00