Im having issues with the following code
{if $product.status eq 'Active'}
<button type="submit" class="btn btn-info btn-sm">Login to Control Panel</button>
{else}
<p>No active login functions, please contact support</p>
{/if}
Dispite if the product/service has a status of Active or other, it still displays:
<p>No active login functions, please contact support</p>
What i want it to do is show the submit button if the product status is 'Active' else just display the above text.
Can anyone help me with this one?