Milano2 Posted September 15, 2020 Share Posted September 15, 2020 I have 20 thousands products into the database, but unfortunately without short description Is there a simple and quick way to add a short description? Maybe some script like: if empty short desc, display the first 200 characters from full description? Thanks for any help. Link to comment Share on other sites More sharing options...
ZHSoft Posted September 16, 2020 Share Posted September 16, 2020 UPDATE `ps_product_lang` SET `description_short`=SUBSTR(`description`,1,200) WHERE `description_short`=''; Link to comment Share on other sites More sharing options...
TehranShop Posted September 16, 2020 Share Posted September 16, 2020 4 hours ago, ZhSoft said: UPDATE `ps_product_lang` SET `description_short`=SUBSTR(`description`,1,200) WHERE `description_short`=''; Hi ZHSOFT where is this code and how to find it? Thanks Link to comment Share on other sites More sharing options...
Maria Kvasnytska Posted September 16, 2020 Share Posted September 16, 2020 If you do not want to do it programatically, you can use the free trial version of Store Manager for PrestaShop, there's a possibility to export product ID and short description tables only. Add descriptions to the file and import it back. Link to comment Share on other sites More sharing options...
TehranShop Posted September 16, 2020 Share Posted September 16, 2020 22 minutes ago, Maria Kvasnytska said: If you do not want to do it programatically, you can use the free trial version of Store Manager for PrestaShop, there's a possibility to export product ID and short description tables only. Add descriptions to the file and import it back. Hi Maria Kvasnytska this way is too long for anybody maybe export some tables from phpmyadmin and edit it or send some query to DB? Thanks Link to comment Share on other sites More sharing options...
JBW Posted September 16, 2020 Share Posted September 16, 2020 Just put the SQL statement into phpMyAdmin directly Link to comment Share on other sites More sharing options...
ZHSoft Posted September 16, 2020 Share Posted September 16, 2020 11 hours ago, TehranShop said: Hi ZHSOFT where is this code and how to find it? Thanks phpmyadmin,run it. 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