How to display total products purchased in form?

  • myllania
    Demandé le 10 septembre 2023 à 08:41

    Bonjour à toute l'équipe et grand merci d'être là.

    Est-il possible (sans rentrer dans une logique de gestion de stock, qu'il faut gérer nous-même..) que les quantités de produits commandées par nos clients s'additionnent lez unes autres (par références) et soit visible dans une des fonctions des formulaires (ou autres) ?

    Merci à vous

  • Norwyn Enterprise Support
    Répondu le 10 septembre 2023 à 11:04

    Hi myllania,

    Thanks for reaching out to Jotform Support. Unfortunately, our French 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 French, 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, let me help you with your question. To verify, do you need an option to show the available stocks per product? If yes, that is not an available option if you use the product list widget. What you can do as a workaround is use the inventory widget. Let me show you how to set it up:

    • In Form Builder, click on the Add Form Element menu on the left side of the page.
    • Under the Widgets tab, type Inventory in the Search Bar and add it to your form.

    How to display total products purchased in form?  Image 1 Screenshot 30

    • In the Widget Settings window, enter a Description of the item and then set an appropriate quantity in the Available Quantity section. That's it.

    How to display total products purchased in form?  Image 2 Screenshot 41

    Give it a try and let us know if you have any other questions.

  • myllania
    Répondu le 10 septembre 2023 à 11:59

    Merci Norwyn, il ne s'agit pas d'afficher les stocks disponibles mais des quantités commandées accumulées

  • Lesther Jotform Support
    Répondu le 10 septembre 2023 à 14:15

    Hi myllania,

    Thanks for reaching out to Jotform Support. Unfortunately, our French 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 French, 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, let me help you with your question. Do you mean displaying the available stock after the user enters the quantity to purchase? Unfortunately, this is not possible. But please confirm in your response so we can consult our team and perhaps send a feature request.

    Let us know if you have any other questions.

  • myllania
    Répondu le 10 septembre 2023 à 15:10

    Merci Lesther,

    non je n'ai pas de stock, ce n'est pas ce que je demande c'est le contraire, il me faut constater le volume de chaque produits que des clients achètent exemple:

    • client A : 1 citrons + 2 salades + 1 choux
    • client B : 5 citrons + 1 salades + 3 choux
    • ...
    • ..

    Total clients = 6 citrons , 3 salades, 4 choux (c'est ceci qui m'intéresse)



  • Angeli Jotform Support
    Répondu le 10 septembre 2023 à 17:55

    Hi myllania,

    Thanks for getting back to us. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.

  • Angeli Jotform Support
    Répondu le 12 septembre 2023 à 16:47

    Hi myllania,

    We really appreciate your patience and understanding while we’re looking into this. If you need to get the total quantities of the products purchased, it will not be possible while using the Product List.

    I suggest creating products outside the payment field. You can use the Inventory Widget for this, so 1 product for each widget. Let me walk you through it:

    1. In Form Builder, click the Add Form Element menu and drag and drop the Inventory Widget on your form.

    How to display total products purchased in form?  Image 1 Screenshot 60

    2. Add a Form Calculation widget to get the Total of how much your form filler should pay.

    How to display total products purchased in form?  Image 2 Screenshot 71

    3. Then, pass the calculated value to the payment field.

    How to display total products purchased in form?  Image 3 Screenshot 82

    4. Create a Grid Report, Copy the Link of the report. Here's how:

    • In My Forms page, select the form and click Report.
    • Select Grid and choose the submission details you want to see in the report.
    • Copy the Link.

    How to display total products purchased in form?  Image 4 Screenshot 93

    5. Go back to the Form Builder, add an Iframe Embed Widget from the Widgets tab and paste the Report link.

    How to display total products purchased in form?  Image 5 Screenshot 104

    You can check my demo form here or inspect by cloning it.

    Give it a try and let us know if you need any help.