The next two rules, Price and TotalPrice, are similar to the previous rule.
接下来的两条规则,Price和To talPrice,类似于上一条规则。
These binds perform the calculations for the Subtotal and Totalprice fields (see figure 15).
这些绑定执行 Subtotal 和 Totalprice 字段的计算公式(参见图 15)。
The other field of Cart that the client is interested in is the totalPrice, representing the sum total of everything in the shopping cart.
客户对 Cart 感兴趣的其他字段是 totalPrice,它代表购物车中所有商品的金额汇总。
应用推荐