josias Posted July 21, 2015 Share Posted July 21, 2015 Hello Inside order-carrier.tpl, I want to place a link. This link will target to my carrier website, for showing my customer the carrier office nearest to his postal code. I'm trying to use inside my tpl file "{$address_delivery->postcode}", but its not working How could I read the delivery address postcode for include inside a link? I placed:<a href="http://www.mycarrierdomain.com/locator.asp?code={$address_delivery->postcode} target="_blank"> Thank you in advance Link to comment Share on other sites More sharing options...
defuzed Posted July 22, 2015 Share Posted July 22, 2015 try {$address_collection[$id_address]->postcode} $address_delivery is not defined in order_carrier.tpl so you need to get the postcode from $address_collection Link to comment Share on other sites More sharing options...
josias Posted July 22, 2015 Author Share Posted July 22, 2015 try {$address_collection[$id_address]->postcode} $address_delivery is not defined in order_carrier.tpl so you need to get the postcode from $address_collection Thank you very much 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