-1

I am using Advanced Custom Field ACF Wordpress plugin and i created many custom fields, here is the screenshot

screenshot

My question is how can i show these custom fields in woocommerce single product page so my customer can put data while ordering.

Regards

closed as off-topic by Mark Kaplun, Jack Johansson, fuxia Sep 10 '17 at 18:33

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1

I don't think ACF is the plugin that you need for this kind of goal. ACF provides an ability to add custom fields in the admin panel and shows the data supplied in the frontend.

What you need is a plugin that will allow you to add custom fields for users to fill up in the frontend. It could be done with this plugin from Booster.io https://booster.io/features/woocommerce-product-input-fields/

But of course there might be more similar ones if it cannot satisfy your need

  • thanks for recomendataion, is booster.io save data in order meta ? like can i extra submitted information by using this snippet ? echo '<p><strong>'.__('Product').':</strong> ' . get_post_meta( $order->id, 'my_custom_field', true ) . '</p>'; – Anderson Sep 10 '17 at 10:04
  • I'm quite confused by what you are trying to do. You said, you want a field where your users can fill up while ordering. What you are showing now in this comment is "get_post_meta" which is to retrieve and show. – The Filipino Freelancer Sep 10 '17 at 10:10
  • Sir I want to do both tasks, I want to get data from customer on product single page and then display in order details page. Here are the screenshots 1. function.php : i.imgur.com/3uJEveo.png 2. order edit page : i.imgur.com/0HqX5tl.png – Anderson Sep 10 '17 at 10:30
  • currently i am using ACF but i didnot know how can i show my input fields in single product page so my customers can put data. I just need to know how to show my custom fields inputs in single product page. Regards. – Anderson Sep 10 '17 at 10:33
  • In that case you can use ACF to show the admin populated fields. As for the fields that you want users to supply during the checkout process, you can add custom fields using the booster plugin. They can word hand-in-hand. Or, you can manually do that : tommcfarlin.com/woocommerce-input – The Filipino Freelancer Sep 10 '17 at 11:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.