Add some field in Description in Product Page
Author | Posts |
---|---|
March 31, 2014 at 1:38 pm 17650 | |
Sk | 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 | |
Sk | Hello Mohd Ghufran, You could add some field by using action hook ‘woocommerce_single_product_summary’.
Please be aware on next update. You may lose your custom code. Thank you. |
March 31, 2014 at 1:59 pm 17653 | |
Mohd Ghufran | If I add this, so seller will have drop down option in their page right? 1. New Item |
March 31, 2014 at 2:21 pm 17655 | |
Sk | 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.
This will show on the side-bar of product edit page. |
April 1, 2014 at 10:22 pm 17802 | |
Mohd Ghufran | 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 | |
Sk | Please check reference for do_action and reference for add_action Thank you |