I am trying to check if two conditions are true in the Magento category view file. Specifically if parent id = 1 and if category name = Nike.
Can someone please suggest how I can update the code below to get this working?
<?php if ($_category->getParentCategory()->getId() == 1) && ($_category->getName() == 'Nike'): ?>
<p>Then show this</p>
<?php endif; ?>