kelvinlym Posted May 3, 2011 Share Posted May 3, 2011 Hi,I'm modifying the bank wire's payment-return.tpl file to allow the showing of some shop configuration data such as address and shop's phone no. while also showing the customer/guest's first name and last name.Regarding the shop configuration, I reckon using Configuration::get('PS_SHOP_PHONE') and so on could do the trick, but how to I get the customer's first name and last name to show?Can it be read in the cookie? Or maybe better to read from the current order id then find the customer's name?Please advise.Example code will be much more appreciated.Added smarty variable in bankwire.php for shop phone, used $customername variable 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