You’ll earn commission on the full-cart value for a transaction, no matter if the user purchased the item you promoted. For example, if you promote a pair of shoes which retail for $50, but a user clicks your link and purchases $150 worth of items, you’ll earn commission on their full order.
Find more details on this here.