Home Forums WoodMart support forum Code shown in ajax search result

Code shown in ajax search result

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #156373

    Jeriss Cloud Center
    Participant

    Dear,

    In a previous ticket, you have provided me a custom code to apply in my functions.php for fixing a scenario where some code get displayed when clicking in the ajax search result on a product containing the caracter '

    https://xtemos.com/forums/topic/incorrect-result-name-when-hitting-on-result-product/

    However, I no longer wish to keep this a custom code because this issue can be easily replicated in your demo store if you add a product with this caracter. Please be aware that this caracter is a very common on in certain language, such as mine in French. Therefore, your theme should be fully compatible by default with this caracter as a language value.

    The second reason why this code should not longer be accepted as a custom code is because it’s a too big length of code to override. This can cause conflicts with future updates in which you could perfectly decide to improve some part of the code included in this section. I have an example of this => you recently made an improvement to add compatibility with Relevanssi but this code was overriding the improvement with oldated values, so it’s not good at all as this code provided is now outdated for the Relevanssi part.

    So please include the fix in the default theme code & check again twice before copy pasting the code provided in that ticket before adding it in the theme.

    Thanks

    #156484

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Could you please send us a link where we can see the problem on your website? We have fixed this in our update already.

    Regards

    #156485

    Jeriss Cloud Center
    Participant

    Info in private

    #156488

    Artem Temos
    Keymaster
    Xtemos team

    We didn’t customize this yet because we can’t test it completely with all the variations. But we will consider implementing this fix as an option in our next theme update.

    #156517

    Jeriss Cloud Center
    Participant

    I’m not sure to understand your answer. The issue is not related to a variation as such. I think it can also impact simple product without variations as long as the character ' is in the name of the product.

    #156536

    Artem Temos
    Keymaster
    Xtemos team

    Yes, we understand this. Anyway, we will add this option in the update.

    #162244

    Jeriss Cloud Center
    Participant

    It’s working good now, thanks, please close this ticket

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

The topic ‘Code shown in ajax search result’ is closed to new replies.