 tax_amount × qty Below the items table, the footer displays comprehensive order calculations: Subtotal - Sum of all product prices × quantities (before tax/discount) Discount - Applied coupon discount (if any) showing coupon code and discount details (e.g., "SUMMER20 - 20% off") Total Tax - Sum of all tax amounts for all items Order Total - Final amount due (subtotal - discount + tax), displayed in large bold blue text for emphasis For digital products in PAID orders, download links are automatically generated: Download link appears next to product name in paid orders Link includes order token for secure access verification Query parameters: digital_download=1&product_id=[id]&invoice_id=[order_id]&invoice_token=[token] Only displayed if order status is "Paid" AND product type is