View Single Post
  #2  
Old 09-23-2014, 08:44 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default Re: XC Product Filters module not recognising custom skin modifications

Look in
classes/XLite/Module/XC/ProductFilter/View/TopCategories

See this line:
class TopCategories extends \XLite\View\TopCategories implements \XLite\Base\IDecorator

Since your class also decorates this class, I believe you need to override this by redecorating:
XLite\Module\XC\ProductFilter\View\TopCategories

Then you add a dependency in your module and/or to your class. That is where I need Tony to help explain better....

I am also interested in this subject, getting my module to override another one. It is happening to you because XC/ProductFilters come alphabetically after XC/CustomSkin. Don't worry it is certainly possible, I have done it but I cannot remember how or find my code at the moment. Tony? Alexander? Anyone?
__________________
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