Re: Remove Bonus Points Tab
I got an answer back from X-Cart on how to remove the Bonus Points tab, but still keep Special Offers available (for other types of offers). Here's what they said:
If you'd like the Bonuses tab to be not displayed,
you can modify the 'skin/common_files/customer/main/top_links.tpl' template as follows:
find the following fragment:
Code: HTML/Smarty
{foreach from=$tabs item=tab key=ind}
{inc value=$ind assign="ti"}
<li class="ui-corner-top ui-state-default{if $tab.selected} ui-tabs-selected ui-state-active{/if}">
<a href="{if $tab.url}{$tab.url|amp}{else}#{$prefix}{$ti}{/if}">{$tab.title|escape}</a>
</li>
{/foreach}
and replace it with this:
Code: HTML/Smarty
{foreach from=$tabs item=tab key=ind}
{inc value=$ind assign="ti"}
{if $tab.url ne 'bonuses.php'}
<li class="ui-corner-top ui-state-default{if $tab.selected} ui-tabs-selected ui-state-active{/if}">
<a href="{if $tab.url}{$tab.url|amp}{else}#{$prefix}{$ti}{/if}">{$tab.title|escape}</a>
</li>
{/if}
{/foreach}
Marie
__________________
SoapLady
Working with various versions of X-Cart Gold
from 4.0.x to 4.4.1
(Trying to get everyone up to 4.4.x)
|