Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.

You are not logged in.

#1 2012-04-18 14:31

thegame1083
Member

in_stock PRODUCTS TABLE

instead of a checkbox and a yes/no  value where it says in_stock

I would like the value of how many products I actually have in_stock to display on my shopping cart

HELP!!!

Offline

 

#2 2012-04-19 01:52

rat
Administrator

Re: in_stock PRODUCTS TABLE

Enable the Stock level control option in settings.


Be careful what you wish for — you might get it.

Offline

 

#3 2012-04-19 07:55

thegame1083
Member

Re: in_stock PRODUCTS TABLE

Shop-Script FREE doesn't have that option..it uses some $smarty variables

I'm trying to turn (this below outputs: Price: $11.99) because it gets the 11.99 from the table in the database
{$smarty.const.CURRENT_PRICE}: <font class="cat" color="red" >{$product_info[12]}</font>

into (Available quantity: I want to output the numerical value in the table)
{$smarty.const.AVAILABLE_STOCK}: <font class="cat" color="red" >{$in_stock[12]}</font>

does anyone use Shop-Script FREE with this Smarty stuff???

Offline

 

Board footer

Powered by PunBB