Change value on Wordpress page depending on select
- or -
Post a project like this3470
$100
- Posted:
- Proposals: 2
- Remote
- #588307
- Awarded
Description
Experience Level: Intermediate
General information for the website: Pricing table multi currency
Description of requirements/features: I am using a simple HTML pricing table on Wordpress - it works great but I need to allow different currencies as well as option for monthly v's annual pricing.
I want to add a select list which shows various currencies - on default it will show GBP and the price on the page will be in GBP (£1 for example) and the signup URL should indicate it is GBP signup
If user chooses USD from the select then the price should change to USD ($1.60 in this example) and the sign up URL should also be modified to indicate using USD.
Additionally, there should be the option to allow user to choose between monthly (default) and annual pricing - if they choose annual then the price should change on the page accordingly and the URL modified to indicate annual pricing.
This should all work in conjunction with currencies as highlighted above.
For example, default is GBP at £1 per month. GBP annual pricing is £10 per year.
User 1 chooses USD and annual pricing so their payment value changes to $16 and the form is submitted with USD and annual attributes included
User 2 chooses GBP and annual pricing so their payment value changes to £10 and the form is submitted with GBP and annual attributes included.
User 3 keeps defaults of GBP monthly so price remains at £1 and form is submitted with GBP and monthly attributes.
The actual values themselves will be hardcoded by us - if using Javascript these base values should not be able to be manipulated by the end user.
Extra notes:
Description of requirements/features: I am using a simple HTML pricing table on Wordpress - it works great but I need to allow different currencies as well as option for monthly v's annual pricing.
I want to add a select list which shows various currencies - on default it will show GBP and the price on the page will be in GBP (£1 for example) and the signup URL should indicate it is GBP signup
If user chooses USD from the select then the price should change to USD ($1.60 in this example) and the sign up URL should also be modified to indicate using USD.
Additionally, there should be the option to allow user to choose between monthly (default) and annual pricing - if they choose annual then the price should change on the page accordingly and the URL modified to indicate annual pricing.
This should all work in conjunction with currencies as highlighted above.
For example, default is GBP at £1 per month. GBP annual pricing is £10 per year.
User 1 chooses USD and annual pricing so their payment value changes to $16 and the form is submitted with USD and annual attributes included
User 2 chooses GBP and annual pricing so their payment value changes to £10 and the form is submitted with GBP and annual attributes included.
User 3 keeps defaults of GBP monthly so price remains at £1 and form is submitted with GBP and monthly attributes.
The actual values themselves will be hardcoded by us - if using Javascript these base values should not be able to be manipulated by the end user.
Extra notes:
Jason D.
100% (67)Projects Completed
113
Freelancers worked with
97
Projects awarded
33%
Last project
19 Nov 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies