Checkout extension not showing when cart contains only digital product

I have a checkout extension that has been working great. It adds an option for the customer to add an upsell product to their cart at checkout, we’ve come across an issue when there is only a digital product(s) in the cart (i.e. a gift card). The div that should be added that contains the upsell product’s details and button to add to cart does not get added to the DOM. This only happens if the cart only contains a digital product.