I use x-cart for my t-shirt site but I don't use x-affiliate. I want to pay my affiliates $10 per shirt they sell for me. The affiliate software I use needs a total quantity on the invoice page to compute the commission. I need to multiply the TotalQty * 10 so that I can get a sum that I give my affiliates 100% of resulting in them getting $10 per item sold in the stats.
Does anyone know how to get a total qty on the invoice page (mail/html/order_data.tpl) ?
I see {$product.amount} is displayed for each line to display the qty for each product ordered, but is there a way to total all the quantities together at the bottom along with the subtotal?
Any help would be greatly appreciated!
This is the desired effect I am trying to achieve.
http://www.crazytees.com/zebra/qty.gif