Description | Details::init() calls Details::getProduct() to check if there is an alternative template in oxarticles__oxtemplate. This getProduct call results for example in the full building of a variant tree etc. Even in a cached state is this call processed every time. Is the full product really necessary for fetching the template name, a field editable in the backend? We would save runtime and gain speed, if this call is removed from the init-call. Everybody who needs a module to get the template name, can build the module logics as usual. But this use case is not as usual as the wish to get a speedy details page out of the box. |
---|