Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Cross Selling Control?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jackbox
VP-CART New User

United Kingdom
72 Posts

Posted - May 19 2005 :  05:39:48  Show Profile  Visit jackbox's Homepage  Reply with Quote
In latest version of VPASP, what exactly is controlling the display of crosselling images if you opt for this in admin? Is it in shop$colours and if so will altering that not affect some other part of the cart. I'm using a template for product but could crosselling display not be pulled in as a seperate template?

jackbox
VP-CART New User

United Kingdom
72 Posts

Posted - May 19 2005 :  05:44:34  Show Profile  Visit jackbox's Homepage  Reply with Quote
Hmm, I must be tired - just found it much further down shopfilio.asp - doh.....

Go to Top of Page

jackbox
VP-CART New User

United Kingdom
72 Posts

Posted - May 19 2005 :  07:11:38  Show Profile  Visit jackbox's Homepage  Reply with Quote
A little time spent on this and created this useful addition to shop$colours for crossselling (example):

' Crosselling
const CrossTableDef="<table width=100% border=0 align=center cellpadding=2 cellspacing=1>"
const CrossHeadRow="<tr bgcolor='#C465C4'>"
Const CrossRowEnd="</tr>"
const CrossHeadColumn="<td align=center><font face='Tahoma, Verdana' size=2 color='#FFFFFF'><b>"
const CrossHeadColumnEnd="</b></font></td>"
const CrossDetailRow="<tr bgcolor='#FFFFFF'>"
const CrossDetailColumn="<td valign='top' align=center><font face='Verdana' size=2>"
const CrossDetailColumnEnd="</font></td>"
const CrossDetailRowX="<tr bgcolor='#CCCCCC'><font face='Verdana' size=2>"
const CrossTableEnd="</font></table>"
const CrossInfoFont="<font face='Verdana' size=2><b>"
const CrossInfoFontEnd="</font></b>"

Plus change shopfilio 295 onwards to:

' Start crossselling table
'****************************************************************
Response.write crosstabledef
response.write crossheadrow
response.write crossHeadColumn
Response.write getlang("LangCrossSellingMessage")
Response.write crossHeadColumnEnd
response.write crossrowend
Response.write tabledefend
Response.write crosstabledef
end sub

etc etc

Main thing is creating a proper handler in shop$colours and renaming reponse writes to suit. Gives much better control of crossselling!

Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 25 2005 :  12:00:12  Show Profile  Visit devshb's Homepage  Reply with Quote
Cross-selling seems to be something that everyone wants to tweak (just do a search for "cross" on this forum and you'll find tons of postings!) so we've just built an addon which lets you tweak things; it can be used in place of your vpasp cross-selling template-fields, or as a secondary/in-addition template field.

For more info, see:
http://vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=3802

http://bigyellowzone.com/shopexd.asp?id=101

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
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