• Resolved broadleon

    (@broadleon)


    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 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with Custom Field’ is closed to new replies.