|
|
@@ -2490,7 +2490,13 @@ jQuery(document).ready(function(){
|
|
|
}
|
|
|
jQuery.each(data.result, function(index, result) {
|
|
|
if (result.status === true) {
|
|
|
- window.location = '/cart.php?a=confproduct&i=' + result.num;
|
|
|
+ displayRecommendations(
|
|
|
+ whmcsBaseUrl + '/cart.php',
|
|
|
+ 'addproductajax=1&a=confproduct&i=' + result.num,
|
|
|
+ false
|
|
|
+ ).done(function() {
|
|
|
+ window.location = whmcsBaseUrl + '/cart.php?a=confproduct&i=' + result.num;
|
|
|
+ });
|
|
|
} else {
|
|
|
jQuery('.domain-lookup-primary-loader').hide();
|
|
|
if (typeof result === 'string') {
|