var PeriodString = 'per month'; var Extra = ''; jQuery.getJSON( "https://app.statuscake.com/Workfloor/PricesMain.php?Type=SUPERIOR&Yearly=1", function( data ) { if (data[0].VAT) { Extra = ' (+VAT)'; } jQuery('.SuperiorPricing').html(data[0].CurrencyCode + data[0].Cost + Extra); }); jQuery.getJSON( "https://app.statuscake.com/Workfloor/PricesMain.php?Type=BUSINESS&Yearly=1", function( data ) { if (data[0].VAT) { Extra = ' (+VAT)'; } jQuery('.BusinessPricing').html(data[0].CurrencyCode + data[0].Cost + Extra); }); jQuery('#yearly').text('Lose the Discount, View Monthly').attr('href','https://www.statuscake.com/pricing'); jQuery.getJSON( "https://app.statuscake.com/Workfloor/PricesMain.php?Type=SUPERIOR&Yearly=1", function( data ) { if (data[0].VAT) { Extra = ' (+VAT) '; } jQuery('.eapps-pricing-table-column-2 .eapps-pricing-table-column-price-text > span').html(data[0].Cost); jQuery('.eapps-pricing-table-column-2 sup.eapps-pricing-table-column-price-currency').html(data[0].CurrencyCode) jQuery('.eapps-pricing-table-column-2 div.eapps-pricing-table-column-price-caption').html(Extra) }); jQuery.getJSON( "https://app.statuscake.com/Workfloor/PricesMain.php?Type=BUSINESS&Yearly=1", function( data ) { if (data[0].VAT) { Extra = ' (+VAT) '; } jQuery('.eapps-pricing-table-column-3 .eapps-pricing-table-column-price-text > span').html(data[0].Cost); jQuery('.eapps-pricing-table-column-3 sup.eapps-pricing-table-column-price-currency').html(data[0].CurrencyCode) jQuery('.eapps-pricing-table-column-3 div.eapps-pricing-table-column-price-caption').html(Extra) });