View Single Post
  #4  
Old 12-17-2015, 03:06 PM
 
codegrunt codegrunt is offline
 

Member
  
Join Date: Dec 2015
Posts: 10
 

Default Re: Class / method precedence in X-Cart 5

Quote:
Originally Posted by cflsystems
The classes are built by dev name/module alphabetically.

Thanks for that, at least it is predictable. X-Cart should expect a run on the Dev namespace starting with "Z".

=)

This will almost immediately be an concern for any module that needs to manipulate pricing (especially if you want a "best price" to apply) or override similar core methods that get called a lot. I don't know if there is any magic solution but I think some sort of user specified precedence would be better than hoping alphabetical works out for all cases.
__________________
multiple versions (4 and 5)
Reply With Quote