Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    279
    Plugin Contributions
    0

    Default Sidebox searches with an iPhone - word with apostrophe leads to no results

    Hi guys,

    I was searching my website this morning and noticed that searching for a particular product came up with no results when I know it's there. I used the sidebox search and one of my search words had an apostrophe (like: don't, can't, won't) which had no results. I then went to my iMac browser and did the same search and found my expected results. Is the iPhone using a curly apostrophe (I see a slanted apostrophe on my iPhone) that would cause this search results issue? Just typing the word DON'T comes up with no results on the iPhone. I use straight quotes on my Mac. I also tried double quotes around the phrase on my iPhone and it had no results. I never noticed this issue over many years.

    Thank you,

    Jeff
    Jeff Michaels,
    pres of Musical Creations Ltd.

  2. #2
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    279
    Plugin Contributions
    0

    Default Re: Sidebox searches with an iPhone - word with apostrophe leads to no results

    This could be why...
    But how can I have Zen Cart allow for this so my customers don't have to do anything to fix it on their end?

    Unable to Type Apostrophes? (Replaced with Grave Accent Marks)
    https://forums.macrumors.com/threads...marks.2063973/
    Jeff Michaels,
    pres of Musical Creations Ltd.

  3. #3
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    279
    Plugin Contributions
    0

    Default Re: Sidebox searches with an iPhone - word with apostrophe leads to no results

    Sure enough, turning off smart punctuation on the iPhone keyboard settings changed the apostrophe to 'straight'. But I can't tell all my customers to change that on their devices :-(
    Jeff Michaels,
    pres of Musical Creations Ltd.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Sidebox searches with an iPhone - word with apostrophe leads to no results

    jeff,
    this is a solvable problem. advanced search results starts with a notifier here:

    https://github.com/zencart/zencart/b...er_php.php#L12

    one could easily build an auto-loading observer to do a search and replace for said string in the keyword request.

    if that sounds foreign to you, you can read about observers here:

    https://docs.zen-cart.com/dev/code/notifiers/

    but this "problem" is solvable without any modification of core code. which is always ideal.... at least to me....

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    279
    Plugin Contributions
    0

    Default Re: Sidebox searches with an iPhone - word with apostrophe leads to no results

    It's quite a bit over my head for coding, but I'll give it a try after reading over the instructions. thank you
    Jeff Michaels,
    pres of Musical Creations Ltd.

 

 

Similar Threads

  1. cookies problem with iphone
    By caborela88 in forum General Questions
    Replies: 1
    Last Post: 15 Nov 2018, 06:58 PM
  2. Replies: 3
    Last Post: 11 May 2012, 12:35 PM
  3. apostrophe problem with Media Clip
    By redheadskater in forum General Questions
    Replies: 10
    Last Post: 30 Jan 2011, 08:17 AM
  4. Search results - Including 'plural' searches??
    By skyegospel in forum General Questions
    Replies: 6
    Last Post: 29 Oct 2008, 05:31 PM
  5. Authorize.net AIM problem with apostrophe in 1.3.7.1
    By jeffmic in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 3 Jan 2008, 06:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR