Eros eros Posted April 15 Share Posted April 15 (edited) Hi guys, i would like to add the read more button on the product description to avoid viewing it in full when they are too long. how to do? Edited April 15 by Eros eros (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 15 Share Posted April 15 Hi Eros, Please check the attached solution. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 15 Share Posted April 15 https://easyupload.io/230nci Link to comment Share on other sites More sharing options...
Eros eros Posted April 15 Author Share Posted April 15 Thank you, but there is this error:Uncaught TypeError: Cannot read properties of null (reading 'style') here if (fullDesc.style.display === 'none') Link to comment Share on other sites More sharing options...
Eros eros Posted April 15 Author Share Posted April 15 I also take this opportunity to ask for further advice, I cannot in any way display 2 products per row in the mobile view (screen smaller than 500-600 px) applied various solutions that I found in the forum (including modifying the css through @media or changing the tpl files) but nothing... my theme is the classic one with PS 1.7.8.11 Link to comment Share on other sites More sharing options...
Eros eros Posted May 11 Author Share Posted May 11 hi guys, if after pressing close (after reading the whole text) I wanted to go back to the precise point where the read more is, how to do it? Link to comment Share on other sites More sharing options...
JBW Posted May 28 Share Posted May 28 You can check out my module "Expandable descriptions"https://addons.prestashop.com/en/additional-information-product-tab/49795-expandable-descriptions-read-more-button-in-texts.html Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 28 Share Posted May 28 Hi, I've developed a module that allows you, in its latest version, to unfold the text of the home page, category descriptions and product descriptions, a real plus for not disturbing visitors while offering longer texts to improve SEO. You can find a presentation on the forum : Link to comment Share on other sites More sharing options...
ZHSoft Posted May 29 Share Posted May 29 Use a CSS style sheet, hide it, then add a JS event, click and then display the full version of the CSS, and it can be done by a general junior programmer. 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