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
Save Password
Forgot your Password?

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

VP-ASP 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>

VP-ASP Expert

United Kingdom
948 Posts

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

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


Go to Top of Page

Senior Member

United Kingdom
1898 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
[email protected]
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