Mike Jolley
7b739b9367
Register scripts using plugins_url
2016-12-05 18:34:30 +00:00
Mike Jolley
ca04ee8e9f
Replace
2016-11-22 15:09:37 +00:00
Claudio Sanches
93ecafebec
[2.6] Allow password strength meter in Lost Password page, closes #12314
2016-11-11 15:21:06 -02:00
Mike Jolley
7e56707850
Enqueue scripts when shortcode is used
2016-10-17 11:49:51 +01:00
Claudio Sanches
07ae13c51b
Fixed coding standards recommended by WPCS
2016-10-13 16:51:18 -03:00
James Koster
3823b78318
Add/product galleries ( #11665 )
...
* register prettyPhoto but don't enqueue. #10721
* Remove lightbox option. #10721
Also registers the prettyPhoto styles instead of enqueueing
* Stip all prettyPhoto related stuff from the templates and tidy up some logic. #10721
* Add flexslider assets #10721
* styling and re-adds `woocommerce_single_product_image_thumbnail_html`. #10721 .
* Add zoom functionality. #10721
* Move js to single-product.js. #10721
* styling of the gallery thumbnails when using the `product_page` shortcode. #10721
* Only enable the zoom if the image is large enough. #10721
* Use a 4 column layout by default. #10721
* Make the carousel options filterable. #10721
* rtl styles for gallery. #10721
* Don't zoom on handheld devices. #10721
* markup tweaks in prep for photoswipe
* disable zoom for now
* Add and enqueue photoswipe assets
* add the photoswipe template
* initialise photoswipe - it's alive!
* tidy up js. add title. add separate trigger. #10721
* Move photoswipe functions to single-product.js. #10721
* reactivate the zoom! #10721
* style the photoswipe trigger. #10721
* disable flexslider animation loop. #10721
* js tidy up. #10721
* Fix jshint
* Abstract the product gallery scripts
* Minify
* Fixed conflict with the admin bar
* Photoswipe conflict with admin bar
* Index. #10721
* photoswipe button styles. #10721
* Styling. #10721
* No animation on zoom
* Image width on mobile
* No shadows please. #10721
Looking at you, Twenty Twelve.
* code tidy and add class to placeholder figure. #10721
* simplify rtl query
* photoswipe button styles
* Comma should not be here
* zoom icon #10721
* gallery thumb styles. #10721
* trigger icon. #10721
* Image margins. #10721
* icon hover states. #10721
* Variation handling
* Fix zoom and heights
* Resize after timeout
2016-10-13 15:25:42 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
32ddc22465
WordPress.Arrays.ArrayDeclaration.NoSpaceAfterComma
2016-08-27 05:14:16 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Gabor Javorszky
ddd34a4460
Fix add to cart variation AJAX mode when cart fragments are dequeued
...
No issue.
* high traffic site, so wc-cart-fragments are dequeued (#7777 )
* variable product with a lot of variations, so stock lookup happens through ajax
* previously the add-to-cart-variation.js used the wc_cart_fragments_params for the ajax URL, which in this case wasn't available, the result was a hung page
* decoupled from cart fragments: added the wc_ajax_url to the params that wc_add_to_cart_variation_params gets, so no more hung pages.
2016-08-11 01:17:43 +01:00
Mike Jolley
7861b76e9b
Checkout handling
...
Also introduces add_item so you can add items to an order before the
order exists. Save at once is more efficient.
2016-08-09 14:02:40 +01:00
Mike Jolley
2295f40fcd
Update jquery payment
...
Closes #11012
2016-06-01 11:33:53 +01:00
Mike Jolley
693a5ab34a
Missing script dependencies
2016-04-25 14:40:08 +01:00
Mike Jolley
d1f363c356
Exclude geolocation of bots by user agent
...
Closes #10626
2016-04-01 11:14:26 +01: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
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
Mike Jolley
4c29b7607f
Show notices on variation button clicks
...
Closes #10281
2016-02-08 16:21:02 +00:00
Mike Jolley
aa4bfde937
Remove deprecated chosen js scripts
2016-02-08 12:10:42 +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
a2843c03c7
[2.5] Added password hint text and error messages
2016-01-27 10:54:03 +00:00
Claudio Sanches
4f3ef79b8c
Added password strength meter to my account > edit account page
...
Closes #10103
2016-01-22 17:33:35 -02:00
Shiva Poudel
df0b6eb9d5
Updated select2 version to register script
2015-12-09 13:15:46 +05:45
Mike Jolley
1b5af9e188
Output the wp.template instead of passing in
2015-12-04 14:28:32 +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
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
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
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -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
Claudio Sanches
3ab4e76cd0
Replaed old WC_Cart methods to the new functions
2015-10-28 15:56:31 -02:00
Mike Jolley
f050c804e1
Use wp.template for variation and variation button
2015-10-28 13:04:28 +00:00
Claudio Sanches
eedff144e7
Created assets/js/frontend/password-strength-meter.js #9319
2015-10-09 13:31:47 -03:00
Claudio Sanches
0248ebdac7
Better password-strength-meter load #9319
2015-10-09 11:22:31 -03:00
nishitlangaliya
f468f16e29
fixes: changes as per suggestion given by claudiosmweb ref #8938
2015-10-09 13:25:47 +05:30
nishitlangaliya
a45ef9f814
fixes: done changes using dom operation. ref #8938
2015-10-08 20:14:53 +05:30
Jeff Stieler
a34c0578fb
Avoid potential PHP Fatals by avoiding premature script enqueues.
2015-10-05 12:12:19 -06:00
Claudio Sanches
1e5332dc07
Register all styles on frontend before call #8488
2015-10-01 15:31:05 +02:00
Mike Jolley
f7e4bf224d
Exclude cart and account pages from geolocation
...
Closes #8967
2015-09-01 15:41:05 +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
0ab151562a
Fix issues with trailing slashes on permalinks
...
Closes #8658
2015-07-27 11:56:07 +01:00
Claudio Sanches
ce08c336e9
Updated jquery.payment.js to version 1.2.4
2015-07-09 17:17:34 -03:00
Mike Jolley
f988aae387
Use hashes and server side redirection
2015-06-22 14:55:15 +01:00
Mike Jolley
389ccd5761
Remove base location from script and don't rely on session storage
2015-06-17 16:56:06 +01:00
Mike Jolley
b1441c05c1
Move geolocation to separate script
2015-06-17 14:16:35 +01:00
Mike Jolley
33c298fea7
Experiment with appending geolocation to query string to prevent caching
2015-06-17 12:12:49 +01:00
Claudio Sanches
6d3ea23fac
Added woocommerce_add_to_cart_redirect to ajax cart button, closes #8349
2015-06-11 11:40:26 -03:00
Shiva Poudel
9a818503b9
Updated blockUI Version
2015-05-25 17:03:41 +05:45
Mike Jolley
2763175d3e
[2.3] Bump prettyphoto version to prevent caching
2015-05-20 10:56:45 -04:00
Mike Jolley
c1e3da8bcb
Return real json response during checkout
...
Closes #8086
2015-05-15 13:51:51 +01:00
Mike Jolley
21c5513526
Added endpoint for faster ajax requests
2015-03-20 12:28:26 +00:00
Mike Jolley
66e6366be0
Shipping calculator - Made state/postcode respect country locale like checkout.
...
Fixes #7637
2015-03-06 12:37:21 +00:00
Mike Jolley
6658c88adc
Add args to correct scripts
...
Fixes #7610 . @claudiosmweb
2015-03-03 10:58:10 +00:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
shivapoudel
fa6a99bd1d
Docblocks cleanup for WC_Frontend_Scripts
2015-02-04 21:52:33 +05:45
Mike Jolley
3154b08d3e
Replace CDN select2 with local copy
...
Closes #7287
2015-02-04 15:00:14 +00:00
Scrutinizer Auto-Fixer
de06d17c6d
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-02-03 14:32:10 +00:00
Mike Jolley
cac9035c6f
Updated jquery-payment lib
2015-02-02 16:20:03 +00:00
Claudio Sanches
f7e24c0b77
Fixed more typos
2015-01-29 01:31:03 -02:00
Mike Jolley
0f5c6c4219
Add error handler/debug info in checkout ajax #7176
2015-01-26 14:24:03 +00:00
Scrutinizer Auto-Fixer
19f660171e
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
Claudio Sanches
ab3553a6fd
Select2 translatable, closes #7159
2015-01-19 17:31:22 -02:00
Mike Jolley
0fdd24c526
Select2 frontend
2015-01-12 16:16:13 +00:00
splashingpixels
25b6377298
ajaxified coupon removal on checkout page for better UX closes #6881
2014-12-07 22:15:03 -08:00
James Koster
7bd6b7d009
remove frontend dashicons, tweak loader
2014-12-02 21:19:03 +00:00
James Koster
c187c002be
mar icons stuff
2014-11-14 09:59:12 +00:00
James Koster
c28e7821d5
add dependency to dashicons.
2014-11-14 09:49:59 +00:00
James Koster
d765c3138c
dashicons for loader and arrows.
2014-11-14 09:47:45 +00:00
James Koster
30a5c4bfdb
bye bye ajax loader gif.
2014-11-13 18:28:15 +00:00
Mike Jolley
83fb26e30d
Dump chosen select option. Closes #6593
2014-11-11 12:12:28 +00:00
Nicola Mustone
6e9176a5bf
Fix disable password submitting twice
2014-10-16 21:59:45 +02:00
Mike Jolley
b8bcb5ee6e
Removed deprecated methods from WC_Frontend_Scripts and rewrote script registration and localization to run once.
...
Closes #6338
2014-09-24 10:57:39 +01:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
f383710e38
Localize scripts only when needed Closes #4158
2014-05-30 12:01:01 +01:00
Mike Jolley
e198ee517a
Made stateless classes static to allow unhooking of hooks
...
Closes #5151
2014-05-28 14:52:50 +01:00
Bass Jobsen
182b7c1ad5
Update class-wc-frontend-scripts.php
...
See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
2014-04-14 01:06:17 +02:00
Mike Jolley
9a115dc1f4
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-24 15:34:28 +00:00
Mike Jolley
84e754e298
Update docblocks
2014-02-14 14:29:39 +00:00
Mike Jolley
1f1a925fdd
Add versions to all scripts + styles to ensure browser cache is cleared
2014-02-12 09:23:06 +00:00
Gerhard
667f46cf9e
Load Chosen on My Account page for country and state address edits, closes #4674
2014-02-08 10:58:50 +02:00
Geert De Deckere
2dc22a1416
Fix filter name for WC styles in deprecation notice
2014-01-22 09:42:51 +01:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Mike Jolley
af34b43ee6
Tweaks for #4239
2013-12-03 12:14:12 +00:00
Ewout Fernhout
bfa4ce53ff
Allow custom checkout fields to be localized
2013-11-28 15:46:08 +01:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
cc40557077
filter for cart fragment #4132
2013-11-20 16:31:28 +00:00
Mike Jolley
434421aad7
Validation errors #4115
2013-11-18 12:53:45 +00:00
Coen Jacobs
f0adcb65b7
Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396'
2013-11-18 12:33:23 +01:00
Mike Jolley
645ca3e834
WC_Ajax class for ajax events
2013-11-14 12:13:34 +00:00
Brent Shepherd
4a7f207eff
Use new ID for add pay method form
...
Part of #3396
2013-11-05 15:36:00 -08:00
Brent Shepherd
b69066405b
Move /add-payment-method/ endpoint to /my-account/
...
Part of #3396
2013-11-05 13:02:13 -08:00
thenbrent
1bbe03d139
Add new /checkout/add-payment-method/ endpoint
...
Part of #3396
2013-11-03 16:53:14 -08:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00:00
James Koster
e934947152
Remove placeholder polyfill. closes #4012
2013-10-28 09:03:03 +00:00
Mike Jolley
e143d344e5
Constants
2013-10-24 19:36:22 +01:00
Mike Jolley
ece95e25ce
When handling variations, priority from top to bottom - disabled variations still taking into consideration allow you to exclude certain combinations when using 'all' for variations with lower priority. Message displayed if a variation is unavailable.
...
@coenjacobs please review
2013-10-10 16:34:44 +01:00
Mike Jolley
8f196130ff
Don't show view cart message on cart page. Closes #3877
2013-10-04 12:21:28 +01:00
Mike Jolley
72c00a601a
Standardized, default credit card form for gateways to use if they support 'default_credit_card_form'. Closes #3616
2013-09-27 13:22:08 +01:00
Coen Jacobs
54fceb7d99
Use version_compare to check for required jQuery. Closes #3567
2013-08-06 13:27:36 +02:00