Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Disable Bonuses Tab

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-29-2012, 03:15 PM
 
mattcallis mattcallis is offline
 

Newbie
  
Join Date: Sep 2010
Posts: 7
 

Default Disable Bonuses Tab

Is there a way to disable the, "Bonuses" tab? This would be the tab on the page when the customer is logged in and sees, "Account Details," "Address Book," "Returns," etc.
__________________
X-Cart 4.5.2 Gold
Magic Zoom Plus
Reply With Quote
  #2  
Old 05-30-2012, 01:05 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Disable Bonuses Tab

I believe that is only present when Special Offers is enabled. If you don't use it then turning it off should hide the tab.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
DavyMac (01-23-2013)
  #3  
Old 06-01-2012, 05:34 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Disable Bonuses Tab

If you just need to remove the tab, look in.

include/product_tabs.php

Comment out this code around line 64:
PHP Code:
if (!empty($active_modules['Special_Offers']) && !empty($product_offers)) {
    
$product_tabs[] = array(
        
'title'  => func_get_langvar_by_name('lbl_special_offers'),
        
'tpl'    => 'modules/Special_Offers/customer/product_offers_short_list.tpl',
        
'anchor' => 'soffers'
    
);

__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #4  
Old 07-23-2013, 05:31 PM
 
smarta smarta is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 129
 

Default Re: Disable Bonuses Tab

hi

i tried that

/* if ($active_modules['Special_Offers'] && !empty($offers)) {
$product_tabs[] = array(
'title' => func_get_langvar_by_name('lbl_special_offers'),
'tpl' => 'modules/Special_Offers/customer/product_offers_short_list.tpl',
'anchor' => 'soffers'
);
} */

but the Bonus Tab still appears - the shop owner uses Special Offers quite a lot so disbaling the module won't solve my problem

this cart is using version 4.4.2

any suggestions?
__________________
4.4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:54 AM.

   

 
X-Cart forums © 2001-2020