Announcement

Collapse
No announcement yet.

Can Search go directly to product page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can Search go directly to product page

    Is there an easy way to have search pull up the product page, if only one product is returned?
    Thank you,
    John

    #2
    Re: Can Search go directly to product page

    Probably...but not sure you want to...I think it would confuse customers...
    Without a custom module, you'd probably have a page flicker.
    Basically you'd want to do a miva_array_max on the search array, and if >= 1 eval the product code out of the array and then MvDo that page.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Re: Can Search go directly to product page

      Hi John,

      Bruce is correct in his advice. The easiest way to achieve what you are looking for would be to utilize the Emporium Plus Power Search module as it has a built in way to go to the product page in the event of a single result.
      Matt Zimmermann

      Miva Web Developer
      Alchemy Web Development
      https://www.alchemywebdev.com
      Site Development - Maintenance - Consultation

      Miva Certified Developer
      Miva Professional Developer

      https://www.dev4web.net | Twitter

      Comment

      Working...
      X