hello good people of wcmp-land,
ive added a few ACF fields in product custom post type and would like to make the field editable in frontend, say in General Tab (add/edit product). ive seen a few post about adding forms to frontend but mostly its based on toolkit type (https://wc-marketplace.com/support-forum/topic/custom-product-data-general-tab/). is there any guide to add acf form field to wcmp frontend?
basically im stuck here. im able to get the form appear in general tab. is this even a correct way to add acf form into frontend? how do i get the current product or post_id? how do i make my acf form follow wcmp beautiful styling? can i hide the update button and did the wcmp main Update button update the acf form?
thanks for the reply. your code works. however, do you have acf specific solution? i heard wcmp have good integration with acf and i thought the process will be easier with less code, maybe using acf_form() where i dont have to pull acf value for line 7, the_field(‘field-name’,$post_ID) for every field i want to display in frontend?