The ‘She Wolf’ hitmaker agreed to appear in an advert for a Spanish cava drink in return for the company, Freixenet, making the donation to her charitable foundation Pies Descalzos.
She said: "Education is a birthright and a quality education is the only tool that a child has to turn dreams into reality.
"Since I was a girl I have been aware of the tough reality faced by many children."
Under the terms of the agreement, Freixenet will also produce a documentary about Pies Descalzos and make the music video for Shakira’s forthcoming single ‘Sale El Sol’.
This is not the only charitable action Shakira – who filmed the advert in Barcelona, Spain, last week – has done recently.
The Columbian-born beauty has also donated the harmonica she used in her music video ‘Gypsy’ for an auction being held by her home country’s branch of the Red Cross in aid of their campaign Dar por Colombia hoy (Give to Columbia Today), which aims to raise money for victims of the harsh rainy season.
Sofia Vergara and baseball star Edgar Renteria have also contributed to the campaign.
The prolonged winter in Columbia has left more than 1.3 million people homeless.