About Shipping class in single product & variable product

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 About Shipping class in single product & variable product

Viewing 4 reply threads
  • Author
    Posts
    • #27387
      MOHO
      Participant

      Every vendor only see their own shipping class, right?
      If mohotest3, will only see “mohotest3 94” (set 143)
      So customer buy mohotest3 all products, shipping fee = 143

      If i choose “No Shipping class”, will be free shipping???
      but i test it not work

      Attachments:
      You must be logged in to view attached files.
    • #27402
      MOHO
      Participant

      I have idea
      How could i set every vendor “shipping class” as default?
      We hide “No Shipping Class” option at shipping panel tab.

      How could i make it?

      Attachments:
      You must be logged in to view attached files.
    • #27428
      WCFM Forum
      Keymaster

      Hi,

      Kindly add this code for the purpose –

      function wcfm_product_manage_fields_custom_shipping( $shipping_fileds, $product_id ) {
      	global $WCFM;
      	if( isset( $shipping_fileds['shipping_class'] ) ) {
      		$shipping_class_options = $shipping_fileds['shipping_class']['options'];
      		if( isset( $shipping_class_options['_no_shipping_class'] ) ) {
      			unset( $shipping_class_options['_no_shipping_class'] );
      			$shipping_fileds['shipping_class']['options'] = $shipping_class_options;
      		}
      	}
      	return $shipping_fileds;
      }
      add_filter( 'wcfm_product_manage_fields_shipping', 'wcfm_product_manage_fields_custom_shipping', 50, 2 );

      Thank You

    • #27452
      MOHO
      Participant
      This reply has been marked as private.
    • #27559
      WCFM Forum
      Keymaster

      Great 🙂

      I am closing this thread for now.

Viewing 4 reply threads
  • The topic ‘About Shipping class in single product & variable product’ is closed to new replies.