Proszę Was o pomoc jak dodać do potwierdzeń otrzymywanych mailowych do obsługi sklepu numer telefonu komórkowego.
Posiadam dwa sklepy na oprogramowaniu presta 1,6 i w obydwu wyświetlany jest tylko numer stacjonarny.
W pliku new_order.html poszukałem zmiennych odpowiedzialnych za wyświetlanie w mailu danych teleadresowych do adresu faktury oraz adresu dostawy: {delivery_block_html}, {invoice_block_html}. Nie wiem jednak gdzie je zedytować, żeby dodać numer
tel. komórkowego.
W pliku PaymentModule.php myślę, że zmienne mam dobrze zdefiniowane
Question
mirkov1983
Witam,
Proszę Was o pomoc jak dodać do potwierdzeń otrzymywanych mailowych do obsługi sklepu numer telefonu komórkowego.
Posiadam dwa sklepy na oprogramowaniu presta 1,6 i w obydwu wyświetlany jest tylko numer stacjonarny.
W pliku new_order.html poszukałem zmiennych odpowiedzialnych za wyświetlanie w mailu danych teleadresowych do adresu faktury oraz adresu dostawy: {delivery_block_html}, {invoice_block_html}. Nie wiem jednak gdzie je zedytować, żeby dodać numer
tel. komórkowego.
W pliku PaymentModule.php myślę, że zmienne mam dobrze zdefiniowane
'{invoice_block_html}' => $this->_getFormatedAddress($invoice, '<br />', array( 'firstname' => '<span style="font-weight:bold;">%s</span>', 'lastname' => '<span style="font-weight:bold;">%s</span>' )), '{delivery_company}' => $delivery->company, '{delivery_firstname}' => $delivery->firstname, '{delivery_lastname}' => $delivery->lastname, '{delivery_address1}' => $delivery->address1, '{delivery_address2}' => $delivery->address2, '{delivery_city}' => $delivery->city, '{delivery_postal_code}' => $delivery->postcode, '{delivery_country}' => $delivery->country, '{delivery_state}' => $delivery->id_state ? $delivery_state->name : '', '{delivery_phone}' => $delivery->phone, '{delivery_phone_mobile}' => $delivery->phone_mobile, '{delivery_other}' => $delivery->other, '{invoice_company}' => $invoice->company, '{invoice_vat_number}' => $invoice->vat_number, '{invoice_firstname}' => $invoice->firstname, '{invoice_lastname}' => $invoice->lastname, '{invoice_address2}' => $invoice->address2, '{invoice_address1}' => $invoice->address1, '{invoice_city}' => $invoice->city, '{invoice_postal_code}' => $invoice->postcode, '{invoice_country}' => $invoice->country, '{invoice_state}' => $invoice->id_state ? $invoice_state->name : '', '{invoice_phone}' => $invoice->phone, '{invoice_phone_mobile}' => $invoice->phone_mobile, '{invoice_other}' => $invoice->other, '{order_name}' => $order->getUniqReference(), '{date}' => Tools::displayDate(date('Y-m-d H:i:s'), null, 1), '{carrier}' => ($virtual_product || !isset($carrier->name)) ? Tools::displayError('No carrier') : $carrier->name, '{payment}' => Tools::substr($order->payment, 0, 32), '{products}' => $product_list_html, '{products_txt}' => $product_list_txt, '{discounts}' => $cart_rules_list_html, '{discounts_txt}' => $cart_rules_list_txt, '{total_paid}' => Tools::displayPrice($order->total_paid, $this->context->currency, false), '{total_products}' => Tools::displayPrice($order->total_paid - $order->total_shipping - $order->total_wrapping + $order->total_discounts, $this->context->currency, false), '{total_discounts}' => Tools::displayPrice($order->total_discounts, $this->context->currency, false), '{total_shipping}' => Tools::displayPrice($order->total_shipping, $this->context->currency, false), '{total_wrapping}' => Tools::displayPrice($order->total_wrapping, $this->context->currency, false), '{total_tax_paid}' => Tools::displayPrice(($order->total_products_wt - $order->total_products) + ($order->total_shipping_tax_incl - $order->total_shipping_tax_excl), $this->context->currency, false));pozdrawiam
Mirek
Edited by mirkov1983 (see edit history)Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now