A glut of promotions on petrol and high levels of discounting on the high street helped drive a surprise rise in UK retail sales in July.
Retail sales volumes rose 0.3% between June and July, the Office for National Statistics said, defying expectations of a 0.1% fall.
The figure for June was revised much higher to 0.8% from a previous estimate of 0.1% 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.
Sales volumes, excluding fuel, were flat despite the ongoing discounting on the high street but this was still better than the 0.2% 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 in the UK after the ONS said shop price inflation slowed to 0.2% 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.
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% in the second quarter of 2012, up from the previous estimate of 0.7%.
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%, according to preliminary estimates.
Food retailers saw a 0.4% increase in sales volumes in July although non-food stores continued to suffer, with volumes down 1.8% on the previous month.
The strong growth of internet sales continued, with sales up 14% on the previous year to over £500m. The internet now accounts for 8.5% of all retail sales excluding fuel.