Home › Forums › Theme Support › Dokan › Add some field in Description in Product Page This topic is: resolved This topic contains 5 replies, has 2 voices, and was last updated by Sk 5 years, 1 month ago. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts March 31, 2014 at 1:38 pm #17650 Mohd GhufranMember Post count: 25 Hi Support, How to add some custom field in product page like screenshot below: Below add to cart or above it. March 31, 2014 at 1:53 pm #17651 SkModerator Post count: 371 Hello Mohd Ghufran, You could add some field by using action hook ‘woocommerce_single_product_summary'. <?php add_action( 'woocommerce_single_product_summary', 'your_function', 40 ); ?> Please be aware on next update. You may lose your custom code. Thank you. March 31, 2014 at 1:59 pm #17653 Mohd GhufranMember Post count: 25 If I add this, so seller will have drop down option in their page right? I means drop down like : 1. New Item 2. Used Item March 31, 2014 at 2:21 pm #17655 SkModerator Post count: 371 No that hook is only for view in single product page. You could use hook ‘dokan_product_edit_after_downloadable' to add drop down field. <?php do_action( 'dokan_product_edit_after_downloadable' ); ?> This will show on the side-bar of product edit page. April 1, 2014 at 10:22 pm #17802 Mohd GhufranMember Post count: 25 I still can't understand this, it might be customization, but i need to know which file and the location of the file to edit. By the way when user listing their product the drop down menu selection will prompt where this item is new or used and will be show in listing page. April 3, 2014 at 3:54 pm #17941 SkModerator Post count: 371 Please check reference for do_action and reference for add_action Thank you Author Posts Viewing 6 posts - 1 through 6 (of 6 total) The topic ‘Add some field in Description in Product Page’ is closed to new replies.