Home › Forums › Jevelin Theme › Show Prices on Search Results Page
Home › Forums › Jevelin Theme › Show Prices on Search Results Page
Hi team,
Can you please help us show product prices on the search results page?
https://jevelin.shufflehound.com/?s=shirt
Looking forward to hearing from you soon
Thank you!
Hi there,
Unfortunately, we don’t have such a feature to display pricing there.
We will consider improving that in future updates. Currently, we can only help to guide you on which files would be needed to be edited for this feature.
Best regards,
Shufflehound team
Hi,
Okay, I understand. Please help us with that so that we can proceed accordingly.
Thank you
Would it be possible to see your website? As we would need to see your current setup to guide you accordingly.
Hello,
Yes, sure. here’s the link: https://watchersonline.shop/
Please let me know if you need anything else from our end and apologies for the late reply.
Thank you!
It seems that we might have an idea of how the price could be added there, but that would involve writing custom PHP scripts for the jevelin_meta_one function located in the inc/helpers.php file.
If you are fine with writing PHP script, then there you could add detection for the search page and there detection if the content is a product and then you would be able to show the price via WooCommerce functions.
Hi,
That’s great news! Thank you.
Could you please help us with that PHP script as well?
Kind Regards
Oh, well it is outside of the support scope that we offer here.
But we have decided to add this feature built-in for the next theme update and we have created a beta version below:
Please login to access this file
Please test it and let us know if that works. š
That is awesome! Thank you so much. I’ll revert soon.
You are welcome!
Hopefully, it will work as intended
Hi!
Sorry for the late reply. But this is still not working.
Here’s the screenshot of the search page:
Thank you
Looking forward to hearing from you
That is strange as it should be working.
Maybe you have rewritten some files via the child theme? So the changes don’t apply. If you are using a child theme can you switch to the main theme for a moment and see if it works then?
Yes, i have checked that too. Main theme is now activated, but it’s not working.
Would it be possible for us to log in to your website, so we can debug this issue further?