Basically. You change "so" to "that".
Student or Learner
I liked the dress and told her so.
Is this sentence correct? If it’s correct, ‘so’ means ‘I liked the dress’, doesn’t it?
What about the following sentence? Is it correct?
I didn't like the dress and told her so.