Email is not send to vendors if one has a product not is stock with orders ON

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 Product Vendors Email is not send to vendors if one has a product not is stock with orders ON

Viewing 2 reply threads
  • Author
    Posts
    • #115315
      hugo.lopes
      Participant

      Dear team,

      I have a problem with the stocks and mails:

      if a vendor has a allow the back orders without stock (notification on for the buyer) then no one receives the confirmation email and the systems looks blocked.
      I can’t resend the order email to all the vendors. One order a multiple vendors.

      I see one solution : block “allow backorders?” to “no not allow” and disable the field in the vendors page, is that possible?

      Thanks a lot,
      hugo

    • #115553
      WCFM Forum
      Keymaster

      Hi,

      Sure, please add this code snippet to your site –

      add_filter( 'wcfm_product_manage_fields_variations', function( $variation_fileds, $variations, $variation_shipping_option_array, $variation_tax_classes_options ) {
      	$variation_fileds = wcfm_hide_field( 'backorders', $variation_fileds );
      	return $variation_fileds;
      }, 50, 4 );
      add_filter( 'wcfm_product_fields_stock', function( $stock_fields, $product_id, $product_type ) {
      	$stock_fields = wcfm_hide_field( 'backorders', $stock_fields );
        return $stock_fields;
      }, 50, 3 );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #116029
      hugo.lopes
      Participant

      You are amazing!
      Thank YOU!

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