- Posts: 25
- Thank you received: 0
custom field to substract an amount
- maitri
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 5 months ago #12314
by maitri
custom field to substract an amount was created by maitri
Hi,
I am not able to make my custom field work, which is set to substract an amount to the total.
This is what I wrote on Values:
Sí, estoy suscrito a RevistaMAITRI.es (tus datos serán comprobados para validación) (-4.65€)
No, no estoy suscrito/a a RevistaMaitri.es por ahora (-0€)
And on Fee Values:
4.65
0
And I think is should be fine, but at checkout, it adds 4.65 instead of substracting the amount. I am using a radio list therefore I didn't write anything on the fee formula box.
What could be going wrong here?
(Also, I would like to point out that the screenshot used on the tutorial ( joomdonation.com/index.php?option=com_co...icle&id=80&Itemid=72 ) has Fee Field set to no, it might be helpful if set to yes, I remember getting confused by this... in case it can help others.
Thanks.
I am not able to make my custom field work, which is set to substract an amount to the total.
This is what I wrote on Values:
Sí, estoy suscrito a RevistaMAITRI.es (tus datos serán comprobados para validación) (-4.65€)
No, no estoy suscrito/a a RevistaMaitri.es por ahora (-0€)
And on Fee Values:
4.65
0
And I think is should be fine, but at checkout, it adds 4.65 instead of substracting the amount. I am using a radio list therefore I didn't write anything on the fee formula box.
What could be going wrong here?
(Also, I would like to point out that the screenshot used on the tutorial ( joomdonation.com/index.php?option=com_co...icle&id=80&Itemid=72 ) has Fee Field set to no, it might be helpful if set to yes, I remember getting confused by this... in case it can help others.
Thanks.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 5 months ago #12335
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: custom field to substract an amount
As replied via support ticket, to substract an amount, you need to add a minus ("-") character before amount. For example, in this case, you need to change fee values to :
-4.65
0
After that, it should work as expected !
Tuan
-4.65
0
After that, it should work as expected !
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.