| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Remove Bonus Points Tab | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Remove Bonus Points Tab
This is in a 4.4.1 cart:
I've enabled Special Offers, but we are NOT using Bonus Points. I don't want the Bonuses tab to show up in the "My Account" section. The tabs are generated in top_links.tpl, but the array for the tab loop comes from somewhere else ... and I can't find where it's generated. Does anyone know where to find it so i can remove the Bonus tabs from the tab array? 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) |
|||||||
#2
|
|||||||
|
|||||||
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) |
|||||||
|
|||
X-Cart forums © 2001-2020
|