getValueInclTax and getValueExclTax null in Checkout / OneStepCheckout

The methods getValueInclTax() and getValueExclTax() always returns null in checkout page: $valueInclTax = $subtotal->getValueInclTax(); $valueExclTax = $subtotal->getValueExclTax(); If I dump the $subtotal content, like this: print_r( $subtotal->debug() ); This returns: Array ( [code] => subtotal [title] => Zwischensumme [value] => 657.03 [address (Mage_Sales_Model_Quote_Address)] => Array ( … Trying the same on other Magento 1.9 website,…

Custom module send email with custom language

I made a custom module that send an email to my customers. app/code/Local/CustomEmail/registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, ‘Local_CustomEmail’, __DIR__ ); app/code/Local/CustomEmail/etc/module.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Module/etc/module.xsd”> <module name=”Local_CustomEmail” setup_version=”1.0.0″> </module> </config> app/code/Local/CustomEmail/etc/email_templates.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Email:etc/email_templates.xsd”> <template id=”myemail_email_template” label=”My Label” file=”custom_email.html” type=”html” module=”Local_CustomEmail” area=”frontend”/> </config> app/code/Local/CustomEmail/view/frontend/email/custom_email.html These emails should be sent by an external script…

How to overrite cart subtotal price in order summary block magento2

can any one know that i want to update the price of the checkout page order summary Cart subtotal line. how can i do that ? knowckout file is render is subtotal.html : <tr class=”totals”> <th class=”mark” scope=”row” data-bind=”text: title”></th> <td class=”amount”> <span class=”price” data-bind =”text: getValue(), attr:{‘data-label’: title}”></span> <!– ko foreach: elems() –> <!–…