YOU SAID:
私は娘のために砂糖を買うために店に行きました
INTO JAPANESE
私は娘のために砂糖を買うために店に行きました
BACK INTO ENGLISH
I went to the store to buy sugar for my daughter
INTO JAPANESE
私は娘のために砂糖を買いに店に行きました
BACK INTO ENGLISH
I went to the store to buy sugar for my daughter.
INTO JAPANESE
私は娘のために砂糖を買うために店に行きました。
BACK INTO ENGLISH
I went to the store to buy sugar for my daughter.
That didn't even make that much sense in English.