File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
view/frontend/web/js/view/checkout Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
#### Fixed
11
11
- Fixed Deprecated use of base64_encode in Observer/SalesQuoteSaveAfter.php
12
+ - Fixed profile identification on checkout page
12
13
13
14
### [ 4.2.0] - 2024-09-17
14
15
Original file line number Diff line number Diff line change @@ -45,11 +45,14 @@ define([
45
45
}
46
46
47
47
self . _email = jQuery ( this ) . val ( ) ;
48
- if ( ! window . klaviyo . isIdentified ( ) ) {
49
- window . klaviyo . push ( [ 'identify' , {
50
- '$email' : self . _email
51
- } ] ) ;
52
- }
48
+
49
+ window . klaviyo . isIdentified ( ) . then ( ( identified ) => {
50
+ if ( ! identified ) {
51
+ window . klaviyo . identify ( {
52
+ '$email' : self . _email
53
+ } ) ;
54
+ }
55
+ } )
53
56
self . postUserEmail ( self . _email ) ;
54
57
} ) ;
55
58
} ,
You can’t perform that action at this time.
0 commit comments