Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 How to add pother1
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvis
VP-CART Super User

202 Posts

Posted - August 26 2008 :  02:38:16  Show Profile  Reply with Quote
I want to add a field called "Size" to shopexd.asp.

But I am not really sure how to do it.

My code will be like this but if I am missing something, could anyone give me suggestion please.

Adding the following code to tmp_product.htm.
=====================

<div id="size"><b>Size:</b> [pother1]</div>

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - August 26 2008 :  04:09:11  Show Profile  Reply with Quote
Hi,

I don't usually work with <div> tags in a table but the code looks fine for the template.

Regards,

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

devshb
Senior Member

United Kingdom
1904 Posts

Posted - August 26 2008 :  04:59:08  Show Profile  Visit devshb's Homepage  Reply with Quote
yes, it looks fine.

the only thing is that if it's an optional field then put a $ at the front, ie like this:

$<div id="size"><b>Size:</b> [pother1]</div>

the $ tells vpasp that if pother1 is blank for that record then don't show the rest of the html (ie the size div etc) from that template source line.

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