• Hi, I have pasted this following coding to functions.php in my child theme.

    But it is still not removing the prices from the DO.

    function example_price_free_delivery_note() {
    ?>
    <style>
    .delivery-note .head-item-price,
    .delivery-note .head-price,
    .delivery-note .product-item-price,
    .delivery-note .product-price,
    .delivery-note .order-items tfoot {
    display: none;
    }
    .delivery-note .head-name,
    .delivery-note .product-name {
    width: 50%;
    }
    .delivery-note .head-quantity,
    .delivery-note .product-quantity {
    width: 50%;
    }
    .delivery-note .order-items tbody tr:last-child {
    border-bottom: 0.24em solid black;
    }
    </style>
    <?php
    }
    add_action( ‘wcdn_head’, ‘example_price_free_delivery_note’, 20 );

Viewing 1 replies (of 1 total)
  • Plugin Contributor Rashmi Malpande

    (@rashmim)

    Hi @lindalim

    If you want to add custom css, copy the ‘style.css’ from wp-content/plugins/woocommerce-delivery-notes/templates/print-order to wp-content/themes/yourtheme/woocommerce/print-order. Add the css in the copied file, so that even if you update the plugin your changes won’t be lost.

    Hope this works for you. Let me know if you find any problems.

    Regards,
    Rashmi

Viewing 1 replies (of 1 total)
  • The topic ‘Delivery Note’ is closed to new replies.