Вопрос

I have a question about transactional emails in Magento 1.7.

If a cronjob is sending the transactional emails its using the wrong theme/templates (base/default). But I want to use my own temples in my own themefolder.

How can I set it to the right tehme?

Это было полезно?

Решение

Tims answer solved it.

Mage::app()->setCurrentStore($store_id);
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top