VP-ASP New User
Posted - May 12 2007 : 06:12:04
| Not a bug but a better way to display Page _ of _,  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
response.write smallinfofont & getlang("langCommonPage") & " " & mypage & getlang("langCommonOf") & " " & maxpages & smallinfoend
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.