Else: Show Message Outside of Product Loop
It appears that you have some mixed syntax. The endwhile; does not need a closing curly brace. I think that the curly brace you have there is closing the else that comes later, but because you close and reopen PHP to put in the </ul> tag, it causes a syntax error. Try it like this … Read more