ChemPal Documentation - v1.18.0
    Preparing search index...

    Module constants/countries

    Variables

    COUNTRIES

    Supported countries for location-based features such as currency and shipping filters. Sourced from COUNTRY_DATA (full ISO 3166-1 alpha-2 list) and sorted alphabetically by country name.

    SUPPLIER_COUNTRY_OPTIONS

    Supplier country options available for filtering in the drawer search panel. Derived from COUNTRIES (already sorted alphabetically by name).

    EU_COUNTRY_CODES

    ISO 3166-1 alpha-2 codes of the 27 EU member states. The country table carries no EU membership, so this legally-defined set is hardcoded. Used to evaluate "EU-only" purchase restrictions: a user whose location is not in this set cannot buy an EU-only product.