Hi Mohammed,
Thanks for that. Unfortunately the suggestions in that thread did not solve my problem however i did find the problem. in show_default.php i added the following code:
if($this->element->product_description){
echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
}else{
echo '<p>Sorry, we\'re still in the middle of writing up this description, but we wo\'nt be long, so be sure to check back soon. Thanks</p>';
}
this breaks the hikashop_social plugin but i don't understand why???
whereas if i remove the expression:
echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
it's fine!
I'm trying to add a default message when a product description is missing. any ideas?
thanks