Store Invoice: Add VAT Number under Store address

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Store Invoice: Add VAT Number under Store address

Viewing 3 reply threads
  • Author
    Posts
    • #77785
      GilbertW
      Participant

      Hi

      How can I add the VAT Number under the store address in the store invoice?

      I created a custom attribute (stored in DB under Usermeta with meta_key=”MWST_Nr”). I am overwriting the store-invoice.php as you described in this forum. I guess I muss insert something like:

      … (in the declarations)
      $wcfm_vendor_vat_nr = isset( $wcfm_vendor_invoice_options[‘xxxxx’] ) ? $wcfm_vendor_invoice_options[‘yyyyy’] : ”;

      …(in the “head container” und “shop-info”)
      <?php if( $wcfm_vendor_vat_nr ) { ?>
      <div class=”vendor-avt-nr”><?php echo $WCFM->wcfm_vendor_support->zzzzz ( $vendor_id ); ?></div>
      <?php } ?>

      What would xxxxx, yyyyy and zzzzz be?

      Your help would be greatly appreciated.

      Thanks you!

    • #77811
      WCFM Forum
      Keymaster

      Hi,

      Please create a custom field (VAT Number) for Store Invoice – https://wclovers.com/knowledgebase/wcfm-store-invoice/

      Thank You

    • #77982
      GilbertW
      Participant

      Thanks for your answer!

      I wanted to have the VAT-Nr. under the customer address. I could solve this using this function: https://developer.wordpress.org/reference/functions/get_user_meta/

    • #77983
      WCFM Forum
      Keymaster

      Hi,

      Do you want to add VAT no. for vendors or for customers?

      Thank You

Viewing 3 reply threads
  • You must be logged in to reply to this topic.