Hi, I would like to add a new line (
) and the base price to my products, which are displayed with VAT.
E.g.
Price: 11,90 €
( 10 € + VAT)
Is it possible to use html-code (linebreak) and tokens (base price) in the suffix field?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | text_format-1427768-1.patch | 3.38 KB | ikos |
Comments
Comment #1
ikos commentedHi,
The patch here adds an extra setting to the prefix / suffix formatter allowing you to specify the text filter used (depending on permission). You can then use permitted html.
Let me know if it works ok for you and I will commit it for the next version.
Richard
Comment #2
vistree commentedHi ikos,
the linebreak is working great with your patch!! Thank you.
Just to know: should tokes have also to work with your patch? I tried to include [node:field-price] in the suffix - which is not replaced.
Kind regards and a nice evening!
Comment #3
ikos commentedHi,
Tokens not yet working with this patch - mainly because there wasn't a token hook in commerce to tokenise the payment components.
I'll put one together as a separate patch - hopefully this week.
kind regards
Richard
Comment #4
vistree commentedthank you! Looking forward to test ;-)
Comment #5
Witch commentedDoes this patch work?
Can somebody upload a patched version due to i have problems with patching... :(
Thank you
Comment #6
ikos commentedHi,
Marking a fixed as the text format patch I just applied will allow html and new lines in a formatter.
Token support is in development, so follow issue #1510852
kind regards
Richard