They should offer to repair or replace them. If they can't they should offer a refund, but they can deduct an amount for the usage you have had. The amount deducted would need to be negotiated but many shop will not do this even though it is within their rights.
See my signature below: