Hello, how i can do dropdown list and add each point to another prise and buttons like this
Each point will chenge price and button
or what can replace it, but the meaning is the same
Hello, how i can do dropdown list and add each point to another prise and buttons like this
Each point will chenge price and button
or what can replace it, but the meaning is the same
Step 1:
Add One DropDown ,
In Values You need to Add Amount;
In Label You need Enter Types;
See below Photo
and thats all? I also need that when changing an item in the dropdown, another button is (with a different link)
Am Doing Now I will Update Here One By One
// For full API documentation, including code examples, visit https://wix.to/94BuAAs
var Basic = 1001;
$w.onReady(function () {
// TODO: write your page related code here...
$w("#selectType").enable();
var basic = Basic;
$w("#amount").text = "$"+ basic;
});
export function selectType_change(event) {
// Add your code for this event here:
var plus = $w("#selectType").value;
plus = parseInt(plus,10);
var total = Basic + plus;
var total = total.toLocaleString('en');
$w("#amount").text = total;
// Total Value with the variable "total", You can pass to where ever you want
}
https://muthu35.wixsite.com/mysite/dropdownpriceadd
Here You Can See the Output