0

When I ordered 5 items, "Total Qty" in order confirmation mail is correct. But if I invoiced only 3 items, "total Qty" in invoice mail says 5.

so i wanted to make "Total Ordered Qty" and "Total Invoiced Qty" separately how can i get the invoiced qty in total.phtml ???

path : base / default / template / sales / order / totals.phtml

<tr>
        <td colspan="3" ><strong>Total Invoiced Qty</strong></td>
        <td class="last" style="width:300px;">
        <strong>
       <?  **i don't know what to put in here. please help me**   ?>

        </strong>
        </td>

</tr>

1 Answer 1

1

Use getQty() method of item object as follows.

$item->getQty();

You need to use existing item object in that file or create new item object as per need.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.