Payment Form Element: Purchase Order cost does not calculate quantity of zero

  • Profile Image
    vchoi94
    Asked on August 28, 2017 at 02:19 AM

    I am having issues with the "Purchase Order" Form Element. When a quantity is selected by accident and user attempts to reset the quantity selection to 0, the total cost/sub-total does not reflect that change. 

    Issue can be reproduced by setting any product quantity above 0 and then back to 0 or a blank value. The cost will still reflect previous selection.

    How would I go about addressing this issue using this Form Element? I know it would be ideal to use a script of my own but I prefer the ease that this method provides, given it doesn't run into issues like this.

     

    Thank you for your time.

     

  • Profile Image
    ashwin_d
    Answered on August 28, 2017 at 03:33 AM

    Hello vchoi94,

    I did test your form and I am not able to replicate the issue you are having. If I change the quantity selection to 1 and back to 0 and blank , the calculation changes as the quantity selection changes. Please check the screenshot below:

     

    Have you embedded your form in any webpage where you are having this issue with? Please share the webpage URL and we will take a look.

    We will wait for your response.

    Thank you!

  • Profile Image
    vchoi94
    Answered on August 28, 2017 at 03:41 AM

    Thank you for your quick reply.

    Sorry, I should have better specified: the sub-total underneath the multiple choice sections is the issue. The form is embedded but there should be no conflicting scripts or code.

  • Profile Image
    Nik_C
    Answered on August 28, 2017 at 04:31 AM

    Thank you for additional information. I was able to replicate the issue now, so I will forward it to our backend team for further checking.

    We'll inform you further through this thread.

    Thank you!

  • Profile Image
    vchoi94
    Answered on August 28, 2017 at 04:37 AM

    Sounds good. Thank you for your hard work!

  • Profile Image
    NeilVicente
    Answered on August 31, 2017 at 09:21 AM

    Hi there,

    This issue is now resolved. Your form should show the updated item subtotal when the item is deselected/zero quantity is selected.

    Cheers!