Author |
Topic |
|
alex89
Starting Member
USA
5 Posts |
Posted - October 25 2004 : 09:36:05
|
Hi everybody, I need to add weight column and value to the shopping cart for every product. Maybe some of you have the experience with that. Any help would be appreciated.
Thanks, A.
|
|
wft
VP-CART New User
66 Posts |
Posted - October 25 2004 : 10:53:37
|
products table does have a field called "weight". not sure what you try to accomplish...would you give more info?
vpasp templates/skins
|
|
|
alex89
Starting Member
USA
5 Posts |
Posted - October 25 2004 : 11:53:07
|
How can I add weight value from my database to Shoping cart screen (shopaddtocart.asp)
Thanks, A.
|
|
|
greatphoto
VP-CART Super User
USA
304 Posts |
Posted - October 28 2004 : 06:29:54
|
Hi alex89-
This is an easy change in VPASP since ita a built-in feature! Just add "weight" to the xcartfields config. Field names entered in this config should be separated by commas.
|
|
|
alex89
Starting Member
USA
5 Posts |
Posted - October 28 2004 : 13:38:43
|
Thanks, Do you know how to add value of weight, not a title for field?
Have a great day.
|
|
|
greatphoto
VP-CART Super User
USA
304 Posts |
Posted - October 28 2004 : 20:53:48
|
Hi alex89-
This should have worked for you already. Are you saying that you added this and it just displayed the text "weight?"
I just tried this myself, and it displayed the contents of the weight field from the product record in the table.
I set xcartfields= ccode, cname, weight
Unfortunately, the display in shopaddtocart.asp did not have a label, so weight value displayed won't mean much to customers. Is this a weight, product code, or what? Perhaps this is what you meant to ask? I'm not sure how to add a label to it short of editing shopproductsubs.asp
Another reference on using this config: http://www.vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=2700 http://www.vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=1492
|
|
|
|
Topic |
|