Pre defined invoices

WCMp PDF Invoice

Pre defined invoices Resolved

Tagged: , ,

Viewing 4 reply threads
  • Author
    Posts
    • #101779

      Hi, I would like to set what information the Seller can show on their invoices and packing slips. I have the template all set up but ideally I would like to NOT give the seller any options to show/hide information on their invoicing.

      Is there a way to do this please?

      Thanks

    • #101782

      Or, how can I give the Seller the option to only select Template 1?

    • #101870
      abhirup
      Moderator

      Hi,
      add this code in the function.php of the current active theme :

       add_filter('wcmp_pdf_invoice_preferred_templates', 'set_default_template_1');
       function set_default_template_1($pdf_template){
          unset($pdf_template['wcmp_pdf_invoice_second_template']);
          unset($pdf_template['wcmp_pdf_invoice_third_template']);
          unset($pdf_template['wcmp_pdf_invoice_forth_template']);
          unset($pdf_template['wcmp_pdf_invoice_fifth_template']);
          return $pdf_template;
       }
      Copy
    • #101887

      Awesome, thanks so much

    • #102990
      WCMp Admin
      Keymaster

      You are welcome @John Emslie J Davidson

Viewing 4 reply threads

The topic ‘Pre defined invoices’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price