That's even better, but then how do you get Apple to respect the Sales of Goods Act? They generally turn you away after your 1-year warranty expires, saying that you'll have to pay for the repairs. What can you do?
"Sales of Goods" act requires that you prove the product was defective (if the problem happens after more than six months, and before it is covered by 1 year warranty anyway).
You say "how do you get Apple to respect the Sales of Goods Act?" It's really "how do you get the seller to respect the Sales of Goods Act?" Unless you buy from an Apple Store, the seller responsible is not Apple.
In practice, the first step is that you need to convince someone in the store that you _could_ prove the product was defective, and alternatively, that you would be very annoyed and not buy at the store ever again. That's the first step. If that doesn't work, you need to provide proof that the product was defective. For example, by having an independent competent person check it. If that doesn't work, you would have to take the seller to court.
So if they say "it's past the one year warranty, so you have to pay", you say calmly and looking as if you know what you are talking about "no, that is wrong, the problem was definitely present when I bought the product, and I'm sure I can prove it if I have to" and go from there.
BTW. "It's defective" and "it doesn't work" are not the same thing. Let's say the hard drive is mounted improperly, so it vibrates a lot, and therefore breaks down after 18 months instead of 3 years. It stops working after 18 months, but the defect ("mounted improperly") was present from day one, so it would have to be fixed.