• Resolved Imran Siddiq

    (@flickimp)


    A hidden field detects that the User is on Post Name Green
    So only Select_1 becomes active that shows the Costs applicable
    The calculated cost will use Select 1 as I have set it to use that.

    If the hidden field detects the Post Name to be Red, then Select 2 and Cost 2 become activated.

    But Paypal at the moment only works with 1 final cost field so how do I tell it to pick up Final Cost_1 for Green and Final Cost_2 for Red.

    Because you can’t duplicate Paypal buttons or rename them, I can’t get the form to work out the final cost.

    • This topic was modified 5 years, 9 months ago by Imran Siddiq.
    • This topic was modified 5 years, 9 months ago by Imran Siddiq.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Imran Siddiq

    (@flickimp)

    Page Name is Green
    * Select 1 becomes active and has 2 options = Half Day and Full Day
    * Half Day = $30
    * Full Day = $60

    Number 1 Field = Attendees

    Calculation 1 = Select 1 * Number 1

    But if the Page Name is Red, then
    * Select 2 becomes Active with 2 options
    * Calculation would become Select 2 * Number 1

    I’m okay up to here, but final Cost needs to be based on either one depending on the page name or the one that followed through. Again that’s fine but then I have:

    * Cost 1 based on Green
    * Cost 2 based on Red

    The problem is how can I tell Paypal to pick up the one that is active?

    Thread Starter Imran Siddiq

    (@flickimp)

    Cracked it

    Just created another Calculation that is Cost 1+ Cost 2
    Because only 1 will ever be active, then the other will be 0.
    Have tested.

    Done.
    🙂

    Thread Starter Imran Siddiq

    (@flickimp)

    Closing this down

    Thread Starter Imran Siddiq

    (@flickimp)

    Sorry, closing it down now.

    Hi @flickimp,

    Glad to hear you found a solution and thanks for taking the time to share the setup you’ve used 🙂

    Cheers,
    Predrag

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cost Calculation’ is closed to new replies.