added
Storefront API: new and updated methods
6 months ago by Walter
We have added two new JavaScript methods to our Storefront API:
The Ecwid.Customer.get()
method allows receiving customer details on the storefront. It works with the same customer
entity as the Ecwid.OnSetProfile.add()
, but allows you to receive customer details without any trigger functions.
The Ecwid.Customer.signout()
method allows to force customer signout, which was impossible previously.