Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Add Widget to "Add Product" page.
- This topic has 7 replies, 2 voices, and was last updated 5 years, 3 months ago by WCFM Forum.
- AuthorPosts
- August 18, 2019 at 8:08 am #77156thiemann.kParticipant
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/55fqNfcCan anyone help me?
Ciao, Karsten – dein-3d.com
- August 18, 2019 at 8:13 am #77157thiemann.kParticipantThis reply has been marked as private.
- August 20, 2019 at 8:26 am #77465WCFM ForumMember
Hi,
Please use WCFM Custom field for the purpose – https://wclovers.com/knowledgebase/wcfm-custom-fields/
Thank You
- August 21, 2019 at 3:13 am #77583thiemann.kParticipant
Sorry, but I can not get it somehow. I tried some variations, but it just does not work …
- August 22, 2019 at 5:07 pm #77826WCFM ForumMember
Can you please show me your custom fields setting screenshot!
- August 25, 2019 at 10:08 am #78255thiemann.kParticipant
please excuse the wait;)
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 - August 25, 2019 at 10:15 am #78256thiemann.kParticipant
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
- August 29, 2019 at 2:51 pm #78980WCFM ForumMember
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
- AuthorPosts
- You must be logged in to reply to this topic.