Store Address Lists

Developer

Peter Lewis

3rd Party (Free)

1 downloads (last 90 days)

Creative Commons Attribution No Derivatives Download vv1.0.1

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Displays Country and Region lists for use outside of Exp:resso Store checkout tag, either as a single tag outputting select options, or a tag pair for custom markup.

Exp:resso Store outputs region and country lists within the checkout tag pair, although you can output without the form tags using an un-documented parameter (disable_form=“yes”) preventing conflict with other forms. This means you can use the same lists elsewhere - for example an account edit page, or registration form. But it will only work if the user has items in their basket.

This plugin taps into the Exp:resso Store classes to retrieve the same lists for countries and regions that you’ve defined as being active and that Store references.

Either using a single tag to output the <options> within your own select, or use the tag pair to loop through each option and utilise your own markup.

Examples:

{exp:store_address:countries field="billing_country" country_form_field="billing-country" region_form_field="billing-region"}
{exp:store_address:regions member_field="billing_region" country="{billing-country}"}

Parameters:

member_field (name of the member field that holds the country)
selected (current value of default/selected country)
region_form_field (form field name for region select - default is billing_region)
country_form_field* (form field name for country select - default is billing_country)
disable_javascript* (yes or no - default is no) The JavaScript is used to update the region select when the country select is changed
*for countries tag only

Variables for tag pair:

{ref} or {reference} = reference for country (e.g. us, uk)
{name} or {country} = “nice” name for country (e.g. United States, United Kingdom)
{selected} or correct use is {if selected} ... {/if} = if the current option is selected

Please note:
The JavaScript output by this plugin (for countries tag) is used to automatically update the regions list based on the current country (same behaviour as Store module), but it currently relies on JQuery to be included on your frontend.

Download Store Address Lists

EE Support Downloads Add-On Version Release Date
Not Specified Download v1.0.1 Aug 11, 2013

This entry was created August 12, 2013, 8:26 am.
This entry was last updated August 13, 2013, 8:37 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!