Knowledgebase
-
Set minimal design using URL.
Set minimal design using URL.
header.tpl can have extra code added at the very top:
{if !empty($smarty.get.minimal)}
{if $smarty.get.minimal!='false'}
{assign var="hexa_minimal" value="1"}
{if $filename=='cart'}
{assign var="minimal_cart" value="on"}
{/if}
{else}
{assign var="hexa_minimal" value="0"}
{/if}
{/if}
This code will allow WHMCS to handle URL minimal setting like this:
https://host.test/clients/cart.php?gid=1&minimal=true