Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Reformat Mini-Cart & Main Cart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tacticalcity
Starting Member

7 Posts

Posted - April 25 2008 :  18:29:58  Show Profile  Reply with Quote
The item description is displayed in a new paragraph below the item name. This wastes a lot of space. I would like to remove the item description from both.

I would also like to have the SKU immediately infront of the item name on the Main Cart (not the Mini-Cart).

I need the SKU to be on the shopa_formatorder.asp page as well.

Can you tell me how to do this? Thanks.

devshb
Senior Member

United Kingdom
1904 Posts

Posted - April 25 2008 :  18:53:45  Show Profile  Visit devshb's Homepage  Reply with Quote
For the item description that goes into the order item line (ie the description you see in the mini-cart item description and also in shopa_formatorder.asp), you can change that via the config option:

xcartfields

in that config option you type in the names of the columns from the products table that you want the system to put into the order-item description.

eg if you want to show the product code, then the product name, you'd enter:

ccode,cname

If you want to change it so that it adds, say a space instead of a newlline between each of those values, then edit shopproductsubs.asp and look for:

Sub GetNameInCart

and a few lines down change this:

if nameincart<>"" then
nameincart=nameincart & "<br />"
end if

to something like this:

if nameincart<>"" then
nameincart=nameincart & " "
end if



Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on April 25 2008 18:58:32
Go to Top of Page

tacticalcity
Starting Member

7 Posts

Posted - April 25 2008 :  20:12:27  Show Profile  Reply with Quote
Problem Solved...Thanks Much!!!
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