Integrate a MiniCart

Context: MiniCart is the (usually tiny) icon somewhere in the header of all pages which shows how many items the customer has in the cart and which links the cart itself.

EXT:cartintegration/Configuration/TypoScript/setup.typoscript
lib.miniCart = COA_INT
lib.miniCart {
  10 = USER_INT
  10 {
    userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
    extensionName = Cart
    pluginName = MiniCart
    vendorName = Extcode
  }
}
Copied!
EXT:sitepackage/Resources/Partials/Header.html
<header>
   ...
   <!-- Somewhere in the header of your page -->
   <f:cObject typoscriptObjectPath="lib.miniCart"/>

   ...
<header>
Copied!