If at the time of the sale the thing sold had perished in its entirety, the sale would be void.
If only part of the thing has perished, it is at the option of the purchaser to abandon the sale, or to demand the part retained, having the price determined by the breakdown.