SAP Spartacus checkout页面的入口逻辑


checkout url: http://localhost:4200/electronics-spa/en/USD/checkout/shipping-address

首先读取checkout页面的CMS信息:


然后再读取not found页面的信息:


再读取shipping address页面的CMS信息:

读取address:

读取delivery mode:

读取carts 8679的信息:
https://spartacus-dev0.eastus.cloudapp.azure.com:9002/occ/v2/electronics-spa/users/current/carts/00008679?fields=DEFAULT,potentialProductPromotions,appliedProductPromotions,potentialOrderPromotions,appliedOrderPromotions,entries(totalPrice(formattedValue),product(images(FULL),stock(FULL)),basePrice(formattedValue,value),updateable),totalPrice(formattedValue),totalItems,totalPriceWithTax(formattedValue),totalDiscounts(value,formattedValue),subTotal(formattedValue),deliveryItemsQuantity,deliveryCost(formattedValue),totalTax(formattedValue,%20value),pickupItemsQuantity,net,appliedVouchers,productDiscounts(formattedValue),user&lang=en&curr=USD



你可能感兴趣的:(SAP Spartacus checkout页面的入口逻辑)