How is the isLoggedIn() method of the «Magento_Customer/js/model/customer» object implemented and used?

magento_customer-js-model-customer
customer
javascript
frontend-checkout-customer-data
customer-authentication
(Dmitry Fedyuk) #1

Implementation

Usages

1. Magento_Checkout/action/get-payment-information.js

2. Magento_Checkout/action/place-order.js

3. Magento_Checkout/action/set-billing-address

4. Magento_Checkout/action/set-payment-information

5. Magento_Checkout/model/customer-email-validator.js

6. Magento_Checkout/model/resource-url-manager.js

7. Magento_Checkout/view/authentication.js

8. Magento_Checkout/view/billing-address.js

9. Magento_Checkout/view/shipping.js

10. Magento_Checkout/view/form/element/email.js

11. Magento_Checkout/view/view/payment/default.js

The «Magento_Checkout/view/view/payment/default.js» object loads the «Magento_Customer/js/model/customer» object but never uses it.

12. Magento_Paypal/action/set-payment-method.js

0 Likes

How to programmatically check on the frontend checkout screen client side (with JavaScript) whether the customer is authenticated (logged in)?
How to get the customer's data on the frontend checkout page's client side (with JavaScript) using the «Magento_Customer/js/model/customer» object?
The «Magento_Customer/js/model/customer» JavaScript object interface
(Dmitry Fedyuk) #2

See also:

0 Likes