Exact Title Match?

Exact Title Match?

November 24, 2017
 Miro

  • Miro
    Newbie 44 points

    Hi,
    When I only enable Exact Title Match under comparison settings, the products is not compared with only exact title match?
    There is also compared other products which contains same words in the title!
    It works like 5 Character Match ts also enabled, but it’a actually disabled?
    Bug?
    How to resolve this?

    November 24, 2017 at 2:57 pm
  • JamesD
    JamesD
    Super Guru 912 points

    Hello Miroslav,

    Perhaps this will shed some light and/or help:

    5 Character Match ?

    November 25, 2017 at 6:00 am
    This reply was awarded the best answer by the topic poster.

  • Miro
    Newbie 44 points

    Hi James,
    But it not same problem!
    If only Exact Title Match is enabled, there should be compared only products with exact title match, right?

    November 25, 2017 at 7:19 pm
  • JamesD
    JamesD
    Super Guru 912 points

    Exact title match should work if the “Exact Title Match” setting is turned on AND the “5 Character Match” setting is turned off.

    November 25, 2017 at 11:48 pm

  • Miro
    Newbie 44 points

    Hi James,
    I know that, and “Exact Title Match” setting is turned on AND the “5 Character Match” setting is turned off.

    But the products with different titles are still listed/ compared there.
    Fore example main product name is “Sandalet”, and there is compared many different products which have word “sandalet” in the title, bat other words too. So it’s not exact match!

    Please check attached screenshot…

    Attachments:
    You must be logged in to view attached files.
    November 26, 2017 at 12:07 am
  • JamesD
    JamesD
    Super Guru 912 points

    If the word “sandalet” is actually part of other words, then it’s doing what it’s designed to do. The results will include all titles that contain the “exact match” of the word searched for, even if it’s nested within another word/title.

    Unfortunately, the theme isn’t set up to differentiate whether or not the term is the full word to be searched for exclusively or if it’s part of another word/title.

    You would probably need to make custom changes if you need to be more particular with the results.

    Does that help and/or make sense?

    November 26, 2017 at 1:04 am

  • Miro
    Newbie 44 points

    Hi James,
    OK, thank you for your explanation!

    November 26, 2017 at 10:49 pm
  • JamesD
    JamesD
    Super Guru 912 points

    I’ve modified one of the core files that should work as you expect with a little more “precise” exact Match…. or what you might expect when “Exact Match” is turned on.

    To use it only the “Exact Match” can be turned on. If both settings are on or just the “5 Char” then it will not check for the “precise” exact match.
    Note: This could have unexpected results when the comparison does not “exactly” match the title, so make sure you run various checks/test to ensure it works how you expect.

    Here’s the modified core file (‘/CM/framework/class/defaults_comparison.php’) you can try if you want:

    Note: Make a backup of your original “defaults_comparison.php” file before putting the modified copy in there. This is a core file, so if the theme gets updated then this file will be overwritten.

    Attachments:
    You must be logged in to view attached files.
    November 27, 2017 at 2:12 am

  • Miro
    Newbie 44 points

    Hi James,
    OK, I’ll try!

    Thank you very much…

    November 27, 2017 at 7:32 pm
Viewing 9 posts - 1 through 9 (of 9 total)

Didn't find what you were after?

Chat with us now

or contact our support team