View Single Post
  #2  
Old 07-24-2020, 02:21 AM
 
memoto memoto is offline
 

X-Cart team
  
Join Date: Feb 2018
Posts: 240
 

Default Re: Decorate a class isVisible method or delete the class view

Reposting the dev team reply:
The #2 is "more correct" from the point of architecture. As it will allow next module to enable the template back.
The #3 is "faster" as the page will be loaded faster due to exclusion of one template. However, the time you gain with this method is extremely small and won't be much more efficient in comparison with #2.
You can use both methods, up to you.
__________________
X-Cart Team
Reply With Quote