Start a new topic

Hiding the shipping amount if 0

I would like to hide the shipping line on the totals if it is 0

I feel like I am on the right track with this script but I must have something wrong as it's not working. Is anyone able to help? Thanks


<script type="text/javascript">
var shipamount ="[DH_AlternateShippingAmount]";
if (shipamount.value == "0") {
    } else {
<tr class="row-shipping" id="shippingline">
            <td class="col-description">
            <td class="col-amount">


Login or Signup to post a comment