Welcome, Guest ( Customer Panel | Login )




 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  

bluesky
VP-CART Super User

304 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
paul

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

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

carfin
VP-CART Expert

United Kingdom
948 Posts

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

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()
ShopPageHeader
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
allowdelete="TRUE"
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,

Carrol
www.deanston-electrical.co.uk
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