Add Widget to "Add Product" page.

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 7 reply threads
  • Author
    Posts
    • #77156
      thiemann.k
      Participant

      Hey Community,

      i hope my Topic Title is correct…

      I would like to add a widget to the “Add Product” page.
      In the normal editor of WooCommerce (../post-new.php?post_type=product) this is already included, but not in the WCFM.

      (I have included the desired widget once in the picture and red marked.)
      https://ibb.co/55fqNfc

      Can anyone help me?

      Ciao, Karsten – dein-3d.com

    • #77157
      thiemann.k
      Participant
      This reply has been marked as private.
    • #77465
      WCFM Forum
      Member

      Hi,

      Please use WCFM Custom field for the purpose – https://wclovers.com/knowledgebase/wcfm-custom-fields/

      Thank You

    • #77583
      thiemann.k
      Participant

      Sorry, but I can not get it somehow. I tried some variations, but it just does not work …

    • #77826
      WCFM Forum
      Member

      Can you please show me your custom fields setting screenshot!

    • #78255
      thiemann.k
      Participant

      please excuse the wait;)

      https://ibb.co/jWZDkML

      what code do you use to create a Metabox?
      There is still another plugin, which I would like to have in a meta box, but which should only be displayed in the backend

    • #78256
      thiemann.k
      Participant

      with the last picture, I get it probably that the file, which can be uploaded in the backend, can be downloaded in the frontend. but actually this plugin does something completely different: it replaces the product image with the model file … so it would be nice if it could be applied the same way

    • #78980
      WCFM Forum
      Member

      Hi,

      which I would like to have in a meta box, but which should only be displayed in the backend
      – Do you want to add metabox in wp-admin -> default product manager?

      If you want to add in WCFM Product Manager then such code –

      add_action( 'end_wcfm_products_manage', function( $product_id ) {
      	global $WCFM;
      	?>
      	<div class="page_collapsible products_manage_custom_block simple variable grouped external booking" id="wcfm_products_manage_form_custom_block_head"><label class="wcfmfa fa-user-alt fa-user-alt"></label><?php _e('Custom Block', 'wc-frontend-manager'); ?><span></span></div>
      	<div class="wcfm-container simple variable external grouped booking">
      		<div id="wcfm_products_manage_form_custom_block_expander" class="wcfm-content">
      			
      		</div>
      	</div>
      	<!-- end collapsible -->
      	<div class="wcfm_clearfix"></div>
      	<?php
      }, 100 );

      Thank You

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