Adding a custom button to checkout or cart

Hi, I am currently coding and designing our new website for 2024, and I was wondering whether there is a way to add an option so that customers can buy a year or a month of postage ahead of time so that they will keep coming back.

Thank you for your help

Grace

If you’re on a Shopify Plus store, then you can use Shopify Checkout UI extensions to add buttons to checkout: https://shopify.dev/docs/api/checkout-ui-extensions

Otherwise, you can edit your theme’s Liquid code to add custom UI to the cart page.