Support » Plugin: Print Invoice & Delivery Notes for WooCommerce » increes product deatils font and hide email

  • hello,

    I want to increase font content in the – product name, qty, price, total –

    and remove user email field

    how do I do that.

    thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support Upendra Kapse

    (@wpupen)

    Hi @narthanaj,

    First of all, apologies for the delay on this.

    And to increase the font size for the elements you mentioned you can add the following code in the functions.php file of your active theme:

    function example_customize_invoice() {
        ?>
        <style>
                .invoice .head-item-price,
                .invoice .head-price, 
    		    .invoice .product-item-price,
                .invoice .product-price,
                .invoice .order-items tfoot {
                     font-size:16px;
                }
                .invoice .head-name,
    		    .invoice .product-name {
                    font-size:16px;
                }
                .invoice .head-quantity,
    			.invoice .product-quantity {
                      font-size:16px;
                }
                .invoice .order-items tbody tr:last-child {
                      font-size:16px;
                }
    				
            </style>
        <?php
    }
    add_action( 'wcdn_head', 'example_customize_invoice', 20 );

    And, to remove the email field you can add the following code:

    /**
     * Add this code snippet in functions.php file of your currently active theme.
     * An example that removes the 'Email' field.
     */
    function example_removed_customer_email( $fields ) {
        unset( $fields['billing_email'] );
        return $fields;
    }
    add_filter( 'wcdn_order_info_fields', 'example_removed_customer_email' );

    Kind Regards,
    Upendra

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.