Can Consignment shop donate and claim?

Most consignment shops gain property rights to their products after an expiration period. After this expiration period, they usually take the clothing they now own and donate to charity. Can these items still be claimed on taxes, even if the shop didn't buy these items (they have $0 purchase value since they were all "given" to the shop)?