How to use one extension for two Country/Region without modify the fields.

Hi everyone,

I have created a app for UK and Denmark. But I found some of the field in table are different. I have created some pages and expose as web service to return information for sales order and posted sales invoice. But When I build through UK and create the app. I found I couldn't install this app in Denmark environment. I guess could use the field only apear in both of UK and DK.

1.But I was wondering is that possible to support  UK and DK at same time without delete the conflict fields?

2.I'm trying to write the the conflict fields as local variable and choose or assign value for these local variable based on the Country/Region information from the environment that the extension installed. Is that possible to get the Country/Region information dynamically?

Thanks in advance!

Related
Recommended