Add Product | SKU

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!

Viewing 6 reply threads
  • Author
    Posts
    • #27026
      wwsAdmin
      Participant

      Hello team,

      In add product, there is SKU can we automate it (vendor cannot enter) ? and under Variable product there is no SKU?

      Can u look into it?

      Thanks

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

      Hi,

      For generating automatic SKU you may use this plugin – https://wordpress.org/plugins/woocommerce-product-sku-generator/
      WCfM compatible with this as well.

      Variations has all options, kindly check this – https://ibb.co/f7YiM8

      Are you using WCfM Free only?

      Thank You

    • #27035
      wwsAdmin
      Participant

      No i am using wcfm ultimate as well. but in vendor store it is not showing >? is there any setting which i did ?

    • #27038
      wwsAdmin
      Participant

      Hello team,

      Thanks for suggesting plugin, really helped.
      But in wcfm->product-> page SKU box is open where i can enter sku, although it is automatically calculated. where as in woocommerce -> product it is shown in text no input

      thanks

    • #27074
      WCFM Forum
      Keymaster

      Hi,

      Most convenient way for this -> OFF “SKU” capability for vendors.

      Otherwise, make this invisible not a big deal, just add this code snippet –

      function wcfm_custom_297_product_fields_stock( $stock_fields, $product_id, $product_type ) {
      	if( isset( $stock_fields['sku'] ) ) {
      		$stock_fields['sku']['class'] = 'wcfm_custom_hide';
      		$stock_fields['sku']['label_class'] = 'wcfm_custom_hide';
      	}
      	return $stock_fields;
      }
      add_filter( 'wcfm_product_fields_stock', 'wcfm_custom_297_product_fields_stock', 50, 3 );

      Thank You

    • #27086
      wwsAdmin
      Participant

      Ohh i have set it off hence not getting the SKU,
      Thanks

    • #27088
      WCFM Forum
      Keymaster

      Hi,

      Just add that code and your requirement will be fulfilled.

      Thank You

Viewing 6 reply threads
  • The topic ‘Add Product | SKU’ is closed to new replies.