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
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 6.5 - needing help adding images WITHIN CART
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP Super User

302 Posts

Posted - October 10 2010 :  11:34:20  Show Profile  Reply with Quote
Please note this is nothing to do with PRODUCT images ,thats all working fine :-)

i just need to add an image or three for my own uses within the cart system , but i cant seem to get them where i want or find correct page to edit ... Grrrrr

1) on page shopaddtocart.asp i want to ad an image BETWEEN the text , View cart and Shopping cart items

2) on page shopaddtocart.asp i want to add a further image lower down between the product cost text and continue etc buttons

3) on the shopcustomer.asp page i wih to add an image at top of page just below "home" but centrred

and finally

4) ON shopcustomer.asp I wish to add an image ALONGSIDE the "order comment" text

ANY help/pointers appreciated

EDIT - ITEM 4 - i have found on shopcustomer.asp around line 166

Edited by - bluesky on October 10 2010 12:55:11

VP-ASP Expert

United Kingdom
948 Posts

Posted - October 11 2010 :  07:32:35  Show Profile  Reply with Quote

add the blue highlighted code as follows using your own image paths. You can also add a centre tags to the images if you need to.

1) shopaddtocart.asp (line 176 approx)
Sub DisplayForm()
if getconfig("xbreadcrumbs") = "Yes" then
response.write "<div class=""breadcrumb""><a href=""" & getconfig("xhome") & """>" & getlang("langcommonhome") & "</a> " & SubCatSeparator & getlang("langcommonviewcart") & "</div>"
end if
Response.Write "<img src=""images/site/YourImageName.jpg""/>" & vbCrLf
Response.Write "<h1>" & getlang("langcommonviewcart") & "</h1>" & vbCrLf

2) shopaddtocart.asp (line 194 approx)
Sub FormatFormFields
<%=CartHeaderFont%><%=getlang("langCart01")%> <%=scartitem%><%=CartHeaderEnd%>
<form action="shopaddtocart.asp" method="post">
dim allowdelete
CartFormat allowdelete
response.write "<br />"
Response.Write "<img src=""images/site/YourOtherImage.jpg""/>" & "<br />"
If Getconfig("xbuttoncontinueshopping")="" Then

3) shopcustomer.asp (line 114 approx)
Sub DisplayEveryThing
ShopPageHeader ' Normal page header
if getconfig("xbreadcrumbs") = "Yes" then
response.write "<div class='breadcrumb'><a href='" & getconfig("xhome") & "'>" & getlang("langcommonhome") & "</a> " & SubCatSeparator & sbreadcrumb & "</div>"
end if
Response.Write "<img src=""images/site/YourImage.jpg""/>" & vbCrLf
If spagename <> "" Then Response.Write "<h1>" & spagename & "</h1>" & vbCrLf

Hope this helps,

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