Commit Graph

18 Commits

Author SHA1 Message Date
claudiulodro 4d6ab678c1 Fix linter errors 2018-08-30 09:56:26 -07:00
Mike Jolley 9f6c7e2a57 JS min 2018-05-31 10:44:52 +01:00
Mike Jolley 43f8e1b056 Remove fragment when appending geolocation hash
Fixes #18083
2017-12-11 13:31:54 +00:00
Mike Jolley a1940f2da3 Grunt dev 2017-06-19 12:49:34 +01: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
Mike Jolley e863c4678a min 2015-09-07 16:58:13 +01:00
Mike Jolley 779e23dfe3 Check for method 2015-09-07 11:38:24 +01:00
Claudio Sanches 1f484e09ed Fixed jslint issues
@mikejolley
2015-09-01 22:10:00 -03:00
Mike Jolley c7a7db4679 For geolocation with static cache support, ensure hash is appended during form submission.
@claudiosmweb Closes #8967
2015-09-01 13:17:59 +01:00
Mike Jolley d0c2c10c47 Made the linter happy 2015-07-27 17:55:37 +01:00
Mike Jolley 2834eff221 Merge branch 'variations-8477'
Conflicts:
	assets/js/frontend/add-to-cart-variation.js
	assets/js/frontend/add-to-cart-variation.min.js
	assets/js/frontend/add-to-cart.min.js
	assets/js/frontend/checkout.min.js
	assets/js/frontend/geolocation.min.js
2015-07-10 11:37:05 +01:00
Claudio Sanches 62d879e86c Fixed all jshint errors #4680 2015-07-10 02:13:30 -03:00
Mike Jolley 65f19d5ca7 Ajax variation handling
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Mike Jolley 1489fafd06 Need to re-geolocate on page load to refresh cached pages being viewed with wrong hash 2015-06-22 15:35:46 +01: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