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-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Adding Mfg in front of Prodname in carts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

61 Posts

Posted - December 05 2004 :  12:04:31  Show Profile  Reply with Quote
Hello again,

I'm trying to figure out how to add the mfg name in front of the prodname (i.e. "Trident Bubblegum" instead of "Bubblegum") for both the minicart and main carts. Since there is cart array building going on at that point, it will have to be stuck into the array code, but I can't figure out the syntax for grabbing the mfg field from the database for the particular item being processed. Any insight?



4284 Posts

Posted - December 05 2004 :  12:58:49  Show Profile  Visit support's Homepage  Reply with Quote
For the main cart you can change the shop configuration


The minicart does requite a minor code change

edit shopproductfeatures.asp

arrCart(cProductmininame,scartItem) = strcname
change to
arrCart(cProductmininame,scartItem) = strmfg & " " & strcname

VP-ASP Support

Go to Top of Page

VP-ASP New User

61 Posts

Posted - December 08 2004 :  23:24:05  Show Profile  Reply with Quote
Thanks for the reply. The minicart looks perfect now, with the Manufacturer Name simply appended before the Product Name just as I wanted.

Things are different for the cart layout in all other instances though. It seems that the Manufacturer name winds up on a line *above* the Product Name, and that doesn't look quite right. Where/how can I get the cart layout to emulate the minicart layout in this instance? I've been scrounging through the cart building code but I can't seem to find the spot before the array fields are aggregated and dumped out into HTML code.


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