Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Admin options to set applicable countries
Browse files Browse the repository at this point in the history
  • Loading branch information
bluec committed Jul 3, 2017
1 parent c5e1c96 commit b3a8655
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/code/community/Meanbee/Shippingrules/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
<condense_countries_on_grid>flag</condense_countries_on_grid>
<colapse_conditions_on_subcondition_on_grid>1</colapse_conditions_on_subcondition_on_grid>
<use_emoji_one>1</use_emoji_one>
<sallowspecific>0</sallowspecific>
</meanship>
</carriers>
</default>
Expand Down
20 changes: 20 additions & 0 deletions app/code/community/Meanbee/Shippingrules/etc/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,26 @@
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</collapse_conditions_on_subcondition_on_grid>
<sallowspecific translate="label">
<label>Ship to Applicable Countries</label>
<frontend_type>select</frontend_type>
<sort_order>100</sort_order>
<frontend_class>shipping-applicable-country</frontend_class>
<source_model>adminhtml/system_config_source_shipping_allspecificcountries</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
</sallowspecific>
<specificcountry translate="label">
<label>Ship to Specific Countries</label>
<frontend_type>multiselect</frontend_type>
<sort_order>101</sort_order>
<source_model>adminhtml/system_config_source_country</source_model>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
<can_be_empty>1</can_be_empty>
</specificcountry>
</fields>
</meanship>
</groups>
Expand Down

0 comments on commit b3a8655

Please sign in to comment.