Variable Price for Poducts

  • Profile Image
    leubasketball
    Asked on April 12, 2018 at 07:08 PM

    Is there a way to set a variable price for products the same way you can for subscriptions?  

    We want to use this feature so prices are dynamically calculated based on user selection.  Except for the user selection is not coming from a field within the form.  We are passing the information from an external selection (the sign up button) into the form and using the Form Calculation Widget as a hidden widget to calculate the price based on the selection. 

    This works perfectly with subscriptions, all we had to is toggle the 'variable price option'.  But this option does not exist for selling products.  We tried running it as 'user defined' and it worked except for the user can change the price after calculation.  Prices are fixed and these are not donations.

    Our current work around is to run everything as a subscription and for those 'product purchases' we are running them as a subscription with a 1 time payment limit.  Not a very clean solution.

    Is there a way to do this.



  • Profile Image
    Jan
    Answered on April 12, 2018 at 09:32 PM

    For selling products, you can add options to each item. Here's a guide: How-to-Add-Options-to-Payment-Forms.

    If that does not work for you, then I recommend you do these outside the payment field. You can use the Form Calculation widget and then pass the value to the payment field.

    Please try to set the Form Calculation widget as Read-Only so that the user cannot change the price. Here's how:

    1. In the Form Builder, select the Form Calculation widget and then click the "Widget Settings" button. After that, click the "Other Options" icon.

    152358301204-13-32mtf.png

    2. Go to the "Options" tab and enable the "Result field is read only" option.

    152358302504-13-05gqz.png

    3. After that, save the changes.

    Hope that helps. If you have any questions, let us know. Thank you.

  • Profile Image
    leubasketball
    Answered on April 14, 2018 at 05:23 PM

    Ok, I think that makes sense I just want to clarify some things.

    The issue we are currently having with selling products is that after the price is passed from the Calculation Widget into PayPal price box, the user can change the price within the PayPal price box.  We are hiding the Calculation Widget so the only price the user see's is in the PayPal price box.  Are you you saying that by setting the results of the Calculation Widget to 'read only' it will make it so the price in the PayPal price box won't be editable either?



  • Profile Image
    Kevin_G
    Answered on April 14, 2018 at 09:54 PM

    The PayPal field will be available as long as you are not taking the value from a calculation field, it becomes  read only as soon as you select a calculation widget as source of the payment amount. 

    Example: https://form.jotform.com/70466967743975 

    Please give this a try and let us know how it goes. 

    Thanks.