A prolific thief from Barry has been banned from shops in the Holton Road and Waterfront areas.
Philip Tamlin admitted five thefts, including three from the Morrisons supermarket on Penny Way and two from the Co-op and One Stop stores.
Last month, the 49-year-old served a two-week jail sentence and was ordered to pay compensation.
Cardiff magistrates heard Tamlin regularly entered shops with no intention to buy anything - and police said he became confrontational and aggressive when being challenged.
He was given a two-year criminal behaviour order (CBO), which the court heard was necessary to prevent crime and to protect the local community, workers and the public from continuing distress, disruption and potential harm.
As part of the CBO, he is banned from the Waterfront Retail Park at Heol Ceiniog and cannot enter Holton Road unless he has a pre-arranged appointment with a GP or a support agency.
He cannot enter any retail premises in Barry unless he has a means to pay for items and must leave when asked to do so.
Tamlin was also banned from any council building unless there was a pre-arranged appointment and could not approach anyone in a public place in an abusive or threatening manner.
PC Adrian Mascat, an anti-social behaviour co-ordinator at South Wales Police, said: "We work closely with retailers and businesses to protect them from crime and anti-social committed by individuals like Philip Tamlin."
"Shoplifting can have a devastating impact on shopworkers and retailers."
South Wales Police said it had adopted a new wider approach to tackling shoplifting in Cardiff and the Vale in response to a rise in retail theft.
Officers have been sharing intelligence with local retailers as well as arresting prolific offenders and those who profit from such crimes in an effort to improve trust and confidence among the region's business community.

Vueling withdraws winter flights to Aicante this winter
Playground in Barry forced to close after fire damages equipment
Campaigners Take Fight for Fairer Pathways in Welsh Women’s Football to Parliament
Vale Councillor Gwyn John Launches His First Novel at Llantwit Major Book Signing
Pink poppy display commences with celebration of life
Former Barry office block converted into new homes for people at risk of homelessness
Welsh Government publishes independent report on Level 4 intervention at Cardiff and Vale UHB
Three CoastSnap stations set to be installed along the Glamorgan Heritage Coast
Daffodil Runner statue installed at Marie Curie Hospice in Penarth
Woman Dies After Incident in Leckwith as Police Investigation Continues
Vale entrepreneur wins national Innovate UK award for sustainable construction technology
Cardiff Airport retains top accessibility rating as regulator reports record demand for assistance
Open Doors event to showcase hidden world of Glamorgan Archives
New details have emerged of a new tree-lined public square that will replace a traffic dominated junction
Dyffryn Gardens’ Edwardian rose garden blooms again after decade-long restoration
Barry’s Own Daniel White to Walk 190 Miles Back to Where His Round Table Story Began
1,300 people attend Flying Start Family Fun Day
Dispersal order put in place to tackle anti-social behaviour
Interim Chief Executive Appointed at Cardiff and Vale University Health Board
Cardiff Theatre Marks 50 Years of Service for Long‑Standing Staff Member