Jump to content

Prestashop 1.6 - to hide the country


karlosman

Recommended Posts

Yes, and that is the reason why I wrote: I don't think it will work. It is a must have field for to calculate shipping rates. So a major needed field with several dependencies. For to remove country on template files, you will need to rework Prestashop's architecture, this means: rework some controllers and dependency their files.

Link to comment
Share on other sites

If you use only ONE country, you could make the field invisible by CSS rules and give the field the default content for your country. Deleting doesn't work since country is mandatory in terms of localization, shipping and more other functions.

Link to comment
Share on other sites

We don't know your prestashop version. Alway helpful to mention this.

 

For 1.6. You need to change address.css, address.tpl, addresses.tpl in your theme directory. I haven't investigate in detail but you can disable CCC cache for stylesheets and use your browser tools to figure out classes or IDs used. Maybe you needed an additional CSS class for the country field to be set in order not to hide all fields but only one.

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...