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
 xalsobought Template ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

willy99
VP-ASP New User

Italy
108 Posts

Posted - December 14 2008 :  12:58:08  Show Profile  Reply with Quote
Dear,

I need to know which template use this option in order to show the "also bought" products because I need to translate the "Our Price" that appears in the form.

Thanks.

Asish
Starting Member

Fiji
3 Posts

Posted - December 14 2008 :  22:13:19  Show Profile  Reply with Quote
Its not a template.

Look for shopalsobought.asp and go thru the logics.

Go to Top of Page

willy99
VP-ASP New User

Italy
108 Posts

Posted - December 15 2008 :  04:53:29  Show Profile  Reply with Quote
I check shopalsobought.asp but in this file I don't find the "Our Price" label to translate.

I try to find "Our Price" also in the edit Language in the admin panel but I didn't find it.

Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - December 15 2008 :  05:33:36  Show Profile  Visit devshb's Homepage  Reply with Quote
it's in shopproductsubs.asp, but watch out because cross-selling uses the same formatting functions as also-bought does.

By the sound of it, the logic that it's using for your permutation of config options is this function within shopproductsubs.asp:

Sub FormatAssociatedrow

If you wanted a dedicated also-bought format with easier-to-tweak formats/options, take a look at:
BYZ080 - Also-Bought Template Fields for VP-ASP:
http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=286&opu=n

related to this is also:
BYZ086 - Cross-Selling Enhanced/Secondary Template Fields for VP-ASP:
http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=221&opu=n

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - December 15 2008 :  06:18:21  Show Profile  Reply with Quote
Hi,

if it is only the Price label that you want to change in the Also Bought display (which is the same display as Cross Selling as Simon pointed out) then open shopproductsubs.asp and find the following table display in sub formatassociatedrow (rs) which is about line 1785 approx.

<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="15%" valign="top" align="centre">
<a href="<%=url%>"><img src="<%=imagefile%>" ></a>
</td>
<td width="80%" valign="top" align="left"> <span class=hdrproduct><a href="<%=url%>"><%=ccode%></a></span>
<%=cdescription%> <br />

<%if hideprice <> true then %>
Price: <%=shopformatcurrency(rs("cprice"), getconfig("xdecimalpoint"))%>
<%end if%>
<br /><strong><a href="<%=url%>"><%=getlang("langproductclick")%></a></strong>
</td>

</tr>
</table>


You can substitute your own Our Price translation here if required.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

willy99
VP-ASP New User

Italy
108 Posts

Posted - December 15 2008 :  08:03:51  Show Profile  Reply with Quote
Thank you very much to all,

now I'm able to translate it in Italian.


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