Jump to content

why does the customer table/entity have siret and ape?


stratboy

Recommended Posts

This is more a curiosity question than an issue question. The database Customer table has siret and ape fields. They get used when b2b is enabled. But why siret? Isn't it specifically a french thing? For example here in italy we've got 'partita iva'. So isn't it architecturally wrong? Whay placing a nation-specific field on a nation-shared table? And why don't use a generic 'company_id' field?

 

Am I missing some info about prestashop internals?

 

Have you got any idea about this apparently wrong decision?

Link to comment
Share on other sites

My guess would be that, since PS originated in France and built its core user base there, it made sense to have it as a hardcoded feature at one time.

 

Keeping it so even now may be due to "political" reasons (i.e. avoid displeasing current French users).

Edited by parsifal (see edit history)
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...