refreshCart( )


Updates cart UI elements, like the Cart Icon and Side Cart with the most recent cart data.

について refreshCart() function returns a Promise that resolves when the latest cart data is retrieved, and the cart UI elements are refreshed.

注: Calling the refreshCart() function will trigger the onCartChange() event handler.

メソッド宣言
コピー
リクエスト
このメソッドはパラメータを取らない
役に立ちましたか?
はい
いいえ