I am using Commerce Userpoints to award points based on purchases and then customers can use those rewards on future purchases for a discount.
I'd like to customize the checkout pane if the user has already applied a discount. Commerce Userpoints Discount creates a line item type of
userpoints. My initial idea was to check if the current order contains a line item of type
userpoints, but I'm not sure how to do that. Any help would be appreciated!