Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
files missing from the package? 
 
hydro
Jr. Member
 
Total Posts:  25
Joined:  2008-03-19
 

While playing with Transactional Emails I did the following:

System - Transactional Emails - Add New Template - Loaded the “New Invoice” template and click “Preview”

I got a bunch of error text and the first line was the following:

WarningMage_Core_Block_Template::include([snip]/app/design/adminhtml/default/default/template/email/order/items_invoice.phtml)

Well, I went to the directory: /app/design/adminhtml/default/default/template/email/order/ and noticed there is no items_invoice.phtml. Ok .. I thought maybe it was not uploaded so I downloaded again magento from this website (zip archive). Unzipped and checked the same directory. The file is not there as well.

I copied app/design/frontend/default/default/template/email/order/items_invoice.phtml to app/design/adminhtml/default/default/template/email/order/ and the error was fixed.  A symbolic link would have probably also do the trick.

How come that the file items_invoice.phtml in app/design/adminhtml/default/default/template/email/order/ is missing in the just downloaded .zip archive and apparently is needed? or am I wrong?

 
Magento Community Magento Community
Magento Community
Magento Community
 
golles
Sr. Member
 
Total Posts:  207
Joined:  2008-01-15
 

you are correct - I have just found this out too, so far I believe at least the following templates are missing:

app/design/adminhtml/default/default/template/email/order/items_creditmemo.phtml
app/design/adminhtml/default/default/template/email/order/items_invoice.phtml
app/design/adminhtml/default/default/template/email/order/items_shipment.phtml

I have downloaded the zip and tar packages and they are all the same (i.e. these files are missing).

Any chance of these being added ASAP

cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
golles
Sr. Member
 
Total Posts:  207
Joined:  2008-01-15
 

reported as bug issue #4317

http://www.magentocommerce.com/bug-tracking/issue?issue=1708

 
Magento Community Magento Community
Magento Community
Magento Community
 
golles
Sr. Member
 
Total Posts:  207
Joined:  2008-01-15
 

this bug has been marked as resolved in the bug tracking system, but the download still has the missing files.

I assume this means that the issue will be resolved in the next release?? rather than resolved right now??

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
hydro
Jr. Member
 
Total Posts:  25
Joined:  2008-03-19
 
golles - 15 April 2008 07:16 AM

this bug has been marked as resolved in the bug tracking system, but the download still has the missing files.

thanks

maybe they have changed the code to make use of the files in app/design/frontend/default/default/template/email/order/ which are already present.

 
Magento Community Magento Community
Magento Community
Magento Community
 
golles
Sr. Member
 
Total Posts:  207
Joined:  2008-01-15
 
hydro - 15 April 2008 07:26 AM


maybe they have changed the code to make use of the files in app/design/frontend/default/default/template/email/order/ which are already present.

if that is the case ( and I have not tested) then it cannot still be called v1.0 the version number should increment with every code change.

it would be good to get an update on the bug report so we know for sure

have you tried copying the templates you highlight above to the correct place? do they work ok?

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
hydro
Jr. Member
 
Total Posts:  25
Joined:  2008-03-19
 
golles - 15 April 2008 07:32 AM


if that is the case ( and I have not tested) then it cannot still be called v1.0 the version number should increment with every code change.

it would be good to get an update on the bug report so we know for sure

have you tried copying the templates you highlight above to the correct place? do they work ok?

thanks

Well, I don’t think they have changed the code in the current v1.0 but they might have done that in their development version of the code.

If you copy the template files from app/design/frontend/default/default/template/email/order/ to app/design/adminhtml/default/default/template/email/order/ everything works fine.

 
Magento Community Magento Community
Magento Community
Magento Community
 
golles
Sr. Member
 
Total Posts:  207
Joined:  2008-01-15
 

ok, cool - thanks for that

 
Magento Community Magento Community
Magento Community
Magento Community
 
w3lly
Jr. Member
 
Total Posts:  4
Joined:  2008-08-19
 

my solution was to copy following:

./app/design/frontend/default/default/template/email/order/invoice/items.phtml -> ./app/design/frontend/default/default/template/email/order/items_invoice.phtml
./app/design/frontend/default/default/template/email/order/shipment/items.phtml -> ./app/design/frontend/default/default/template/email/order/items_shipment.phtml
./app/design/frontend/default/default/template/email/order/shipment/track.phtml -> ./app/design/frontend/default/default/template/email/order/shipment_track.phtml

than it works wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
w3lly
Jr. Member
 
Total Posts:  4
Joined:  2008-08-19
 

... and following copy

./app/design/frontend/default/default/template/email/order/creditmemo/items.phtml -> ./app/design/frontend/default/default/template/email/order/items_creditmemo.phtml

greetings David

 
Magento Community Magento Community
Magento Community
Magento Community
 
benau
Jr. Member
 
Total Posts:  18
Joined:  2008-07-20
 

Cheers Hydro! You solution worked for my installation on MediaTemple of Magento 1.0.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52285 users|523 users currently online|105608 forum posts