Announcement

Collapse
No announcement yet.

"No matching products found" template?

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

    "No matching products found" template?

    Last formatting question, then I think we have finished.

    When you search for a product that does not exist, you get the message

    "No matching products were found"

    Which template do I edit need to edit as I also need to center this in a 600px table. At the moment it seems to be left aligned somewhere.

    If you need to see an example of what I mean then Click Here and do a simple search for "any old thing you like"

    Any ideas on this one.

    Thanks
    Thanks

    JoBananas Body Jewellery - Body piercing jewellery, belly bars and ear stretching plugs

    #2
    Hi,

    Try the following:

    Click on 'Design | Text' and then on the 'Go To' button in the bottom left corner of the screen. In the 'ID' field type 217 and click 'OK'. This should take you to the prompt:

    Code:
    No matching products were found.
    Add your table tag at the beginning of this line so it looks something like:

    Code:
    <table align="center" border="0" width="600"><tr><td>No matching products were found.
    Click 'Apply'. Then click on the 'Go To' button again and type 23 into the 'ID' field and click 'OK'. This will take you to the prompt:

    Code:
    Please wait for your browser to forward you to the next page or click <A HREF="%s">here</A>.
    Close the table tags at the end of this, so it looks something like.

    Code:
    Please wait for your browser to forward you to the next page or click <A HREF="%s">here</A>.</td></tr></table>
    Click 'OK' and update the site
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Thanks Tracey

      Its working fine now.
      Thanks

      JoBananas Body Jewellery - Body piercing jewellery, belly bars and ear stretching plugs

      Comment


        #4
        Thanks guys, answered my question too! On a similar theme, is there any way to suppress the auto-forward on this page, keeping the 'click here' to continue text as the main way out?

        Comment


          #5
          Hi Richard

          is there any way to suppress the auto-forward on this page, keeping the 'click here' to continue text as the main way out?
          You could simply go to "Design | Option | Shop Default" and place a "0" for the "Bounce page delay".

          Kind Regards
          Nadeem Rasool
          SellerDeck Development

          Comment


            #6
            Nadeem, I have already done this - that works great for suppressing the bounce page on the 'add to shopping cart' page (which thankfully I also wanted to do!) but doesn't seem to suppress the bounce page on null search results.

            Comment


              #7
              Hi Richard

              I have just been checking this, and it looks like this can't be achieved. The bounce back is done via a perlscript rather than the html page.

              Kind Regards
              Nadeem Rasool
              SellerDeck Development

              Comment


                #8
                Thanks for checking anyway Nadeem - can we include it on the next wish-list?

                Comment


                  #9
                  Any way of editing the perl??

                  Comment


                    #10
                    Hi Richard

                    I will ask development if this can be achieved

                    Kind Regards
                    Nadeem Rasool
                    SellerDeck Development

                    Comment


                      #11
                      Hi Richard

                      Open SearchScript.pl

                      do a search for "sub SearchError", this should be on line 1126.

                      On line 1138, you will have the following

                      Code:
                      ACTINIC::BounceToPageEnhanced(5,
                      Change 5 to -1 and save the file

                      Update the site and it should work

                      Tested on 6.1.5 EGRA

                      Kind Regards
                      Nadeem Rasool
                      SellerDeck Development

                      Comment

                      Working...
                      X