Commit Graph

1431 Commits

Author SHA1 Message Date
Mike Jolley 8be8fe4c8a Use modal for adding methods on both screens 2016-05-12 11:29:33 +01:00
Zach Stepek c96cd1e4d3 Merge branch 'master' into variation-sku-fix
# Conflicts:
#	assets/js/frontend/add-to-cart-variation.min.js
2016-05-11 14:41:39 -05:00
Zach Stepek 50a7b07496 Update specificity of jQuery selector used to reset SKU in product-meta 2016-05-11 12:25:56 -05:00
Mike Jolley aa3dab3572 Resize modal content dynamically
Fixes #10896
2016-05-11 16:19:22 +01:00
Mike Jolley 2cc0ac294e Fix return on add_metadata
Fixes #10892
2016-05-11 15:28:40 +01:00
Mike Jolley 0927cbee8d Tweaks saved card markup and styling to improve CC form. 2016-05-10 15:43:39 +01:00
Claudio Sanches 8c09a52be0 Minify 2016-05-09 17:13:56 -03:00
Claudio Sanches 2ea4f027e6 Merge pull request #10882 from helgatheviking/master
removed_coupon trigger. follow up to #10863.
2016-05-09 17:13:23 -03:00
Kathy Darling 9926afbebf removed_coupon trigger. follow up to #10863. 2016-05-09 10:39:21 -05:00
Shiva Poudel 4c7a78ab31 Tweak - Use of single backbone modal script for shipping and order panel 2016-05-08 21:34:05 +05:45
Mike Jolley 83844fd55b Added applied_coupon trigger to cart page
#10863
2016-05-06 12:05:59 +01:00
Mike Jolley b39ec6b2d6 Fix undo on storefront
Closes #10816
2016-05-03 17:03:46 +01:00
Mike Jolley 37b8bebd03 Merge pull request #10841 from coderkevin/fix_safari_submit
Fix cart ajax submit buttons for Safari.
2016-05-03 12:21:39 +01:00
Mike Jolley b98b07e1cd Merge pull request #10836 from Slayvin/quick-edit-format-price
Quick edit format price fix
2016-05-03 12:07:04 +01:00
Mike Jolley c6975fa7d5 Merge branch 'pr/10750' 2016-05-03 12:01:09 +01:00
Kevin Killingsworth 2e6d37c1c3 Fix cart ajax submit buttons for Safari.
Fixes #10813

This adds a "clicked" attribute to clicked form buttons,
which augments Safari specifically since it sets activeElement
to the page body when a button is clicked.
2016-05-02 15:26:14 -05:00
Slayvin 820b34cad6 Fixed format for prices in quick edit (issue #10835) 2016-05-02 17:16:57 +02:00
Mike Jolley 792bb7a27c Fix regex
Closes #10818
2016-04-29 16:56:43 +01:00
Mike Jolley 7abc17dd9b Fix tax ajax URL
Fixes #10819
2016-04-29 10:18:07 +01:00
Matheus Lopes 08331ac5d4 refatoring JS remove 2016-04-28 14:30:13 -03:00
Matheus Lopes f0c26b7439 Refatoring main code 2016-04-28 13:37:30 -03:00
Mike Jolley da5cad838f Remove modal offset
Fixes #10783
2016-04-25 14:16:55 +01:00
Mike Jolley 10f16f074c Further zone tweaks to delete new rows on cancel 2016-04-22 12:24:20 +01:00
Mike Jolley aa116f325f minify 2016-04-21 17:23:52 +01:00
Mike Jolley a8b2a5668f Added cancel button to shipping zones UI
Closes #10754
2016-04-21 16:18:15 +01:00
Matheus Lopes 2e6d83039f Forgotten after changes xD 2016-04-20 15:04:31 -03:00
Matheus Lopes 2c191f5bb7 Enable countries exceptions to Billing and Shipping 2016-04-20 14:55:05 -03:00
Mike Jolley 5af423c1c4 window.load is deprecated
@claudiosmweb
2016-04-20 16:38:58 +01:00
Mike Jolley 9eb32a2bd8 Keeps undo message in view
@coderkevin there was another case where the undo message would be gone
after refresh. This loads the content via ajax still preserving the
message.
2016-04-20 11:21:32 +01:00
Mike Jolley 3a59e3cbad Enable update cart button only when qty's change 2016-04-20 11:10:39 +01:00
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