I have written a function which will display a date picker and a select box. I want this function output to be displayed on woocommerce single product page. So I assigned my function to a hook woocommerce_after_single_product_summary and I am not seeing any fields appearing in the product page. Can anyone please help?.
so far per my knowledge the function is working fine as I have tested it using its shortcode in a page. Below is the hook I am trying to add, timeslot_display is my function also I have added a screenshot of my function output.