VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 Page _ of _, [1] and Back/Next on Product pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

186 Posts

Posted - May 12 2007 :  06:12:04  Show Profile  Visit stone5150's Homepage  Reply with Quote
Not a bug but a better way to display Page _ of _, [1] and Back/Next on Product pages. On about line 230 of shopdisplayproducts.asp there is a script to display those things. It shows page 1 of 1 and the page numnber even if there is only one page. My script does it better by only displaying this if there is more than one page of products and IMO displays it nicely.

If maxpages > "1" Then
PageNavBarNext SQL
response.write smallinfofont & getlang("langCommonPage") & " " & mypage & getlang("langCommonOf") & " " & maxpages & smallinfoend
PageNavBar SQL
end if

You can also add it to line 170 or so to make the same thing show up (or not show up) on the top of the page.

As always, have a backup of the file in case you make a mistake.

Bob Stone
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000