• Resolved shoaib17

    (@shoaib17)


    Hello,

    I want to display just 3 states & 6 cities for Pakistan. Is there a way I can hook or force the plugin to show only selected entries from the list?

    I want in the following order;
    State: Sindh -> City: Karachi | Hyderabad
    State: Punjab -> City: Lahore | Faisalabad | Multan
    State: Islamabad Capital -> City: Islamabad

    Regards,
    Shoaib

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

    (@yordansoares)

    Hello @shoaib17,

    Since 1.3 release of States, Cities, and Places for WooCommerce you can use two new filter hooks that allows you handling both the list of States and Places:

    1. 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.
    2. 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 ‘Display specific cities’ is closed to new replies.