Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    DO you want to keep both – Admin and Vendor Logo?

    Thank You

    Thread Starter shilpahanchinal

    (@shilpahanchinal)

    Yes

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Please keep this code added to your site, this will add Admin logo under store invoice since WCFM Ultimate next update –

    add_action( 'wcfm_before_store_invoice_header', function( $vendor_id, $order_id, $order, $document ) {
    	if( $document->has_header_logo() ) {
    		?>
    		<tr>
    		  <td colspan="2"><?php $document->header_logo(); ?></td>
    		</tr>
    		<?php
    	}
    }, 50, 4 );

    Add this code to your child theme’s functions.php
    In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding admin info to store invoice’ is closed to new replies.