Custom Fields
-
Hi
If I have a empty custom field, I would like a <span class tag to show>
So I wrote
<?php
if ($price == ”) {
echo ‘<span class=”band outofstock”></span>’;
}
?>However this just shows <span class=”band outofstock”> regardless of $price being empty or not.
Can any one give me some pointers?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Fields’ is closed to new replies.