radical hacks Changes to Selena Sol's Webstore 4.0
Also, check out the hack that made to do previous as well as next!

Thanks for checking out my Changes to Selena Sol's Webstore 4.0. Thanks for the great scripts, Selena & Gunther ! I'm currently working on an online catalogue for a CD Distribution Company, and I chose Web Store for the shopping cart system. However, as awesome as these scripts are, I needed to make some changes. I will document those changes here so that others can benefit from my changes. The first change here is to allow the database search to return a set number of hits at a time, giving the shopper the opportunity of viewing the next 10 hits (or whatever value you have set in your setup file). I will soon add some of the other changes I have made based on discussions in Selena Sol's Script Archive Web Conference.

View Next 10 Hits

In the file web_store.cgi under the section:
I replaced the following line:
With these two lines:

then, in the file web_store_db_lib.pl, there is a subroutine that begins with: i replaced the following line: with: then further down in that same subroutine, replace: with: further down still in the same subroutine, replace: with:

the last file that i modified was web_store_html_lib.pl in the section: i replaced the following routine: with:

I'm pretty sure that's all I did to make the max rows returned return a predefined amount of hits. If you're interested in seeing my implementation of Webstore, you can check out the catalogue at http://www.festival.bc.ca If you have any comments, you can email me at . My site can be found at http://www.neel.org/.

thanks for stopping by !