Dissable Region Customer
-
102 Popularity Score
Popularity ScoreReferrals to Site/Downloads
0
1+
250+
1000+
10000+
- 0 Customer Reviews
- Compatible with:
- Developer Info /
- Profile
- Support
- Extensions
- Overview
-
Dissable Region Customer
Dissable region in frontend. Code region not allow in select region (address building and address shipping). For example, in Spain country, you can dissable regions: Madrid,Barcelona,Sevilla. Customer can not select this region.
==Configuration==
System -> Configuration -> General -> General -> Dissable Region Tab
Code region separate with comma (,).
Example: Cadiz,Barcelona,Alava
==Change your template==
template/customer/address/edit.phtml:
new RegionUpdater('country', 'region', 'region_id', helper('directory')->getRegionJson() ?>); template/customer/form/register.phtml: new RegionUpdater('country', 'region', 'region_id', helper('directory')->getRegionJson() ?>);
template/customer/form/address.phtml:
template/checkout/cart/shipping.phtml:
new RegionUpdater('country', 'region', 'region_id', helper('directory')->getRegionJson() ?>);
template/checkout/onepage.phtml:
Change:
helper('directory')->getRegionJson() ?> for helper('dissableregion')->getRegionJson() ?>
==Source code==
- community/Zikzakmedia/DissableRegion
- app/code/community/Zikzakmedia/DissableRegion
- app/etc/modules/Zikzakmedia_DissableRegion.xml
- Release Notes
-
Dissable region in frontend. Code region not allow in select region (address building and address shipping).
2012-01-31 20:05:34- Version number: 0.1
- Stability: Alpha
- Compatibility: 1.3
Dissable region in frontend. Code region not allow in select region (address building and address shipping). For example, in Spain country, you can dissable regions: Madrid,Barcelona,Sevilla. Customer can not select this region. ==Configuration== System -> Configuration -> General -> General -> Dissable Region Tab Code region separate with comma (,). Example: Cadiz,Barcelona,Alava ==Change your template== template/customer/address/edit.phtml: new RegionUpdater('country', 'region', 'region_id', helper('directory')->getRegionJson() ?>); template/customer/form/register.phtml: new RegionUpdater('country', 'region', 'region_id', helper('directory')->getRegionJson() ?>); template/customer/form/address.phtml: template/checkout/cart/shipping.phtml: new RegionUpdater('country', 'region', 'region_id', helper('directory')->getRegionJson() ?>); template/checkout/onepage.phtml: Change: helper('directory')->getRegionJson() ?> for helper('dissableregion')->getRegionJson() ?> ==Source code== community/Zikzakmedia/DissableRegion app/code/community/Zikzakmedia/DissableRegion app/etc/modules/Zikzakmedia_DissableRegion.xml * http://www.zikzakmedia.com/es/openerp.html * http://www.zikzakmedia.com/es/tiendas-virtuales.html
- User reviews (0)
-
Write a Review
- Get Help
-
Support for This Extension
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.
Magento Platform Support
If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.
The Magento Extension Marketplace
Loading platform data and releases...