Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Customer City on review pages


Recommended Posts



I would like to have the customer city displayed on the review pages.

I allready modified it so it will display only the users first name.


This is what i have now:


Review placed by: <code for customer-(first)-name>


But what I would like is:


Review placed by: <code for customer-(first)-name> from: <code for customer-city>


So it would look something like:


Review placed by: John Doe from: Texas


I tried to get the info from the address_book with the code:

<?php echo tep_address_label($customer_id, $customer_default_address_id, true, ' ', '<br>'); ?>


Only this will display all the info, like first name, last name, city, zipcode etc...!

But I only want it to display the city.


Who can point me in the right direction ( i am still a noob on php )


Kind regards,



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...