Jump to content
thirty bees forum

Recommended Posts

Posted

Hello, i am looking to change {invoiceblockhtml} and {deliveryblockhtml} but i cant find anything about this.

It seems that both were created in a payment-module, but this describes only firstname and lastname. Where come the other data like street, zip and city from in these blocks?

I want to change {invoiceblockhtml} and {deliveryblockhtml} regarding some changes in the order_conf.html e-mail-template (it is wrong formatted in some e-mail-clients and i want to try to do it better). thank you!

Posted

OK thank you, will have a look there :)

another thing, maybe you can also help: i am searching for the table {items} which is used in mailalerts module / new_order.html

Regarding our internal process, i have to change the new_order.html so that the items are shown as follows:

quantity - name - reference - unit price - price

but i also have to change {items} to this sequence. Is this possible ? thank you - please see the picture: 0_1521913367543_items_table.jpg

Posted

jep, found it, thank you! From line 521 i have changed to the following:

$itemsTable .= ' '.(int) $product['productquantity'].' '.$product['productname'] .(isset($product['attributessmall']) ? ' '.$product['attributessmall'] : '') .(!empty($customizationText) ? '
'.$customizationText : '') .' '.$product['productreference'].' '.Tools::displayPrice($unitPrice, false).' ' .Tools::displayPrice(($unitPrice * $product['productquantity']), false) .' '; } foreach ($params['order']->getCartRules() as $discount) { $itemsTable .= ' '.$this->l('Voucher code:').' '.$discount['name'].' -'.Tools::displayPrice($discount['value'], false).' '; }

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...