Non re-writable field in store invoices

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 WC Marketplace Non re-writable field in store invoices

Viewing 7 reply threads
  • Author
    Posts
    • #41854
      addy
      Participant

      good morning wc lovers,
      happy new year
      best wishes for wc lovers wanna see the best marketplace plugin ever

      i would like to ask you………..

      1# i added GST field in store invoices section
      i want this field not to be change once enter by vendor
      but vendor can request if needed to change from admin.
      or
      2# on the vendor registration form i can add the GST field and in the store invoices it will show, No need to enter again by vendor while setting-up sore invoices.Still vendor can request if needed to change from admin.
      thank you

      have a great 2019

    • #41912
      WCFM Forum
      Member

      Hi,

      Thank you very much.

      I understand your requirement. We will add option for this.

      Have a great year ahead 🙂

    • #44039
      addy
      Participant

      hello
      good morning wc lpvers team
      any update for non rewritable field ?
      thanks

    • #44116
      WCFM Forum
      Member

      Hi,

      I will give you a custom custom snippet for this.

      Thank You

    • #45232
      addy
      Participant

      hello
      wc lovers
      any update ?

    • #45272
      WCFM Forum
      Member

      Hi,

      Please add this code to your child theme’s functions.php –

      add_filter( 'wcfmu_settings_fields_vendor_store_invoice_custom', function( $invoice_fields, $field_key ) {
      	if( isset( $invoice_fields['wvif_key_' .$field_key] ) && isset( $invoice_fields['wvif_key_' .$field_key]['value'] ) && !empty( $invoice_fields['wvif_key_' .$field_key]['value'] ) ) {
      		$invoice_fields['wvif_key_' .$field_key]['attributes'] = array( 'readonly' => true );
      	}
      	return $invoice_fields;
      }, 50, 2 );

      Thank You

    • #61891
      Gouranga Ghosh
      Guest

      store invoice is does not including gst price in wcfm ,
      can any one help me out how to solve this its does’t showing my gst or(tax) price its just giving me the base price , but admin invoice i.e, sales invoice is showing gst price incuded.

    • #61915
      WCFM Forum
      Member

      It was due to commission tax setting.

Viewing 7 reply threads
  • The topic ‘Non re-writable field in store invoices’ is closed to new replies.