hosting payment page
This commit is contained in:
parent
3b3b73a2ce
commit
f66d768ecb
6 changed files with 41 additions and 16 deletions
|
|
@ -219,12 +219,11 @@ $( document ).ready(function() {
|
|||
window.coresUnitPrice = 5;
|
||||
}
|
||||
if(typeof window.ramUnitPrice === 'undefined'){
|
||||
window.coresUnitPrice = 2;
|
||||
window.ramUnitPrice = 2;
|
||||
}
|
||||
if(typeof window.ssdUnitPrice === 'undefined'){
|
||||
window.ssdUnitPrice = 0.6;
|
||||
}
|
||||
console.log(coresUnitPrice, ramUnitPrice, ssdUnitPrice, cardPricing)
|
||||
var total = (cardPricing['cpu'].value * window.coresUnitPrice) +
|
||||
(cardPricing['ram'].value * window.ramUnitPrice) +
|
||||
(cardPricing['storage'].value * window.ssdUnitPrice);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue