Discount code text field with amount output

Highlighted
New Member
12 0 0

Hi there,

 

I need to create a very simple text field where my users can enter their discount code, press a button and see the value in either % of €.

 

I've been searching all over the Internet for this and it seems that the only values that would more or less work are {{ discount.amount | money }}, but these only work from notifications or the Order Printer.

 

How can I do this from a simple page on my site?

0 Likes