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 extra info into cart/basket
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mcg
Starting Member

29 Posts

Posted - October 24 2010 :  13:15:19  Show Profile  Reply with Quote
Hello, Another very simple question no doubt.
When i add a product into my basket it displays name description price etc and also product id (ccode) -but it just displays the number of the product code and i would love to be able to add the text 'Product number' in front of it. Where abouts do i need to add this please .

I have spent a few hours trying to work this out but find myself going round in circles.
Thank you

diegomilito
VP-ASP Expert

Argentina
723 Posts

Posted - October 27 2010 :  03:35:48  Show Profile  Reply with Quote
are mentioning about to add word "Product number" in the shopaddtocart.asp ?

Diego.
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - October 27 2010 :  04:07:29  Show Profile  Reply with Quote
Hi mcg,

If you are using v6.50 it's a fairly easy addition if you have your ccode field as the first of your xcartfields eg. ccode,cname,pother2 etc

Open and save a copy of shopproductfeatures.asp and find:
Sub CartAddItem(id, rc) - (line 50 approx.)

Then find the line:
arrCart(cProductname,scartItem) = NameInCart - (line 100 approx)
Change this line to:
arrCart(cProductname,scartItem) = "Product Number: " & NameInCart

This just adds the words Product Number: to the start of your xcartfields

Hope this helps,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000