Allows you to set the customer addresses in the shopping cart (quote).
customerAddressData
is an array of shoppingCartCustomerAddressEntity objects.
magento.checkoutCartCustomer.addresses({
quoteId: val,
customerAddressData: [ val, val, val ],
storeView: val /* optional */
}, callback);
// or a single address
magento.checkoutCartCustomer.addresses({
quoteId: val,
customerAddressData: val,
storeView: val /* optional */
}, callback);
Allows you to add information about the customer to a shopping cart (quote).
customerAddressData
is an array of shoppingCartCustomerEntity objects.
magento.checkoutCartCustomer.set({
quoteId: val,
customerData: [ val, val, val ],
storeView: val /* optional */
}, callback);
// or a single cell of data
magento.checkoutCartCustomer.set({
quoteId: val,
customerData: val,
storeView: val /* optional */
}, callback);