Hide Shipping Line on cart.php if...
I'd like to hide the row that displays the shipping if Free Shipping is triggered. I can't seem to get the syntax correct. My free shipping variable (I think) is WAEC_xxxxxx_FreeShipping.
Below is just the row that displays the shipping on the cart page. I assume I need to wrap a conditional region around it, but I can't get it to work.
Thanks
<?php
//WA eCart Merchandizing Show Start
//ecart="xxxxxx"
if ($xxxxxx->GetShipping() > 0) {
?>
<tr>
<td class="eC_SummaryLabel">Shipping</td>
<td><?php echo WA_eCart_DisplayMoney($xxxxxx, $xxxxxx->GetShipping()); ?></td>
</tr>
<?php
//WA eCart Merchandizing Show End
//ecart="xxxxxx"
}
?>