Hide "Have a coupon code?" in MarketPress Shopping Cart (MP 2.8.4; I rolled back from 2.8.

I rolled back to 2.8.4 because 2.8.5 messed up some of the custom css you guys have given me over the last week. I am putting all of my custom css in a child theme style.css

I need to hide the coupon code from the shopping cart page before checkout ("Review Cart":wink:

It seems the code is here:

in store.js, the javascript is setup:

//coupon codes
$('#coupon-link').click(function() {
$('#coupon-link').hide();
$('#coupon-code').show();
$('#coupon_code').focus();
return false;
});

in template-functions.php, it is displayed:

starting on line 252:

//coupon line TODO - figure out how to apply them on global checkout
$coupon_code = $mp->get_coupon_code();
if ( $coupon = $mp->coupon_value($coupon_code, $total) ) {
$content .= '<tr>';
$content .= ' <td class=&quot;mp_cart_subtotal_lbl&quot; colspan=&quot;2&quot;>' . __('Subtotal:', 'mp') . '</td>';
$content .= ' <td class=&quot;mp_cart_col_subtotal&quot;>' . $mp->format_currency('', $total) . '</td>';
$content .= ' <td>&nbsp;</td>';
$content .= '</tr>';
$content .= '<tr>';
$content .= ' <td class=&quot;mp_cart_subtotal_lbl&quot; colspan=&quot;2&quot;>' . __('Discount:', 'mp') . '</td>';
$content .= ' <td class=&quot;mp_cart_col_discount&quot;>' . $coupon['discount'] . '</td>';
$content .= ' <td class=&quot;mp_cart_remove_coupon&quot;><a href=&quot;?remove_coupon=1&quot;>' . __('Remove Coupon &raquo;', 'mp') . '</a></td>';
$content .= '</tr>';
$total = $coupon['new_total'];
} else {
$content .= '<tr>';
$content .= ' <td class=&quot;mp_cart_subtotal_lbl&quot; colspan=&quot;4&quot;>
<a id=&quot;coupon-link&quot; class=&quot;alignright&quot; href=&quot;#coupon-code&quot;>' . __('Have a coupon code?', 'mp') . '</a>
<div id=&quot;coupon-code&quot; class=&quot;alignright&quot; style=&quot;display: none;&quot;>
<label for=&quot;coupon_code&quot;>' . __('Enter your code:', 'mp') . '</label>
<input type=&quot;text&quot; name=&quot;coupon_code&quot; id=&quot;coupon_code&quot; />
<input type=&quot;submit&quot; name=&quot;update_cart_submit&quot; value=&quot;' . __('Apply &raquo;', 'mp') . '&quot; />
</div>
</td>';
$content .= '</tr>';
}

and on line 376:

//coupon line TODO - figure out how to apply them on global checkout
$coupon_code = $mp->get_coupon_code();
if ( $coupon = $mp->coupon_value($coupon_code, $total) ) {
$content .= '<tr>';
$content .= ' <td class=&quot;mp_cart_subtotal_lbl&quot; colspan=&quot;3&quot;>' . __('Subtotal:', 'mp') . '</td>';
$content .= ' <td class=&quot;mp_cart_col_subtotal&quot;>' . $mp->format_currency('', $total) . '</td>';
$content .= '</tr>';
$content .= '<tr>';
$content .= ' <td class=&quot;mp_cart_subtotal_lbl&quot; colspan=&quot;3&quot;>' . __('Discount:', 'mp') . '</td>';
$content .= ' <td class=&quot;mp_cart_col_discount&quot;>' . $coupon['discount'] . '</td>';
$content .= '</tr>';
$total = $coupon['new_total'];
}

I have tried:

.mp_cart .coupon-code {display: none;}

.mp_cart .coupon-code {display: none !important}

.mp_cart .coupon-link {display: none !important}

This was a mistake as it hides the whole row of divs and messes with the formatting. OOPS!

.mp_cart .mp_cart_subtotal_lbl {display: none !important}

Help please!