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

 All Forums
 VPCart Forum
 Customization
 adding weight value to the shopping cart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alex89
Starting Member

USA
5 Posts

Posted - October 25 2004 :  09:36:05  Show Profile  Reply with Quote
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-ASP New User

66 Posts

Posted - October 25 2004 :  10:53:37  Show Profile  Visit wft's Homepage  Reply with Quote
products table does have a field called "weight". not sure what you try to accomplish...would you give more info?


vpasp templates/skins

Go to Top of Page

alex89
Starting Member

USA
5 Posts

Posted - October 25 2004 :  11:53:07  Show Profile  Reply with Quote
How can I add weight value from my database to Shoping cart screen (shopaddtocart.asp)

Thanks,
A.

Go to Top of Page

greatphoto
VP-ASP Super User

USA
304 Posts

Posted - October 28 2004 :  06:29:54  Show Profile  Reply with Quote
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.


Go to Top of Page

alex89
Starting Member

USA
5 Posts

Posted - October 28 2004 :  13:38:43  Show Profile  Reply with Quote
Thanks,
Do you know how to add value of weight, not a title for field?

Have a great day.

Go to Top of Page

greatphoto
VP-ASP Super User

USA
304 Posts

Posted - October 28 2004 :  20:53:48  Show Profile  Reply with Quote
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

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000