You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have a customAmount field, with the minimum value dynamic (from an entry for example), so I changed the "amount" value with the option parameter "amount", but the customAmount field doesn't change because it uses the minimumAmount value instead of the option "amount". And the minimumAmount is not changeable from the rendering tag.
So when there would be a parameter option "minimumAmount", then the custom amount uses that value as a minimum. This would give the user more options to dynamic prices.
Yes I did, I changed it in a custom template, but it should be an option in the regular one ;)
{% set minimumAmount = options.amount is defined and options.amount is not empty ? "%.2f"|format(options.amount) : paymentForm.minimumAmount ? "%.2f"|format(paymentForm.minimumAmount) : '' %}
Description
Add the minimumAmount parameter to the possible options.
Now the possible options are:
I want to have a customAmount field, with the minimum value dynamic (from an entry for example), so I changed the "amount" value with the option parameter "amount", but the customAmount field doesn't change because it uses the minimumAmount value instead of the option "amount". And the minimumAmount is not changeable from the rendering tag.
So when there would be a parameter option "minimumAmount", then the custom amount uses that value as a minimum. This would give the user more options to dynamic prices.
Or change the paymentForm template from:
to:
when there is a options.amount ;)
Thanks in advance
The text was updated successfully, but these errors were encountered: