{
            totalSum = response.data.price;
            $dispatch( 'update-cart-price', response.data );
        } );
    "
    @add-cart-item.window="
        itemsCount=Cart.getTotalItemsCount();
        Cart.getTotalSum().then( ( response ) => {
            totalSum = response.data.price;
            $dispatch( 'update-cart-price', response.data );
        } )
    "
>