Closed (fixed)
Project:
Commerce extra panes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2011 at 12:38 UTC
Updated:
12 Oct 2012 at 08:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
mr.baileysI agree that this would be a nice feature. My use case: I am building a really simple commerce site based on Commerce Kickstart 2.0. I'd like to use Commerce Extra Panes to replace the default checkout completion message with a more elaborate completion message that also contains payment instructions, for example:
Patch attached runs the contents of the Commerce Extra Panes checkout pane through
token_replace().Comment #2
pcambraThanks Ivo!
I've changed a little the code for providing more context to the tokens (node and language) and also added support for the Review pane.
It's worth to mention that as Commerce requires entity token, but there's the Token module out there that provides field integration as well and it provides better integration for fields.
Also, I didn't add UI for getting the available tokens, not sure how to solve that out, but let's keep that for a follow up.