Hi, I need to make changes in search box in my homepage search menu. I could not find any option to make changes to the search result option. I want to show price instead of date in the search result as show in image i have attached to this query.
Thanks for contacting us and choosing our product!
You can do it by go to: wp-content/themes/clarivo/framework/includes/ then open file woocommerce-hooks.php
Go to line 834 and line 916 and change the code from: <p class="publish-date"><?php echo esc_html( mysql2date( 'M d Y', $post->post_date ) ); ?></p>
to <p class="product-price"><?php $product = wc_get_product( $post->ID ); echo $product->get_price_html(); ?></p>
Hope this helps!