Welcome, Guest ( Customer Panel | Login )




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

baseline
VP-CART New User

United Kingdom
60 Posts

Posted - August 31 2006 :  02:58:40  Show Profile  Reply with Quote
We have an unusual situation where all of our products run as sub-products (or child products) from parent products, and are presented using the 'table' option, which gives a hyperlink to the extended description page. How can we modify the table display to show any field from the database (not just cname and hyperlink) and how can we change the look of the table so it's arranged neatly like a html table?

We would like to display ANY field from the database in this "table" (this is for product dimensions, etc), for example cprice, pother1, ccode. We don't require cimage.

We would also like the ASP code to write out html into a table format like:

[IMAGE] Parent Product
[COLUMN NAME][COLUMN NAME][COLUMN NAME][COLUMN NAME]
[code][name][hyperlink][other1][other2][hyperlink to extended descrip]
[code][name][hyperlink][other1][other2][hyperlink to extended descrip]
[code][name][hyperlink][other1][other2][hyperlink to extended descrip]
etc. LOOP for all sub-products displayed.
With lines or table borders if we can!

thank you in advance!

Andy (Baseline)

ironhawker
VP-CART Super User

USA
260 Posts

Posted - August 31 2006 :  14:32:26  Show Profile  Visit ironhawker's Homepage  Reply with Quote
Your table presentation can be done with the /stylesheets/shop.css and or shop$colors.asp.
http://www.vpasp.com/helpnotes/shopexd.asp?id=69

For the activity see http://www.vpasp.com/helpnotes/shoptoc.asp and search for templates.
Here is the one for formatting hyperlinks
http://www.vpasp.com/helpnotes/shoptocdetail.asp?id=15#75
See Advanced Extensions here..
http://www.vpasp.com/helpnotes/shoptocdetail.asp?id=583#707
and this one for Template Control from admin
http://www.vpasp.com/helpnotes/shoptocdetail.asp?id=15#72


~-~-~-~-~-~-~-~-~-~
Randy "RC" Corn
Institute of Higher Learning

[email protected] 425-828-0738
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