The first step of the proposed mechanism is the formation of an ester via O-acylation of the hydroxyl group of the phenol derivative next step includes a complexation of aluminium chloride to the carbonyl oxygen of the ester and to the oxygen of the methoxy group firstly, fries rearrangement occur as shown. after that eliminate acylium carbocation which is coordinated to the aluminum is under go friedel-crafts acylation
Anussara
4) Condition occur as shown