Announcement

Collapse
No announcement yet.

Redirecting search results page

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

    Redirecting search results page

    Hi folks

    When a simple search is performed and "No matching products" are found, Actinic redirects to the previous page.

    Is there a hack to the perl scripts that will allow us to redirect to a page of our choosing?

    We would rather redirect the shopper to a page with an enquiry form where we can invite him/her to tell us what they could not find. This would be much more useful than simply dumping them back to where they started.

    Many thanks in advance.

    Bob
    Bob Smith
    Quality Workwear Clothing
    Personalised Corporate wear
    www.workwearhouse.co.uk

    #2
    Redirect

    Hello Bob

    In design text if you do a search on the phrase 'No products matched your search' or whatever it said, then add to the end of that phrase:

    <br><meta http-equiv="refresh" content="0.001;URL=URL-To-Redirect-To>

    that should work.

    Hope this helps.
    http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
    http://www.dtbrownseeds.co.uk - More seeds and plants....
    http://www.mr-fothergills.co.uk - Well it used to be Actinic...

    Comment


      #3
      Hi Dave

      I tried that, but couldn't get it to work. I think maybe the syntax is not quite right.

      It's a good idea though and I have managed to get almost the same effect by using a bit of javascript:

      <script language="javascript">
      location.replace('http://www.workwearhouse.co.uk/shop/Cannot_Find_Product.html');
      </script>

      It's not quite as elegant as your method would have been.

      Cheers

      Bob
      Bob Smith
      Quality Workwear Clothing
      Personalised Corporate wear
      www.workwearhouse.co.uk

      Comment


        #4
        The fix for this can be found in

        http://community.actinic.com/showthread.php?t=9025

        Comment

        Working...
        X