Commit 21a14fcb authored by Sebastien Robin's avatar Sebastien Robin

added new alias for country


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2552 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90a664df
...@@ -157,6 +157,10 @@ class ERP5ShopOrderConduit(ERP5Conduit): ...@@ -157,6 +157,10 @@ class ERP5ShopOrderConduit(ERP5Conduit):
""" """
if country.lower()=='suisse': if country.lower()=='suisse':
country='switzerland' country='switzerland'
if country.lower()=='united kingdom':
country='uk'
if country.lower()=='united states of america':
country='usa'
if category_path == None: if category_path == None:
portal_categories = getToolByName(site_root, 'portal_categories') portal_categories = getToolByName(site_root, 'portal_categories')
categories_path = portal_categories.absolute_url(relative=1) categories_path = portal_categories.absolute_url(relative=1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment