Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advanced Search Problems


Timberwolfe

Recommended Posts

:'( Pardon me but I am new to this site and new to using osCommerce. I do like what it has done for us, but am having problems with the advanced search function on our site. You can view our site at www.movietimeonline.com and look at the advanced search. The function works and provides the appropriate amount of items that have been searched. However, it will show the first 5 items on the first page then when you select either the 'next' or page 2, 3, etc it will not go. It will not go past the first page. Does anyone have a solution to this?

 

I am currently going to a php class at my local community college so hopefully I won't be too difficult to work with. Any help is greatly appreciated. I can be contacted directly at [email protected] and will be happy to provide my actual files if someone can help. Thanks in advance!

Link to comment
Share on other sites

:'( Pardon me but I am new to this site and new to using osCommerce.  I do like what it has done for us, but am having problems with the advanced search function on our site.  You can view our site at www.movietimeonline.com and look at the advanced search.  The function works and provides the appropriate amount of items that have been searched.  However, it will show the first 5 items on the first page then when you select either the 'next' or page 2, 3, etc it will not go.  It will not go past the first page.  Does anyone have a solution to this?

 

I am currently going to a php class at my local community college so hopefully I won't be too difficult to work with.  Any help is greatly appreciated.  I can be contacted directly at [email protected] and will be happy to provide my actual files if someone can help.  Thanks in advance!

 

does it work if you remove the SEO friendly urls in admin?

 

the thing is, your regular product listing is working just fine. Your first page search is working too, so I assume the parameters have not been changed. After that, only the product listing is called, and as that has been working before ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

does it work if you remove the SEO friendly urls in admin?

 

the thing is, your regular product listing is working just fine. Your first page search is working too, so I assume the parameters have not been changed. After that, only the product listing is called, and as that has been working before ...

 

Monica:

 

I had one person contact me back as I posted for some PHP help on www.craigslist.org. This is what I got:

 

If you go to our site and hit advanced search and just hit the search button (search everything) it will go to the main page and show like 558 items. Then when you hit either next or page 1, 2, etc you get this URL:

 

http://www.movietimeonline.com/advanced_se.../sort/3a/page/2

 

but it should be:

 

http://www.movietimeonline.com/advanced_se...d%2Fyyyy&page=2

 

and page 3:

 

http://www.movietimeonline.com/advanced_se...d%2Fyyyy&page=3

 

and so on. It appears there is something not correct on the advanced_search_result.php on line 367 which reads:

 

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH, tep_get_all_get_params(array('sort', 'page', 'x', 'y')), 'NONSSL', true, false) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>

 

any ideas?

Link to comment
Share on other sites

Monica:

 

I had one person contact me back as I posted for some PHP help on www.craigslist.org.  This is what I got:

 

If you go to our site and hit advanced search and just hit the search button (search everything) it will go to the main page and show like 558 items.  Then when you hit either next or page 1, 2, etc you get this URL:

 

http://www.movietimeonline.com/advanced_se.../sort/3a/page/2

 

but it should be:

 

http://www.movietimeonline.com/advanced_se...d%2Fyyyy&page=2

 

and page 3:

 

http://www.movietimeonline.com/advanced_se...d%2Fyyyy&page=3

 

and so on.  It appears there is something not correct on the advanced_search_result.php on line 367 which reads:

 

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH, tep_get_all_get_params(array('sort', 'page', 'x', 'y')), 'NONSSL', true, false) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>

 

any ideas?

 

I do not agree .... have you tried setting the admin back to non SEO?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

How do you do that?  Sorry, I am unfamiliar with the programming.

 

 

admin --> configuration --> my store

 

set the parameter "Use Search-Engine Safe URLs (still in development)" to false (about in the middle of the page by editing it)

 

I need to see what your links look like then when hovering over page 2 :-)

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

admin --> configuration --> my store

 

set the parameter "Use Search-Engine Safe URLs (still in development)" to false (about in the middle of the page by editing it)

 

I need to see what your links look like then when hovering over page 2 :-)

 

Monica:

 

You were right on the money. It works great now. Thanks so much - you are awesome!!

 

-Charles

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...