Breakdown of En la tienda, una docena de huevos cuesta dos euros y noventa céntimos.
una
a
en
in
y
and
de
of
Questions & Answers about En la tienda, una docena de huevos cuesta dos euros y noventa céntimos.
Why does the sentence start with En la tienda?
Why is there a comma after En la tienda?
The comma separates the opening location phrase from the main part of the sentence. It works a bit like an introductory phrase in English, as in In the shop, a dozen eggs costs.... In short sentences, Spanish sometimes omits this comma, but using it here is perfectly natural.
Why is it una docena and not un docena?
Because docena is a feminine noun in Spanish, so it takes the feminine article una. Even though a dozen is a quantity, you still match the article to the gender of docena, not to the gender of huevos.