For nopCommerce 3.9
In OrderSummary.cshtml modify remove from card div
<input type="checkbox" name="removefromcart" value="@(item.Id)" style="display:none" />
add
<input type="submit" name="updatecart" value="X" onclick="deleteItem(@(item.Id))" class="button-2 update-cart-button" />
add script to end of the file
<script type="text/javascript">
function deleteItem(id) {
var ipt = $("[name=removefromcart][value=" + id.toString() + "]");
ipt.attr('checked', true);
}
</script>