View Single Post
  #10  
Old 11-11-2014, 07:05 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Remove attributes with multiple values from Specification Tab?

Hi guys!

Sorry for my late reply.

OK, let us start with a simple solution: removal of entire Specification tab. You can apply it as follows:
1) Create a simple module: http://kb.x-cart.com/display/XDD/Step+1+-+creating+simplest+module
2) In this module decorate the defineTabs() method of the \XLite\View\Product\Details\Customer\Page\APage class and define it like this:

PHP Code:
protected function defineTabs()
    {
        
$list = array();

        
$this->defineDescriptionTab($list);

        return 
$list;
    } 

Articles that will help you are here:
http://kb.x-cart.com/display/XDD/X-Cart+classes+structure+and+namespaces
http://kb.x-cart.com/display/XDD/Step+3+-+applying+logic+changes

Please, let me know if it helps.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote