A glut of promotions on petrol and high levels of discounting on the high street helped drive a surprise rise in retail sales in July.
Retail sales volumes rose 0.3 per cent between June and July, the Office for National Statistics (ONS) said, defying expectations of a 0.1 per cent fall.
And the figure for June was revised significantly higher to 0.8 per cent from a previous estimate of 0.1 per cent after additional information was received from retailers.
Strong fuel sales were the main driver of growth as supermarkets put on special offers to boost trade, while sales volumes excluding fuel were flat despite the ongoing discounting on the high street but this was still better than the 0.2 per cent fall expected in the City.
The period covered the first two days of the Olympics but the ONS said this had no noticeable impact on sales.
Meanwhile, there was welcome news for hard-pressed consumers after the ONS said shop price inflation slowed to 0.2 per cent in July, its lowest rate since October 2009.
Economists had feared that sales volumes would be weaker in July amid anecdotal evidence that retailers had been forced to bring traditional summer sales forward to June in a bid to boost trade amid the wash-out start to the summer.
But the figures suggest that continued discounting and improved weather in the second half of July helped boost trade. Vicky Redwood, UK economist at Capital Economics, said: "The latest UK retail sales figures are pretty good – as much for the upward revisions to past months as for July's figure.
"What's more, sales should maintain this recent positive momentum in the near term as the boost from the Olympics comes through."
She believes August's figures will benefit from the feel-good factor around Team GB's success but fears sales may slow again later in the year.
The big upward revision to June's data brings it more in line with industry reports which suggested that retailers benefited from the celebrations surrounding the Queen's Diamond Jubilee.
The revision means that retail sales volumes fell 0.3 per cent in the second quarter of 2012, up from the previous estimate of 0.7 per cent.
But because retail is only a small part of the economy, this is not expected to have a significant impact on the reading for GDP in the second quarter of 2012, which shrank by 0.7 per cent, according to preliminary estimates.
Food retailers saw a 0.4 per cent increase in sales volumes in July although non-food stores continued to suffer, with volumes down 1.8 per cent on the previous month. The strong growth of internet sales continued, with sales up 14 per cent on the previous year to over £500 million. The internet now accounts for 8.5 per cent of all retail sales excluding fuel.