Request to make the quantity value of Payment fields to be produced in conditions and email content

  • hometownhospitality
    Asked on March 23, 2017 at 10:29 PM

    Hello,

    I'm building a form for e-commerce. I need the folks after ordering to be able to change some aspects of their order.

    They can't change the quantities ordered but can change delivery details and which items are delivered when.

    When they edit the submission I can't access the data in the PayPal form to get quantity information. I need the quantity info from the order form to ensure they don't get try to get more items delivered than they have purchased.

    Can you'll help?

     

    These questions were similar but private.

    New Condition Wizard: Paypal Product option is Missing in the list of fields in the Condition Rules 

    Conditional Logic of a Product Quantity Carried Forward to Payment Field

    Thanks,

    Joshua

  • Charlie
    Replied on March 24, 2017 at 4:03 AM

    May we know the form you are working on? I see you have 3 forms in your account and they are all updated. I did check the form titled "Order Form", but I don't see any conditional logic on it, please note that the thread links you mentioned have concerns regarding the association of conditional logic to the payment wizard. 

    If what you are after is updating the purchase/order details of the submission, then I believe that is not possible. I've encountered a similar concern that you have on this thread: https://www.jotform.com/answers/791579-Edit-Submission-Changes-made-on-the-Paypal-quantity-option-isn-t-saved. That one is not private, you can read the thread for the reason as to why we do not allow the order/purchase details to be edited. 

    Let us know if I misunderstood your concern. 

  • hometownhospitality
    Replied on March 24, 2017 at 7:16 PM

    The form with conditional logic is here: https://www.jotform.com/build/70758964147166

    I do not want to change the order details I just want to read the order detail data so I can use it in conditional logic. I would prefer not to have a "Receive" and "Order" form. I would like to be able to have one party use the order form and the receiving party be able to configure delivery with limitations based on the order details.

     

    Thanks,

    Joshua

  • Mike_G JotForm Support
    Replied on March 25, 2017 at 6:30 AM

    Thank you for the clarifying your concern. If I'm understanding you correctly, I believe what you want is for the other fields (not all) in your form to be disabled or become read-only on edit mode, is that correct? This means that when someone edits your form, the quantities of the orders should not be editable, but the delivery details such as delivery date can be changed.

    If that is correct, then the workaround that you need is similar to what I've provided in this thread: How-to-disable-fields-in-an-Approval-Form-edit-mode

    If after checking the workaround from the other thread and you still need any further assistance, please feel free to contact us again anytime and we will be glad to help you. However, if, in any case, I have misunderstood your concern, please do get back to us also and provide us with more details.

    Thank you.

  • hometownhospitality
    Replied on March 25, 2017 at 2:33 PM

    That is close. When the form is in edit mode I need to access the quantities purchased from the Paypal payment widget. That is the main issue, it appears impossible to use purchased quantities in conditional logic or in anyway access the purchased items and quantities to show or hide this options and messages for delivery etc.

    Thanks!

  • Kevin Support Team Lead
    Replied on March 25, 2017 at 11:28 PM

    If you're using a payment integration and you have set up products then they will be automatically disabled when editing the submission which means that products already purchased cannot be changed, their options or quantities will be disabled as well. 

    You can confirm this on my cloned form of yours, here's the edit link for one of the submissions I've done: https://www.jotform.com/edit/366307303011467681 

    With conditions you can only get the quantities purchased, but you cannot affect only one product based on conditions, instead you may either disable, show or hide the entire payment section conditionally. 

    Request to make the quantity value of Payment fields to be produced in conditions and email content Image 1 Screenshot 20

    So basically, payment section will be automatically disabled when editing the submission, if you would need to disable other fields then you will need to set conditions as suggested by Mike_G above. 

     

  • hometownhospitality
    Replied on March 26, 2017 at 2:00 PM

    Thanks again, I get that, however I can't access the exact quantity. I can't tell the user "order can't exceed 3 Entrees" because I can't get the number 3. I can only say if it is greater than or less than something else. In the Do part of the conditional "Copy Value" is not available for purchased quantities. Often people can order a combination and I need to add up the quantities to check that against the number of deliveries they want to have.

    Please correct me or show me how but I couldn't access the exact quantity numbers, add them or copy them to another field.

    Thanks,

    Joshua

  • Mike
    Replied on March 26, 2017 at 4:04 PM

    We do not have an option to get the quantity values.

    It seems that currently you have one form for payment and another one for the meal selection. How do you plan to connect those forms together?

  • buffalocigars
    Replied on June 5, 2017 at 10:30 PM

    Why can't you access the paypal quantity value? Seems straightforward to include, no?

  • Mike_G JotForm Support
    Replied on June 6, 2017 at 1:52 AM

    If I'm understanding your concern correctly, you would like to have a way to get the total of the quantity for all the selected products in your payment field, however, the "Quantity" is not shown when adding fields in the condition's action. I would like to apologize, I'm afraid the best way for you to pull this off is to create the product items and product quantity fields outside the payment field. Then, you just have to pass the total amount to the payment field after.

    How-to-Pass-a-Calculation-to-a-Payment-Field

    Thank you.

  • buffalocigars
    Replied on June 6, 2017 at 2:43 AM

    Not really.  I understand that "work around", but if you use form calculations to provide a product quantity you're very limited in the products that you can offer at a time.

    I simply want to access the product quantity data from the regular paypal form.  There's no way to properly create an autoresponder email receipt if we can't access the quantity.  What is the limiting factor here? I'm assuming that field is being kept in the same database, no?

  • Mike_G JotForm Support
    Replied on June 6, 2017 at 4:04 AM

    I would like to apologize, however, the value that you would like to be produced is not available right now. But for me to be able to help you, I will be submitting this as a feature request to our developers. Although I cannot provide you any ETA to when this will be available, please be assured that once we have any updates from our development team we will notify you right away in this thread.

    Thank you.