Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Changing the shopping cart *** short stock identifier to *** - ONLY 3 avail.

Changing the shopping cart *** short stock identifier to *** - ONLY 3 avail.

11 Jul 2011, 6:45 PM
#1
brianwi avatar

brianwi

New Zenner

Join Date:
Jun 2011
Posts:
35
Plugin Contributions:
0

Post #1 by brianwi

I want to change the shopping cart a bit. When someone tries to order more than are in stock, right now it displays a *** under the quantity and behind the item description. I would like to change the one behind the description to *** - Only 3 avail. or something similar. I see that in zen_check_stock function in functions_lookups.php they already grab that data, would just need to save it in a variable. I played a bit and can get the number. However, I don't know how or where to return it to for display.

Anyone willing to help?