Developer forum

Forum » Ecommerce - Standard features » Outputing regions for a country

Outputing regions for a country

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

Is there a loop tag to output regions for a country as defined in the Management Center? I can't seem to find anything in the documentation.

Thanks,

Imar


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Bump.... Anynone?

 
Nuno Aguiar
Reply

Hi Imar,

 

Check /Files/Templates/eCom7/CartV2/Step/InformationWithStates.html


                        <!--@LoopStart(CustomerRegions)-->
                            <!--@If Defined(Ecom:CustomerRegion.IsCustomerRegion)-->
                                <option value="<!--@Ecom:CustomerRegion.RegionCode-->" selected="selected">
                                    <!--@Ecom:CustomerRegion.Name-->
                                </option>
                            <!--@EndIf(Ecom:CustomerRegion.IsCustomerRegion)-->
                            <!--@If Not Defined(Ecom:CustomerRegion.IsCustomerRegion)-->
                                <option value="<!--@Ecom:CustomerRegion.RegionCode-->">
                                    <!--@Ecom:CustomerRegion.Name-->
                                </option>
                            <!--@EndIf(Ecom:CustomerRegion.IsCustomerRegion)-->
                        <!--@LoopEnd(CustomerRegions)-->

You can find it there.

 

Best Regards,

Nuno

 

You must be logged in to post in the forum