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, 6 months ago by
WCFM Forum.
- AuthorPosts
- August 18, 2019 at 8:08 am #77156
thiemann.k
ParticipantHey 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 #77157
thiemann.k
ParticipantThis reply has been marked as private. - August 20, 2019 at 8:26 am #77465
WCFM Forum
MemberHi,
Please use WCFM Custom field for the purpose – https://wclovers.com/knowledgebase/wcfm-custom-fields/
Thank You
- August 21, 2019 at 3:13 am #77583
thiemann.k
ParticipantSorry, but I can not get it somehow. I tried some variations, but it just does not work …
- August 22, 2019 at 5:07 pm #77826
WCFM Forum
MemberCan you please show me your custom fields setting screenshot!
- August 25, 2019 at 10:08 am #78255
thiemann.k
Participantplease 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 #78256
thiemann.k
Participantwith 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 #78980
WCFM Forum
MemberHi,
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.