Please help for the steps to disable intro text (or) increase number of characters in Product detail page
AND
Description in the same page.
Images are attached.
echo JHtml::_('string.truncate', strip_tags($this->product->product_short_desc), $this->params->get('desciption_limit', 100));
echo JHtml::_('string.truncate', strip_tags($this->product->product_short_desc));
<?php echo JHtml::_('string.truncate', $this->product->product_short_desc, $this->params->get('desciption_limit', 250));
I have an issue with the description. I don't want to use readmore anymore. I want to use charachter limit for intro text description only without strip tags. So I used the following code instead:
<?php echo JHtml::_('string.truncate', $this->product->product_short_desc, $this->params->get('desciption_limit', 250));
But the code don't affect only the short description at the top, but also affect the long description too and the text in the long description shorten also.![]()
How can I use this code for the short description only? Not for both descriptions?
Kindly find the attached image. You will see that the main description (at the bottom) was shorten also. That I don't need. I want only the short description at the top to be shorten, without using readmore line, but by using description limit characters as from the code above.
I hope you reply!
Thanks in advance!
<?php
$excerpt = substr( $this->product->product_short_desc, 0, 200 );
echo $excerpt;
?>
That is the same solution I have made using read more line. But I want to tell you that the main purpose of that demand, that the manager of the website is not good at technichal things, so I'd like to mak it easier to him to run the text automatically via shorten chatacters.
So any solution to remove read more line and using only shorten characters limitation?