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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 Hakkatil''s new products code
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

theking
Starting Member

9 Posts

Posted - January 31 2003 :  11:00:40  Show Profile  Reply with Quote
Is there an easy way to alter hakkatil's new products code to show the first 10 newest items on one page and display the next 10 on another page?

Any and all imput is much appreciated!!!:D

Thanks!

Don Bromeier
Majesty Sites, Inc.

Superal
VP-ASP Expert

Canada
542 Posts

Posted - January 31 2003 :  16:23:03  Show Profile  Reply with Quote
Change Do While Not rs.EOF and count<20
then surround the <td><font size="2"><a href="shopadd.....
with
if count > 9 then
<td><font size="2"><a href="shopadd.....
end if








Edited by - superal on February 05 2003 02:51:37
Go to Top of Page

theking
Starting Member

9 Posts

Posted - February 02 2003 :  19:24:34  Show Profile  Reply with Quote
It's not working. I think I'm still missing something here.

Go to Top of Page

theking
Starting Member

9 Posts

Posted - February 04 2003 :  19:17:44  Show Profile  Reply with Quote
Yes, I still don't have this working. I need to show newest items 11 - 20 on a second page.

Please

Please

Any other thoughts out there?

Thank You!

Go to Top of Page

theking
Starting Member

9 Posts

Posted - February 07 2003 :  11:07:37  Show Profile  Reply with Quote
quote:

Change Do While Not rs.EOF and count<20
then surround the <td><font size="2"><a href="shopadd.....
with
<%
if count > 9 then
%>

<td><font size="2"><a href="shopadd.....

<%
end if
%>


I just wanted to write back to say thank you, Superal! Your help in this forum has helped many people and is sincerely appreciated!!!

The final problem was due to the way the original code was written. The if then statement needed to be included as shown in blue above.






Edited by - superal on February 05 2003 02:51:37



Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000