Reporting sales of goods that was sold at a loss

Hello! 

What if we sold goods, in this case shoes at various sales prices, but some of them were sold at a loss (less than what it was purchased for). Do we still get taxed on these losses because the IRS taxes the whole total of sales?

 

How do we avoid getting taxed twice if we already paid a sales tax for the original price of the goods?