As Percysmith stated, you qualify for a lounge pass if your ticket is issued by CX (160), so you have to make sure that it is. It does not matter if you bought it by a TA.
However, check that the lounge you desire is among the very few listed in the link you quote.
The ticket on trip.com is probably much cheaper because it has more restrictions than the one quoted by CX website.