Skip to content

Ecommerce: Cart Summary starter block

Reference · Intermediate · Bootstrap 5

Arrange product or order information before connecting a real commerce workflow.

Arrange product or order information before connecting a real commerce workflow.

  • A page with Bootstrap 5 included. Load its JavaScript for collapse, dropdown, tab or dismiss interactions.

Arrange product or order information before connecting a real commerce workflow. This reference describes the inserted template. It contains static sample content and no App Connect data bindings or application event handlers.

Insert the block into a Bootstrap 5 page, then expand it in App Structure. Select the child whose content or styling you want to change; there is no separate block configuration form.

Part How to adapt it
HeadingsStart with the h2 reading “Your cart”. Replace sample headings with your own content and keep their levels consistent with the surrounding page.
Responsive columnsThe template uses `col-lg-7`, `col-lg-5`. A numeric span is a fraction of the 12-column row; a breakpoint-qualified span applies from that breakpoint upward. Change the column, then check both narrower and wider views.
ImagesReplace the 3 image elements with your own sources and appropriate alt text. Preserve or deliberately change the crop/aspect ratio. Remote sample image URLs are not bundled project assets.
LinksReview all 3 anchors. Replace placeholder # links and sample routes with working destinations; a sample /login or /signup path does not create that page.
Application buttonsThe sample includes 12 buttons without an application event binding. Native submit/reset behavior still applies when those types are used inside forms. Give icon-only buttons an accessible name and connect or remove actions users cannot yet complete.

Quantity, coupon, remove and save-for-later controls are unconnected. Calculate authoritative prices, stock, discounts and totals on the server; update the displayed summary from that result. The inserted cart does not create an order or take payment.

Change the first heading from “Your cart” to a title appropriate to your page, for example “Review your order”. Preview the page at narrow and wide widths and confirm the text remains readable without clipping. Then replace the remaining sample content and verify every route or control you kept.

Use the starter-block guide for insertion and adaptation. For live records or user actions, connect the matching App Connect workflow after the static layout is readable.

You can identify the inserted parts, replace sample content and distinguish supplied Bootstrap behavior from application work still to implement.