Yes. The easiest way is the Everywhere Method, available on every plan including Starter. Everywhere fees are added automatically by Shopify at checkout, so they work with your headless cart and checkout. There is no theme code or app block to install. Create a fee using one of the conditions (product tag, collection, specific products, product type, or storefront country) and it applies automatically.
If you are on Shopify Plus, the checkout UI extension is also a great option, and it is the one to choose when your fee needs conditions the Everywhere Method does not support, such as payment method or customer tags.
Note that with either approach, fee information is not displayed on the product or cart pages of a headless store. Buyers first see the fee at checkout.
Always label deposits separately for compliance
Display bottle deposit fees as a clearly labeled, separate line item at checkout and on receipts. This meets regulatory transparency requirements, builds customer trust by showing exactly what they're paying, and makes it significantly easier to track deposits for reporting and audits. Use a clear label like "Bottle deposit" or "Container deposit (CRV)" so customers immediately understand the charge.
Originally from our Help Center