Forum
Display Order Details - Cart Property in Historical Order
Hi!!
I'd like to display a particular cart property `id=gift_message' in my historical order detail page.
I see that the property has been recorded as a part of the order----appearing above "status" in the "Additional Information" section of my Perch Orders.
Is there a page function I should use here?
Unsuccessfully, I've tried adding <perch:shop id="gift_message" />
to my template that returns other order details via
perch_shop_order($order_id);
Do you see it with
<perch:showall />
?When you had me use
PerchUtil::debug($order)
in another thread, I noticed that my cart property IDs were not exactly the same as the ones I had set.In a pre-checkout cart form I was doing this to collect a gift message:
But $order knew
id="_gift_message"
so this worked:
with
All seems good. Thank you Drew.