Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Modify Order/Invoice table to display only group product instead of products it containes
 
branko_ajzele
Member
 
Avatar
Total Posts:  35
Joined:  2008-06-18
Croatia
 

In the picture I provided I have a table of ordered products. Two items are shown on list, both of them belong to the same grouped product. I need a way to do the following:

If an order contains grouped product don’t list the products on order table, only list grouped product name, quantity and total price, plus the individual items not belonging to a product group (SKUs).

My idea is to find the template that list this out, then to use something like

foreach (orderitem as item)
{
if (item belongs to grouped product) {
print only grouped product info
}

print item info
}

Need help about this? Anyone done something similar?

Image Attachments
grouped_products.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top