How affiliate marketing protects retailers against the cost of living crisis