Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Show ccode in product display
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fade2black
Starting Member

Spain
25 Posts

Posted - May 23 2004 :  15:42:42  Show Profile  Visit fade2black's Homepage  Reply with Quote
Hi, Does anyone know how to show the Product Code (ccode) to the product display in the same or similar way as in the shopexd page? eg, Item #AB1234
Would be great if it is possible to ad into the "Name" or even the prod desc column.

Gave up with above and tried adding to xproductfields. Does ad the ccode but under the "Name" heading and moves other columns out of sync. Tried to add another heading in the shop$colors.asp to no avail.

Would appreciate if anybody has the answer. TIA




kkemper
Starting Member

12 Posts

Posted - May 23 2004 :  19:52:42  Show Profile  Visit kkemper's Homepage  Reply with Quote
I believe the easiest way to do this would be to display products with templetes. Then edit the template to the layout that you want. To add the code into the template all you need is to add the [ccode] to the template. This is the template layout I use and normally I do not display the ccode but all I did was add a simple line to it.

<TABLE border="1" cellspacing="0" cellpadding="1" width="410">
<tr>
<TD align=center height="0">
[formatimage sub]
</font>
</TD>
<td>
<TABLE border="0" cellspacing="0" cellpadding="0" align="center">
<TR>
<TD bgcolor="#FFFFFF">
<u>[cname]</u>
<DIV align="left">
<font face="Arial" size="1">
Insert this line Item#-[ccode]<br>
[cdescription]
[FormatProductOptions sub] <BR>
[formathyperlinks sub]
</font> </DIV>
</TD>
</TR>
</TABLE>
</td>
<td align=center><B><font size="1" face="Verdana">In<br>Stock:<br></font></B>
[cstock]
</td>
<td>
<table>
<TR>
<TD align=center height="20" valign="bottom"> <B><font size="1" face="Verdana">Price:</font>
</B><B><font size="2" face="Arial">[formatcurrency cprice]</font></B></TD>
</TR>
<TR>
<TD align=center valign="bottom" height="0"><font size="1" face="Verdana"><B>Qty:</B></font>
[formatquantity sub] <BR>
[formatbutton sub] </TD>
</TR></table></td>
</tr>
</TABLE>

Kevin

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