Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 cross selling / related products
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wity
Starting Member

USA
3 Posts

Posted - July 18 2003 :  18:02:46  Show Profile  Reply with Quote
Hello, I am a new user on vpasp. Is is possible to display images of the related products or corss selling products instead of a text link?

Any help would be appreciated

Cam
VP-CART Super User

Australia
361 Posts

Posted - July 29 2003 :  14:23:59  Show Profile  Visit Cam's Homepage  Reply with Quote
hi there,

You may need to tweak this a bit to work but this is what we have in our shopfileio.asp page in the cross selling sub:

strMessage=strMessage & "<br><table border=0 cellpadding=1 cellspacing=1
width=230>"& vbCrLf <br>
strMessage=strMessage & " <tr>"& vbCrLf <br>
strMessage=strMessage & " <td rowspan=4 valign=top>" <br>
strMessage=strMessage & "<a href='" & strURL & "'>"
& "<img src=""" & RS("Cimageurl") &
""" width='60' height='60' border='0'></a>"&
vbCrLf <br>
strMessage=strMessage & "</td>"& vbCrLf <br>
strMessage=strMessage & " <td valign=middle class=topSelling><a
href='" & strURL & "'>" & Rs("cname")
& "</a></td>" <br>
strMessage=strMessage & " </tr>"& vbCrLf <br>
strMessage=strMessage & " <tr>"& vbCrLf <br>
strMessage=strMessage & " <td class='small'>" & Rs("cdescription")
& "</td>"& vbCrLf <br>
strMessage=strMessage & " </tr>"& vbCrLf <br>
strMessage=strMessage & " <tr>"& vbCrLf <br>
strMessage=strMessage & " <td class='small'>" & ShopFormatCurrency
(RS("Cprice"), decimalpoint) & "</td>"& vbCrLf
<br>
strMessage=strMessage & " </tr>"& vbCrLf <br>
strMessage=strMessage & " <tr>"& vbCrLf <br>
strMessage=strMessage & " <td class='topSellingBuy'><a href='shopaddtocart.asp?productid="&rs("catalogid")&"'>Buy
Now</a></td>"& vbCrLf <br>
strMessage=strMessage & " </tr>"& vbCrLf <br>
strMessage=strMessage & "</table>"& vbCrLf <br>

Cheers,
Cam

*************************************
Cam Flanigan
YourVirtualStore Sales
e-mail:
http://www.vpasp.com/sales/shopcustcontact.asp
web: http://www.yourvirtualstore.net

Build you own YourVirtualStore!!!
www.yourvirtualstore.net
*************************************

Edited by - cam on July 29 2003 14:24:44
Go to Top of Page

Agravane
Starting Member

34 Posts

Posted - July 29 2003 :  17:07:26  Show Profile  Reply with Quote
I went a bit further, by allowing customer to add products directly from the shopexd.asp page. Example: http://www.craftworldmall.com/shopexd.asp?id=18

If you would like the code, send me an e-mail.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00