|
|
@@ -3631,7 +3631,7 @@ function updateConfigurableOptions(i, billingCycle) {
|
|
|
}
|
|
|
);
|
|
|
recalctotals();
|
|
|
- updateProductTotalMessage();
|
|
|
+ updateProductTotalMessage(billingCycle);
|
|
|
}
|
|
|
|
|
|
function recalctotals() {
|
|
|
@@ -3815,8 +3815,19 @@ function validate_captcha(form)
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-function updateProductTotalMessage() {
|
|
|
- if (billingCycle == 'annually') {
|
|
|
- jQuery('#producttotalmessage').html('Test');
|
|
|
+function updateProductTotalMessage(billingcycle) {
|
|
|
+ switch(billingcycle) {
|
|
|
+ case 'monthly':
|
|
|
+ jQuery('#producttotalmessage').html('Monatlich');
|
|
|
+ break;
|
|
|
+ case 'quarterly':
|
|
|
+ jQuery('#producttotalmessage').html('4teljährlich');
|
|
|
+ break;
|
|
|
+ case 'semiannually':
|
|
|
+ jQuery('#producttotalmessage').html('Halbjährlich');
|
|
|
+ break;
|
|
|
+ case 'annually':
|
|
|
+ jQuery('#producttotalmessage').html('Jährlich');
|
|
|
+ break;
|
|
|
}
|
|
|
}
|