Jump to content

 

roussetos

Member Since 27 Feb 2014
Offline Last Active Jan 08 2021 10:56 PM
-----

#326485 How To Add Product Amount In Order.details (Backend)

Posted by roussetos on 10 April 2020 - 11:31 AM

Yes Done!!!
This is solution!

Thanks!
 

 

Try

{$oi.amount}

which will give you the purchased quantity (but it already shows that).  If you want the amount that is currently in inventory (after this order) then you'll most likely have to do something like this:

{assign var="inventory_amount" value=$oi.product_id|fn_get_product_amount}
{$inventory_amount}