The gift certificate amount is deducted from the purchase price.
In the example below, the gift certificate had enough value to cover the full purchase.