render edit only when the gift code cannot be applied