
Originally Posted by
Ajeh
Sorry you are not using that right:
Code:
<?php echo 'ORDER TOTAL: ' . $order->info['total'] . ($order->info['total'] < 100 ? 'YES' : ' NO') . '<br>';?>
<?php if ($order->info['total'] < 100.00) { ?>
<div class="alertInstalmentsShadowedOut"><?php echo zen_image(DIR_WS_TEMPLATE . 'images/instalments_shadowed_out.gif'); ?></div>
<?php } ?>
The point is to echo the content of $order->info['total'] where you are using that for you current IF ...
It was working a few days ago though, with just this:
PHP Code:
<?php if ($order->info['total'] < 100.00) { ?>
Nothing had changed so couldn't understand why it just stopped working and now requires this:
PHP Code:
<?php if ($order->info['total'] < 100.00 ? 'YES' : ' NO') { ?>