Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Ultimate › About Shipping class in single product & variable product
Tagged: Shipping class
- This topic has 4 replies, 2 voices, and was last updated 6 years, 10 months ago by
WCFM Forum.
Viewing 4 reply threads
- AuthorPosts
- August 1, 2018 at 6:49 am #27387
MOHO
ParticipantEvery 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 = 143If i choose “No Shipping class”, will be free shipping???
but i test it not workAttachments:
You must be logged in to view attached files. - August 1, 2018 at 8:58 am #27402
- August 1, 2018 at 3:59 pm #27428
WCFM Forum
MemberHi,
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
- August 2, 2018 at 2:50 am #27452
MOHO
ParticipantThis reply has been marked as private. - August 4, 2018 at 5:02 am #27559
WCFM Forum
MemberGreat 🙂
I am closing this thread for now.
- AuthorPosts
Viewing 4 reply threads
- The topic ‘About Shipping class in single product & variable product’ is closed to new replies.