What is COD
When les, l’, le, or la replaces the article and the noun in a sentence where you would have to be in person to know what exactly the noun is referring to.
ie
Je mangé ce pomme (this apple) becomes Je la mangé
we don’t know which apple is “this apple” even if it was “the apple” we know its an apple that is there but not which exact one unless we are there in person- since it makes sense for inperson we can replace it with a word like we eat it (bc either way would have to be in person and for person to gesture to object in question to get full context)
For direct pronouns (le, la, l’)
get rid of the noun and its pronoun then put the COD pronoun (which will in this one be the same as the noun pronoun since COD is direct pronoun) after the personal pronoun but before the verb
ie Je mangé le pomme becomes Je le mangé
For other pronouns (ces - means this)
do the same get rid of the object and its pronoun then place the COD pronoun (only it will not be the same as the pronoun we removed this time) after the personal pronoun and before the verb
ie Je mangé ce fruit - Je le mange
For passé compose (when we have our personal pronoun then avoir or être conjugated according to that personal pronoun and then our verb conjugateed accoridng to passe compse rules) we get rid of the object (what we do the verb to) and its pronoun and place the COD pronoun right after the personal pronoun and before the conjugation of être and avoir
ie j’ai mangé ce fruit becomes je l’ai mange
for le and la (use if the object is masculine or feminine singular) if the word after starts with a vowel then le and la become “l’” if the pronoun to be used is les (indicates if the object is plural) do not change to l’ if the word that comes after is a vowel
for l’imperatif (start with tu,nous and vous conjugations only, (for verbs that end in “er” remove the “s” off of the tu conjugation- and keep the tu conjugation as is for verbs that end in “ir” or “re”, then remove the verb pronoun so you just have the verb in its conjugated form, for reflexive form if was conjugated for tu do “verb conjugation-toi”, “verb conjugation-nous” and “verb-conjugation-vous” (depending on which it was conjugated for)- for negation for none reflexive just do ne “imperatif conjugation” pas and for reflexive get ride of “- toi/nous/vous” and do “ne toi/nous/vous conjugated verb pas”
get rid of object and its pronoun then do “imperatif conjugation - COD”
ie
Achetez ces livres becomes Achetez-les
usually the COD (le, la, les, or l’) follows the gender and plurality of the object that we get rid of in the sentence - with an acception being for avoir
if the article for the object is une/un the rules that follow will be according ot if it is in imperatif form, passe compose form or neither (just use same rules)