Jump to content

A Tidier Address Box


Recommended Posts

Ever since day one I have felt the address box in the documentation was a bit 'messy'. So I thought I would have a look about making it look a little better.

Here is what I came up with:


  • {$conf.PS_SHOP_NAME|escape:'htmlall':'UTF-8'}
  • {$conf.PS_SHOP_ADDR1|escape:'htmlall':'UTF-8'}
  • {$conf.PS_SHOP_ADDR2|escape:'htmlall':'UTF-8'} 
  • {$conf.PS_SHOP_CODE|escape:'htmlall':'UTF-8'}
  • {$conf.PS_SHOP_CITY|escape:'htmlall':'UTF-8'} {$conf.PS_SHOP_COUNTRY|escape:'htmlall':'UTF-8'}
  • {$conf.PS_SHOP_PHONE|escape:'htmlall':'UTF-8'}



I have made it for the UK layout, but can be changed to any country setup. I have also added the telephone number, which is required in the UK.

You will find this in the .tpl files in themes/prestashop.

Hope it helps someone

Bob
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...