CartThrob 9 documentation for ExpressionEngine commerce teams Visit CartThrob.com
CartThrob.com

Template Tags: Purchase History

Purchase history tags query completed orders and purchased line items. Use them to build order history pages, product reports, “customers also purchased” recommendations, and member account views of past purchases.

These tags read from saved order data rather than the active cart session. They are commonly paired with checkout and cart tags on account and confirmation templates.

Line Item and Order Queries

Use these tags to iterate purchased items, summarize order totals, and retrieve entry IDs from historical orders.

Product Recommendations and Purchase Checks

Use these tags on product detail pages, account areas, and merchandising blocks.

Purchase history tags often appear alongside: