How To Add Custom Field In woo commerce product listing admin page in WordPress

I am very much new to wordpress and need help. Well I need to add a custom field to woocommerce product listing page in admin and make it work.

So where do I have to make changes in code or in admin section.I need some suggestions on how to make it work.

Thanks in advance

how to display product description of woo commerce products in normal post of wordpress

i want to show short product description and additional information in my normal post of wordpress of woo commerce products.is there any way of doing this by short codes or from php in single post fil



Woo commerce: editing product-category page outside the loop

I have built a custom WordPress theme and am using Woo Commerce for the shopping cart plugin. Most of it has integrated well (I have added hooks for the theme in functions.php and have copied Woo comm

plugin woo-commerce, No Author of a product

I hope everything is good with you. Please, I installed a plugin woo-commerce for wordpress. When I create a product , I don’t see any Author of a product, Please, How can i add Author to each product

How to add option to woo commerce edit order page?

How to add another option here like order actions, order totals. I know how to create option page but not how to edit woocommerce options . Is there any way ?

remove image placeholder on woo commerce shop archive page

I have been getting used to hooks for adding and removing content on various woo commerce pages. However I can’t see how to remove the images for each product from the shop archive page. I understand

how to integrate “giropay” and “sofort-banking” payment in WordPress – woo-commerce?

I am working for German E commerce website, i need to integrate 2 famous payment methods giro-pay and sofortbanking in WordPress- woo-commerce plugin. I already asked this to support team of woo

Woo Commerce – does anyone know how to show Product Categories as main Shop landing page?

I read a similar post asking about how to display a top level Shop page with only Product Categories – not subcategories, no products. I have selected the settings on WooCommerce – Settings | Catalo

separate registration page in woo Commerce website

Can anybody help me to built a separate registration page in woo Commerce instead of displaying it in my-account page. In my-account page I want to display a button which will take the buyer to regist

Woo-commerce shop page removes custom DIVs

I am making a custom theme based on twentytwelve. I am facing a problem regarding woocommerce shop page. I have a page template that work fine. However, when I activate woocommerce plugin and show the

Add custom admin menu to woocommerce

Is it possible to add a new admin menu to the woocommerce admin section in WordPress? I’ve done this with WP E-commerce with my custom plugin so am wandering if the same is true for Woo commerce. Than

Answers

if I’m understanding you right you want to add new fields to your woocommerce products, and you want those fields to show up in the admin panel. I am working on this right now myself and I have found a few good resources.

First of all, although I can’t find any documentation on them yet directly in the woocommerce API docs, there are two hooks for extending the admin panel.

  • woocommerce_product_write_panel_tabs – this allows you to insert a new tab within the admin panel. from browsing the source of various free woocommerce plugins that do this it appears that the tab format should be <li><a target=”_blank” rel=”nofollow” href=”#tab_name”>Tab Name</a></li>.
  • woocommerce_product_write_panel – this is where the insertion of your custom panel contents would go, placed within a <div id=”#tab_name”></div>

These are the two hooks that I have had a great deal of difficulty locating. They allow you to hook into the actual woocommerce admin area, otherwise custom fields you might add will end up in a separate panel.

For all the details on actually adding the custom fields themselves and hooking them up to the front-end, I suggest this tutorial here, which covers the basic concepts involved in adding a new meta-data field and hooking it into the product display (in this case the single-product detail view, it sounds like you want to modify them in the list view but this will show you the basic principles).

http://www.xatik.com/2013/02/06/add-custom-form-woocommerce-product/

Note: that tutorial doesn’t use the woocommerce admin panel but creates its own panel, the instructions I gave above, plus this tutorial, should get you just about anywhere you need to go.