ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - SKU Search: Want to go to Detail Product Page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SKU Search: Want to go to Detail Product Page

 Post Reply Post Reply Page  <12
Author
Message
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 03-February-2011 at 3:27pm
Yeah the code from before will of course work just as it has been. I just wanted to do what you did and add a sku search to all of my pages, but i didnt want to change my search box to a sku search or add a second box, so I coded that solution. The only other thing I changed was a slightly redundant if statement, which I reworded as:


intSkuJump=0

if request.querystring("skuJump") <> "" then

     intSkuJump=cint(getUserInput(request.querystring("skuJump"),0))

end if


instead of what it used to be:


if request.querystring("skuJump") <> "" then

     intSkuJump=cint(getUserInput(request.querystring("skuJump"),0))

else

     intSkuJump=0

end if


Not a huge difference, but I was in the code and I saw the opportunity for a small optimization.

Edited by Brett - 03-February-2011 at 3:28pm
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.055 seconds.