• Resolved temia5587

    (@temia5587)


    Hello,

    I would like to find out how to limit the cities that come with the plugin.

    For instance, I would like to just have ‘Lagos Island’ and ‘Lagos Mainland’ in the city dropdown so i can apply shipping methods/rates to those two alone. Then is there a way to only limit it to the State Lagos (within the country Nigeria?)

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Yordan Soares

    (@yordansoares)

    Hello @temia5587,

    I just launched the latest release of States, Cities, and Places for WooCommerce. Since this release you can use two new filter hooks that allows you handling both the list of States and Places:

    • scpwoo_custom_states_xx: It allows you to handle the States of a given country. The xx at the end must be replaced by the two-letter country code in lower case.
    • scpwoo_custom_places_xx: It allows you to handle the Places of a given country. The xx at the end must be replaced by the two-letter country code in lower case.

    Please read the article Using the filter hooks to learn How to use.

    Best regards,
    Yordan.

Viewing 1 replies (of 1 total)
  • The topic ‘Removing Certain Cities’ is closed to new replies.