Conditionally render a block with system configuration in Magento
Learn how to conditionally display layout blocks based on system configuration values.
Lesson Content
At the moment, the phone number is shown in the footer no matter what. But perhaps we only want to show it if the phone number is not empty.
We could go into the phone-number.phtml template and wra...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.