I just found that when we had the template path hints activated, the path hints actually were displayed in the email notifications for orders and shipments that were emailed to customers. Does anyone know how to disable this from appearing in the emails?


1 Answer 1


Final decision whether to display template path hints logic can be found here:


You have two options:

1) rewrite this block and override this method adding your custom logic (don't display template hints if the block is related to email content) which seems to be better than option no. 2


2) right before sending an email try to update you database but cache flushing may be needed in this scenario, so try to do something like this: update core_config_data set value=0 where path ='dev/debug/template_hints'; update core_config_data set value=0 where path = 'dev/debug/template_hints_blocks'; of course add your store id to the condition and then flush caches for blocks and layouts only.

  • I like option 1). I will look into the implementation.
    – yldziner
    Sep 28, 2016 at 23:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.