Hi everyone,
thanks in advance to anyone who can answer me.
I’m looking for a plugin to add, in a simple way without modifying the code, custom fields in certain pages of woocommerce.
First of all I would like to add these fields in the account management section (my-account).
It would be convenient to add these fields also in the detail of the products.
So far I’ve only found two addons.
The first is:
https://codecanyon.net/item/advanced-custom-fields-for-woocommerce/18705467
but unfortunately it has errors. The assistance of the theme has blamed the author of the plugin, which does not respond.
I found another one but I haven’t tried it yet:
https://wp-customerarea.com/downloads/wpca-advanced-custom-fields-integration/
Do you have any advice?
Thank you
Hello,
Did you buy an AddOn to add fields to My Account Page? Which?
Thanks
I don’t like the final note for the ACF integration:
“This add-on will work with a modified version of ACF free, which is included with the add-on. We currently do not offer integration with the pro version.”
But in the example, they show somenthing like: OR Page -> is equal to -> Edit account.
Maybe this plugin can be a solution, but I’m not sure. I need this feature too.
I have modified form-edit-account.php with this script:
<!-- Campi aggiuntivi -->
<b><a href="edit-account">INFORMAZIONI AGGIUNTIVE</a></b>
<?php acf_form_head(); ?>
<?php
$current_user_id = get_current_user_id();
$options = array(
'post_id' => 'user_'.$current_user_id,
'fields' => array('piva','coduni','codfis','pec','datanas','cittanas','pronas','rdm','fax'),
'form' => true,
'instruction_placement' => 'label',
'submit_value' => __("SALVA INFORMAZIONI AGGIUNTIVE", 'acf'),
);
acf_form($options);
?>
<!-- /Campi aggiuntivi -->
In te “array” I have insert the name of my custom fields.