General Questions

How can I enable Custom fields in WooCommerce?

How to Display Custom Fields After WooCommerce Data Migration

Cart2Cart, the automated data migration service, facilitates the transfer of custom fields to your WooCommerce store. After performing a data migration to WooCommerce, you might notice that custom fields aren't displayed by default. This guide explains how to enable them.


WooCommerce admin panel showing custom fields after data migration

WooCommerce doesn’t display Custom fields by default.

To enable this option you have to:

  • go to "store/wp-content/plugins/woocommerce/templates/single-product/tabs"
  • find file "additional-information.php"
  • add the following code:
echo '';
foreach(get_post_meta($post->ID, $key, true) as $key => $attr) {if(strpos($key, "_") !== 0) {echo '';echo '';echo '';}}echo '
'.$key.' '.array_shift($attr).'
';

Adding code to WooCommerce template to display custom fields after data migration

Ready to migrate your store to WooCommerce? Start your free demo now!


Do you need help? Contact our support team

Just set up the migration and choose the entities to move – the service will do the rest.

Try It Free

Delegate the job to the highly-skilled migration experts and get the job done.

Choose Package