Adding a "Stock column" in product_list.tpl in the admin folder

uk.hamza

No avatar

2007-10-24 15:57

I have added the stock plugin into my cart. You can add the stock quantity to the product in the product_form.tpl and saved into a product_stock database, Fine!!!
What i am after is to display stock quantity in the product_list.tpl in the ADMIN folder. So i can see the product details on the list together with their stock level.

I have managed to add a column where the stock is supposed to show in the product_list.tpl as follow:

<td>
$lang[Stock_quantity]
</td>

and i have added this global variable to the same page:

<td>
$aStock[iStock]
</td>

However, I still can't view the stock level of each product. I am sure it's very easy to get it done, but i am not too familiar with the whole concept of the quickcart files.

Please help is needed.

Many thanks

» Quick.Cart v2.x

uk.hamza

No avatar

2007-10-25 11:48

I feel my question has been ignored :-( ...

Is anyone from Quickcart team who can help with this issue??

Best regards,

uk.hamza

No avatar

2007-10-26 11:45

It is no doubt that my question has been forgotten!!???

:-(

uk.hamza

No avatar

2007-10-29 13:08

Hi guys!!

Still waiting for this magic answer from someone?

Please help

uk.hamza

No avatar

2007-10-30 12:16

Guys!!! It is just disappointing that none is able to even give a hint to my problem. Even the guys from QuickCart are not ready to suggest some help.

I am still having fate that someone will turn up and answer the above question. Please provide a solution.

:-))

Claps

Avatar: Claps

2007-10-30 14:44

uk.hamza : I studied a little your problem and it's not a simple task, unfortunately. You have to modify or redefine function "throwProductsData" from "core/products.php", but if you have "productsInRow" plugin installed it's already redefinde by this plugin, so.... it's not so simple.

Back to top
about us | contact