Questions about Payment Form extension

Payment Form Calculation of Two Fields

  • heykate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #13723 by heykate
Good Morning,

My issue is, I have set up the Payment Form as sort of an order form, the issue I am having is that I need a solution for the following problem.

I have two fields, one drop down for label specs ( labels are different dimensions) and a text box to enter in the number for any additional proofs the user may want to receive. but depending on the drop down selection, the price of the proof changes. Is there a way to calculate this correctly or some kind of work around. I have the fee formula working as if it was one standard price across the board..but it is not standard, they are different prices depending on their selection from the drop down.

Example:

If I choose label A, proofs are 40 dollars each additional one, where as if I choose label B, proofs are lets say 42 dollars for each additional proof. And depending on what is entered in the text box, needs to be multiplied per proof price..

So if I want 4 label A's it should calculate;

4(number of additional proofs) times 40(price per proof)

Do you have any insight how I would accomplish this?

Thanks in advance

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 2 months ago #13740 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Payment Form Calculation of Two Fields
Hi

Can you send me the link to that form so that I can understand how it should work ?

Tuan

Please Log in or Create an account to join the conversation.

  • heykate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #13793 by heykate
Replied by heykate on topic Re: Payment Form Calculation of Two Fields
v3.chakracentral.com/index.php/cott-corp-order-form

If you look towards the bottom of the form, there is a section for labels and specs...

Label Specs is a drop down and depending on which option they choose in the drop down,

when they order additional proofs, it charges them according to the proofs price,

Like 10oz wrap for additional proofs would be 40 each, while 64oz wrap additional proofs are 48 each proof...

oh and there is a base price for each wrap.

So the factors could be

210(price of label)
2 (additional proofs)
41 (price for each 10oz wrap additional proof)

Does this make sense?

Thanks for looking into this.

Let me know if you need further description into the issue.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 2 months ago #13798 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Payment Form Calculation of Two Fields
Hi

I am sorry but I still doesn't understand how the price will be calculated. Should we have a quick chat on Skype, YM, MSN or Gtalk so that we can get this done easier ? You can see my contact information at joomdonation.com/index.php?option=com_co...ntact&id=1&Itemid=18

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • heykate
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #13819 by heykate
Replied by heykate on topic Re: Payment Form Calculation of Two Fields
Thanks, I invited you to my gmail.you should have an invite.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc