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
 Customization
 How to modify Customer Also Bought
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

the-war-lord
Starting Member

Australia
21 Posts

Posted - October 22 2008 :  03:39:21  Show Profile  Visit the-war-lord's Homepage  Reply with Quote
Hi everyone,

I'm trying to modify the display of the 'Customer Also Bought' page but can't quite work out where the template/code is?

Any tips?

Thanks in advance,
Ness

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - October 22 2008 :  04:56:32  Show Profile  Reply with Quote
Hi Ness,

if you have the also bought products appearing on the shopexd.asp page (underneath your large image and extended description) and want to change the layout, it is generated by a sub routine in the file shopproductsubs.asp

Find sub routine: Sub FormatAssociatedrow (rs)
It's about line 1780 approx. Then within that routine find the table display code:

<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="20%" valign="top">
<a href="<%=url%>"><img src="<%=imagefile%>" width='60' height='60' border='0'></a>
</td>
<td width="50%" valign="top" align="left"> <span class=hdrproduct><a href="<%=url%>"><%=cname%></a></span>
<br /><%=cdescription%></td>
<td width="30%" align="right" valign="top">
<%if hideprice <> true then %>
Our Price: <span class='price'><%=shopformatcurrency(rs("cprice"), getconfig("xdecimalpoint"))%></span><br />
<%end if%>
<p><strong><a href="<%=url%>"><%=getlang("langproductclick")%></a></strong></p>
</td>
</tr>
</table>


You can alter your display here

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