Answer:
First, the value of used goods that are resold doesn't count in GDP, though a value-added service associated with reselling the good would be counted in GDP. Second, goods that are produced but not sold are viewed as being purchased by the producer as inventory and thus counted in GDP when they are produced.