-
paresdellobetFecha de consulta 15 de abril de 2024, 1:52
Hola, he creado un formulario de inscripciones para un campus de verano:
representa que ellos pueden escoger si compran 1, 2,3... hasta 10 semanas que tiene el campus. Entonces si ellos compran entre 5 a 6 semanas van a tener un 5% de descuento, si compran de 7 a 8 semanas van a tener un 10% de secuento y si compran de 9 a 10 semanas tienen un 15%. En este caso yo haría la fórmula de: (carrito*5)*0.95 después (carrito*6) *0,95 después (carrito*7)*0,90... y así sucesivamente pero al poner todas las fórmulas juntas en el widget de cálculos de formulario parece que se hace un lio y no lee bien las fórmulas.
Cómo podría hacer-lo?
muchas gracias.
-
Mary Eden Jotform SupportFecha de respuesta 15 de abril de 2024, 5:21
Hello Paresdellobet,
Thanks for reaching out to Jotform Support. Unfortunately, our Spanish Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, coming back to your question, I understand your request but please note that you have certain conditions that won't work in the Product list, in this case, you can use regular form fields to list your products, and then we will use conditional logic and widgets to achieve your form request about the discount. Please give me some time to create the demo form to show you how it is achieved.
Thanks for your patience and understanding, we appreciate it.
-
Mary Eden Jotform SupportFecha de respuesta 15 de abril de 2024, 14:02
Hello Paresdellobet,
Thanks for your patience. Let me show you how to add discounts for your early bookings:
1. Click on the Add Form Element menu on the left side of the page.
2. Under the Basic tab, scroll down the list and choose your preferred elements. I added a Fill-in-the-blank element in my sample form, then clicked or dragged and dropped them onto your form.
3. Configure your Fill in the Blank by including a Multiple Choice element for the products, and a Number field for the Quantity and Subtotal.
- Adding Multiple Choice for Products.
- Add a Dropdown field for them to choose between morning and afternoon.
- Add Number field for the Subtotal.
4. Add a Form Calculation Widget, this is where we will paste the cost of discounted products and will later use it to pass the cost of the discounted items to the Payment field.
5. Then, we'll start implementing conditional logic, which will compute the discount when the user has selected the given week.
- This is the condition when the user has selected week 5 and week 6 and they'll become eligible for a 5% discount.
- This is the condition when the user has selected week 7 and week 8 and they'll become eligible for a 10% discount.
- This is the condition when the user has selected week 9 and week 10 and they'll become eligible for a 15% discount.
6.In the Form Calculation Widget, add all subtotals of your products listed in the Fill in the blank elements.
7. You will still use the current Product list in the form, but you must change its Payment Type to User Defined Amount. Then Hide the Form Calculation so it wouldn't be visible in the form then on the Get Price From in the Product list, use that hidden Form Calculation Widget.
Check out the screencast below to see my results:
To prevent the cost to overlap in the label of the Subtotal, you can just simply remove the Sub total label. Also, you can clone this sample form to have a better look at how it is set up.
Give it a try and reach out again if you have any other questions.