Aileen Barry was injured after falling 3ft at Edinburgh's Auld Christmas Shop in the city's Lawnmarket area in October 2009.
Edinburgh Sheriff Court heard yesterday Mrs Barry was suffered a fractured ankle and broken bones in the fall and needed several operations to correct her injuries.
The court heard how the 54-year-old visitor from Limerick, Ireland, was left with scars and in constant pain.
The company that owned the business - Gold Brothers, of High Street, Kirkcaldy, Fife - pled guilty to breaking the law before Sheriff Roderick MacLeod.
The court heard Gold Brothers had taken over the premises, a former whisky shop, months earlier.
They had carried out renovations and removed a staircase that connected the shop floor with a basement. They installed trap doors, which workers used to climb down to a stock room and to use the staff toilet.
On the morning Mrs Barry visited the shop, members of staff had been working in the basement and had forgotten to shut the trap door. Mrs Barry walked over the trapdoor and fell down injuring her ankle.
On passing sentence, Sheriff MacLeod said that had the company not pled guilty, he would have fined it £24,000. It was given two years to pay the fine.