Paul de Cocq Posted November 14, 2013 Share Posted November 14, 2013 (edited) Hi, I was wondering if it is possible to add the supplier details like (phone, name, address) into the order_conf.html template that goes out to the customer. for example:{supplier_name} = 'Supplier'{supplier_address} = 'Prestashop lane 231' etc... In classes/PaymentModule.php i tried to add the following code in the $data array (after line 560) $address_id=Address::getAddressIdBySupplierId($this->product->id_supplier); $data = array ( {supplier} => '$supplier->name', It is a wish of one of our customers, but we can't find a module, and i'm pretty new with prestashop, so any suggestions would be helpful Thanx! Edited November 14, 2013 by Paul de Cocq (see edit history) Link to comment Share on other sites More sharing options...
Srain Posted May 12, 2016 Share Posted May 12, 2016 Hi, I was wondering if it is possible to add the supplier details like (phone, name, address) into the order_conf.html template that goes out to the customer. for example: {supplier_name} = 'Supplier' {supplier_address} = 'Prestashop lane 231' etc... In classes/PaymentModule.php i tried to add the following code in the $data array (after line 560) $address_id=Address::getAddressIdBySupplierId($this->product->id_supplier); $data = array ( {supplier} => '$supplier->name', It is a wish of one of our customers, but we can't find a module, and i'm pretty new with prestashop, so any suggestions would be helpful Thanx! Hi Paul, Have you got any solution or reference for your issue? If so, please share me, I want the same! Link to comment Share on other sites More sharing options...
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