Editing Magento Order Confirmation Letter

I want to edit the block of the email message containing the total amounts of orders (sending, total), but I can not find the template file for this bit of code

I need to remove delivery and shared lines only showing intermediate lines

I checked the template through System> Transnational Emails Looked at a large group of phtml files trying to find this particular instance (will be for registered and unregistered users, if that matters)

the letter is currently formatted as:

[logo]
hello {name/guest}
thank you message, {email} {tel}
order id info and date
billing info / payment method
shipping info / shipping method

order details - assuming this is {{layout handle="sales_email_order_items" order=$order}}

thank you message

on the order page indicate its table

position for each: item, sku, qty, subtotal

, , , - , , ,

+4
2

sales.xml sales_email_order_items,

 <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
            <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
            <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
            <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
                <action method="setIsPlaneMode"><value>1</value></action>
            </block>
        </block>

sales/order/totals.phtml order_totals . , .

+4

 /app/locale/en_US/template/email/ 

+3

Source: https://habr.com/ru/post/1527792/


All Articles