ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Display Quantity in product listing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Display Quantity in product listing

 Post Reply Post Reply
Author
Message
dragoncrown View Drop Down
Newbie
Newbie


Joined: 21-March-2010
Location: Tulsa
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dragoncrown Quote  Post ReplyReply Direct Link To This Post Topic: Display Quantity in product listing
    Posted: 02-August-2010 at 10:05pm
Is it possible to show the quantity in stock on the product listing summary? I have set the setting at the category level to "In a list (Add multiple to cart)". I would like for it to show the quantity in stock.
 
Is that a setting or will I need to modify code?
 
Sean
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 10:35pm
Custom code.  Look at the product table and identify the inventory field, then add that field to the query on viewcategories.asp.  Once that is done, just alter pcShowProductM.asp for the new column.
Back to Top
dragoncrown View Drop Down
Newbie
Newbie


Joined: 21-March-2010
Location: Tulsa
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dragoncrown Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 11:00pm
Thanks!
 
good news is that the products.stock column is already a part of the query. Now to get it added to pcShowProductM.asp
Back to Top
dragoncrown View Drop Down
Newbie
Newbie


Joined: 21-March-2010
Location: Tulsa
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dragoncrown Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 11:13pm
Any idea where the column header comes from? Found the field to add (pStock) but trying to find where to a new column header.
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 11:16pm
it's in the main category page, before the include to the M file.
Back to Top
dragoncrown View Drop Down
Newbie
Newbie


Joined: 21-March-2010
Location: Tulsa
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dragoncrown Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 11:29pm
Ok awesome found them but does anyone know what this code refers to:
 
dictLanguage.Item(Session("language")&"_viewCat_P_8
 
That is was looks like where the column names come from
 
Sean
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 11:33pm
includes/languages.asp
Back to Top
dragoncrown View Drop Down
Newbie
Newbie


Joined: 21-March-2010
Location: Tulsa
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote dragoncrown Quote  Post ReplyReply Direct Link To This Post Posted: 02-August-2010 at 11:36pm
BTW, thanks for the assist. In less than one hour after your post, I am done! It works great. Thanks again for the help. If anyone wants my edits, let me know. I can post them somewhere.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.