Welcome, Guest ( Customer Panel | Login )




 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-CART Expert

Argentina
779 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-CART 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
0 Item(s)
$0.00