BUTTONBADGE Posted April 30, 2010 Share Posted April 30, 2010 Hi, I have listed around 2000 items in prestashop, but unfortunately I have entered all my product titles in capital letters. On submitting my google data feed i was met with disapproval because of the excess capitalisation of my site.....Oooops. I am gutted, needless to say. Is there a way of bulk editing, so that my listings can be converted from UPPERCASE to Title Case. Or am I going to have to start again from scratch???Many thanks in advance for any help offered. Link to comment Share on other sites More sharing options...
mrFox Posted April 30, 2010 Share Posted April 30, 2010 You could get round this using a php function.Make a php file that reads your database, gets the title, and changes the wording to title case. Just have it loop through every entry until complete.Unfortunately I'm snowed under at the moment so I can't provide anything for you. Maybe another member can help? Or look up on Google for a solution? The php function you will need is ucwords();so in your loop you will need it so that: //$string = the uppercase text from your database $string = ucwords($string); //re-save it in it's new format Link to comment Share on other sites More sharing options...
BUTTONBADGE Posted April 30, 2010 Author Share Posted April 30, 2010 Hi and thanks for taking trouble to reply, it's much appreciated. I will test what you recommend on my localhost. I have to admit, i am a relative beginner and am somewhat daunted. Will this method be fool-proof:-) ???thanks again Link to comment Share on other sites More sharing options...
mrFox Posted April 30, 2010 Share Posted April 30, 2010 I'd either test it on a backup of your live data, or a small, newly-created database made purely for testing ;-)good luck! Link to comment Share on other sites More sharing options...
BUTTONBADGE Posted April 30, 2010 Author Share Posted April 30, 2010 Thanks sir, i have a feeling that this may be a little (lot) beyond me, but I'll try....Would you happen to know if there are any applications that do this automatically?Again my many thanks for your time,paul Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now