Sorry another update... I'm stuck here for now but basically using the widgetOutput(''), I had it output a html button based on the same concept as above,
elseif ($get=="qty") {
if($qty >=1) {
widgetOutput('<a href="https://whmcs_url.com/cart.php?a=add&pid=11" class="btn btn-danger btn-xs" role="button">Deploy Now</a>');
}
else {
widgetOutput('<a href="#" class="btn btn-danger btn-xs disabled" role="button">Out Of Stock</a>');
}
}
Here's my issue though, I need the href link to be dynamic and I can't figure out how to do that. I tried using this, which didn't work. Changing around ' and " would cause the entire thing to stop working, so this is basically where I'm stuck on for now. Any additional help would be great, thank you!
elseif ($get=="qty") {
if($qty >=1) {
widgetOutput('<a href="{$systemUrl}cart.php?a=add&pid={$pid}" class="btn btn-danger btn-xs" role="button">Deploy Now</a>');
}
else {
widgetOutput('<a href="#" class="btn btn-danger btn-xs disabled" role="button">Out Of Stock</a>');
}
}