How to customize Add Shipment Sections

How to filter shipment sectionshttps://www.wpcargo.com/knowledgebase/how-to-filter-shipment-sections-of-frontend-manager

How to get fields by sectionhttps://www.wpcargo.com/knowledgebase/how-to-get-fields-by-section

Adding Section Before Form Fields
Note: please copy and paste the code in functions.php of your current theme.

  function custom_before_wpcfe_shipment_form_fields(){
    ?> 
    <div class="col-md-12 mb-5"> 
      <div class="card">
        <div class="card-body"><h3>Before Form Fields Section </h3></div>
      </div>
    </div> 
    <?php
  }
  add_action( 'before_wpcfe_shipment_form_fields', 'custom_before_wpcfe_shipment_form_fields', 1, 1 );

Adding Section After Form Fields

  function custom_shipment_multipackage_template(){
    ?> 
    <div class="col-md-12 mb-5"> 
      <div class="card">
        <div class="card-body"><h3>After Form Fields Section </h3></div>
      </div>
    </div> 
    <?php
  }
  add_action( 'after_wpcfe_shipment_form_fields', 'custom_shipment_multipackage_template', 1, 1 );
  

Adding Section After Shipment History

  function custom_after_wpcfe_shipment_history(){
    ?> 
    <div class="col-md-12 mb-5"> 
      <div class="card">
        <div class="card-body"><h3>After Shipment History Section </h3></div>
      </div>
    </div> 
    <?php
  }
  add_action( 'after_wpcfe_shipment_form_fields', 'custom_after_wpcfe_shipment_history', 20 );
  

Adding Section After Add Shipment Form

  function custom_after_wpcfe_add_shipment_form(){
    ?>
    <div class="card">
      <div class="card-body"><h3>After Add Shipment Form </h3></div>
    </div>
    <?php
  }
  add_action( 'before_wpcargo_shipment_history', 'custom_after_wpcfe_add_shipment_form', 99 );
  

Adding Section Before Assign

  function custom_before_wpcfe_assign_section(){
    ?>
    <div class="card mb-3">
      <div class="card-body">
        <h3>Before Assign Section</h3>
      </div>
    </div>
    <?php
  }
  add_action( 'before_wpcfe_shipment_form_submit', 'custom_before_wpcfe_assign_section', 1 );
  

Adding Section Before Submit

  function custom_before_wpcfe_submit_button(){
    ?>
    <div class="card mb-3">
      <div class="card-body">
        <h3>Before Submit</h3>
      </div>
    </div>
    <?php
  }
  add_action( 'before_wpcfe_shipment_form_submit', 'custom_before_wpcfe_submit_button', 70 );
  
0
    0
    Your Cart
    Your cart is emptyReturn to Shop