DagCardella Posted November 18, 2020 Share Posted November 18, 2020 Hello, i'm using a management software to export all of my products before I can upload them to Prestashop: since the title are getting wiped out at every upload (I know I can just ignore the title column, but I work for a pharmacy and products are constatly changing, so I add a lot of them every time) I'm using the meta tag. The product names from the management are ugly as hell (it's a kind of conventional code of abbreviation for pharmacies, where, for instance, "pills" are "PLL"): is there a way to let the customers display the meta title in place of the ugly product name? I attached a screenshot with highlighted ugly title and meta title (as under <head>) Thank you in advance! Link to comment Share on other sites More sharing options...
Kogkalidis Posted November 18, 2020 Share Posted November 18, 2020 You could update the product name based on the meta title. As fallback, you could write a piece of code that will handle the name before creating/updating the product. For example you could replace PLL with pills etc 😉 Link to comment Share on other sites More sharing options...
DagCardella Posted November 18, 2020 Author Share Posted November 18, 2020 20 minutes ago, tapanda.gr said: You could update the product name based on the meta title. How? Is Javascript an option I should look into? Link to comment Share on other sites More sharing options...
Kogkalidis Posted November 18, 2020 Share Posted November 18, 2020 Before importing, you could build a module which will manipulate the data the shop gets from the external service. Link to comment Share on other sites More sharing options...
DagCardella Posted November 18, 2020 Author Share Posted November 18, 2020 It seems a cumbersome solution: I already got the "meta title" written in its location, I just need prestashop frontend to display that instead of the product name... but when I analyzed the product page I found that there are two <title> tag, one in the head section (that's the meta title, which is what I want my customers to see) and the other one in the body section (the ugly one, but that I can't get rid of because it's automatically imported each time I run the cvs upload) 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