Can I show a different paypal product option based upon which page on my website the form is embedded?

  • Profile Image
    Asked on March 21, 2017 at 01:31 AM

    If the form is embedded on 2 or more different pages with sales copy for 2 different products can the form use conditional logic to display the paypal product that is pertinent to that page?


    My back up question is, how do you add an option for Add to Cart? 


    But I was thinking form submission / check out looking like:

  page 1

    form shows:

    product 1 [x]                               (with product 2 hidden)

    Add more products?

    product 2 [ ]  appears for selection and then submit/purchase.

  page 2

    form shows:

    product 2 [x]                             (with product 1 hidden)

    Add more products? 

    product 2 [ ]  appears for selection and then submit/purchase.


    Can my website url be a conditional logic variable?


    Otherwise, I don't see an add to shopping cart function under the paypal element. How do I do this?





  • Profile Image
    Answered on March 21, 2017 at 06:57 AM

    Yes, this would be possible with the help of the Get Form Page URL widget. 

    Please check this sample web page I have created below.

    Sample Web Page

    In the Main web page, there are two links, clicking any of the links will redirect you to a page where the form is embedded.

    Product 1

    Product 2

    I have passed the value of the Get Form Page URL widget to a textbox field to determine the current page (I have used the help of the DateTime widget to do this).

    and used it to conditionally show a product accordingly. Below are the conditions I added in the form to make everything work.

    However, I would like to apologize for any inconvenience, I'm afraid to say that an option to add products to our payment fields dynamically is not available. That is why if you will notice in the form I embedded on the web page above, I used one checkbox field for each product item.

    I have set a calculation value for each product item



    and passed the value to a Form Calculation widget


    then into the payment field in the form.


    With all the information above, I would still recommend you create a clone version of my sample form ( to your account so you can inspect it better.



    Then, if you have any further questions, please feel free to contact us again anytime.

    Thank you.