and look for the line containing the code: foreach ($ categories as $ category) {
if ($ icle == 1) {/ / this is an indicator wether a row needs to be Opened or not
echo "\\ n";} if ($ icle == 1) {/ / this is an indicator wether a row needs to be Opened or not
?>
grafting the code below in red
foreach ($ categories as $ category) {if (($ category ['number_of_products']) == "(0)") continuous, / / \u200b\u200bhack
if ($ icle == 1) {/ / this is an indicator wether a row needs to be Opened or notThis simple condition that prevents content from being displayed without the categories, using the command "continue" inside the foreach loop that generates the Table of category names.
echo "\\ n";}
?>
0 comments:
Post a Comment