本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
cart page template renders the shopping cart page where customers can check what they have added to their shopping cart, and then simply proceed for checkout. The general view of this page displays the list of the items added to the cart, so then the customer can modify any quantity or remove any item.
breadcrumbs component. The {% component breadcrumbs %} line returns the current navigation for the user.cart page template calls for the following hooks in order to inject extra information.cart page template consists of several parts, which are a form to display all of the cart's items/product, free shipping option, and any added discount.<form>, the developer can display all of the items added to the cart. All of the items can be displayed along with their options by using a for-loop statement as follows:cart.free_shipping_bar.has_free_shipping, the developer may check if there is free shipping selected, and then build the logic to handle this part.store.settings.cart.apply_coupon_enabled variable. Accordingly, any given discount can be shown using the cart.real_discount varible.扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群