Display and update a Cart on a statically generated site

Hi and forgive me if this question has been asked before as Iโ€™m very new to Shopify (yesterday!). Is it possible to add a cart to a static site that integrates with Shopify? The customer has a CMS and Shopify and want the purchasing / checkout journey as much as possible to be โ€œinโ€ the CMS. Hope this makes sense :slightly_smiling_face: