Creating a Sub Region.

Jun 12, 2012 at 6:34 PM


Can we create a "Sub Region" in Magelia?

Jun 14, 2012 at 2:27 PM

Could you tell us more precisely what you want to do and why you need to define subregions? 

Depending on what you want to do, you can either : 

- create a new region that corresponds to a subregion and associate this subregion with its parent country ! (Menu Administration > Platform > Regions + New)

- create a tax or shipping zone that corresponds to your subregion. Just create the  shipping or tax zone and use the regular expression field to limit its scope. This is useful for example if you want to define a tax or shipping zone based on zip codes.

Example : the following regular expression requires the zip code to start between 20000 and 20999 : ^20\d{3}$

If you need to create regular expression and do not know the synthax you can use any online tool that will help you generate the regex.


Jul 3, 2012 at 8:41 AM

Hi yaligault,

I need to manage geographic location more details. 
In my country "Shipping Rate Value" are set base on "District". (Country => State/City => District)

Can we create detail of Region like this?
Continent >> Country >> State/City >> District >> Region

or: "Region and Sub-Region" like "Category and Sub-Category in Magelia"?

Jul 3, 2012 at 11:32 PM

A region in Magelia WebStore is the sub level of a country. It is probably what you call “State/City”. You can not create hierarchical subregions and it is therefore different from the product category hierarchy. 

But, you have at least three solutions to create shipping rates for your ‘regions’ : 

Solution 1 : define shipping regions based for example on zip codes using regular expressions (as already explained in our last answer). If you do that, you will be able to define shipping regions that match the regions that you mention in your post. Then you simply have to create a shipping rates for the shipping region that you defined.

Solution 2  : Recreate regions that match your regions (delete the existing regions and create new regions that correspond to your State/City + District+ Region. Then you can create shipping rates for all the regions in your country. This is a basic solution but it should work.

Solution 3 : use the new content types to structure the missing levelsThis solution will only work with Magelia WebStore Professional or Entreprise Edition 2.0.Create  State / City content type plus a district content type. Delete all the existing regions and recreate new regions that match your regions. You will then be able to create shipping rates that match you regions.

We hope that one of these solutions will work for you. 

Best regards, 

Jul 4, 2012 at 2:47 AM

Yeah, yaligault.

"Content Type" is the solution in Magelia 2.0

Best regards,