There is a line:
Ссылка на описание и полную версию You need to check the variable for the presence of such a string.
$find = "Ссылка на описание и полную версию"; if(strpos($productArr[$i]["description"],$find)){ $description = ""; } else{ $description = $productArr[$i]["description"]; } Here is the whole line I get:
Ссылка на описание и полную версию :https://crispy.com.ua/ottie/first-swing-recovery-essence-ottie I can not understand why does not find the occurrence of this substring