Show Prices on Search Results Page

Home Forums Jevelin Theme Show Prices on Search Results Page

Home Forums Jevelin Theme Show Prices on Search Results Page

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
  • AkshayfromFaux
    Participant

    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!

    Shufflehound
    Moderator

    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

    AkshayfromFaux
    Participant

    Hi,

    Okay, I understand. Please help us with that so that we can proceed accordingly.

    Thank you

    Shufflehound
    Moderator

    Would it be possible to see your website? As we would need to see your current setup to guide you accordingly.

    AkshayfromFaux
    Participant

    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!

    Shufflehound
    Moderator

    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.

    AkshayfromFaux
    Participant

    Hi,

    That’s great news! Thank you.

    Could you please help us with that PHP script as well?

    Kind Regards

    Shufflehound
    Moderator

    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. 🙂

    AkshayfromFaux
    Participant

    That is awesome! Thank you so much. I’ll revert soon.

    Shufflehound
    Moderator

    You are welcome!

    Hopefully, it will work as intended

    AkshayfromFaux
    Participant

    Hi!

    Sorry for the late reply. But this is still not working.

    Here’s the screenshot of the search page:

    https://imgur.com/a/umMHg3S

    Thank you

    Looking forward to hearing from you

    Shufflehound
    Moderator

    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?

    AkshayfromFaux
    Participant

    Yes, i have checked that too. Main theme is now activated, but it’s not working.

    Shufflehound
    Moderator

    Would it be possible for us to log in to your website, so we can debug this issue further?

Viewing 14 posts - 1 through 14 (of 14 total)