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
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.
March 31, 2014 at 1:59 pm 17653
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
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
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
Please check reference for do_action
and reference for add_action