![]() |
Display Quantity in product listing |
Post Reply ![]() |
Author | |
dragoncrown ![]() Newbie ![]() Joined: 21-March-2010 Location: Tulsa Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
dragoncrown ![]() Newbie ![]() Joined: 21-March-2010 Location: Tulsa Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks!
good news is that the products.stock column is already a part of the query. Now to get it added to pcShowProductM.asp
|
|
![]() |
|
dragoncrown ![]() Newbie ![]() Joined: 21-March-2010 Location: Tulsa Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Any idea where the column header comes from? Found the field to add (pStock) but trying to find where to a new column header.
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
it's in the main category page, before the include to the M file.
|
|
![]() |
|
dragoncrown ![]() Newbie ![]() Joined: 21-March-2010 Location: Tulsa Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
includes/languages.asp
|
|
![]() |
|
dragoncrown ![]() Newbie ![]() Joined: 21-March-2010 Location: Tulsa Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |