suppressed wrote: > My first post to this list comes after searching the archives > unsuccessfully for what seems like a simple question. For mostly > aesthetic reasons I would like the URL of the product detail pages > (flypage.html) to be based on a field other than sku. For example, > instead of www.mystore.com/os28108.html I would like to have that same > product pulled up by www.mystore.com/Hand_Brush.html or something along > these lines. Let's say it's a custom field I created which simply takes > the title and replaces spaces with underscores. > The Standard demo has a neat feature you could modify. See the "SpecialSub missing ncheck_category" and associated "Sub ncheck_category" configuration. If the requested SKU is not found then the "missing" SpecialSub kicks in, if defined. That subroutine can do whatever you need. In the demo, it initiates a search if the requested name starts with a capital letter. You could get it to check the products table for the requested value, in a unique-indexed column, and then call a flypage as if the SKU was requested directly. Perhaps even fall-back to a search if no result was found. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ suppressed _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.