• In the pro version, there’s a shortcode that we can use to show countries in a dropdown.
    But it shows all countries, not just the ones added in the currency groups…that’s not very useful.

    We have 3 groups.
    Each group/currency has x countries.

    We would like either a shortcode that shows only the 3 groups names (and upon select changes the prices to the correct currency one), or a shortcode that shows only the countries included in the 3 groups.

    Is there already a shortcode that does that or…?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You can limit the countries that are shown by adding “countries” argument to the [wcj_country_select_drop_down_list] shortcode (https://booster.io/shortcodes/wcj_country_select_drop_down_list/#comments). For example, [wcj_country_select_drop_down_list countries=”GB,US”].

    Thread Starter Duke

    (@dukessa)

    Hello @rokasjan!

    Thank you, but when you have 30+ it is not very practical to do so, especially if they might change over time.
    There should be a shortcode that takes into account what are the countries the store sells so (from WC settings) and/or a shortcode that is a little more customizable, so we can show just Country group names with currency…
    Also an ajax input to search for country would be nice….
    It would be great to have more control over the frontend!

    I think there is a bug too: when selecting a country (or even currency, from the other shortcode), page reloads but the select shows again the default country and prices dont change.

    Thread Starter Duke

    (@dukessa)

    The issue with country not being selected only happens on certain themes, not all, but it shouldn’t be like this.

    Also, after selecting a country (which has different currency), prices stay in the default currency… no change.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[PRO] Prices & Currencies by Country: shortcode for allowed countries/groups’ is closed to new replies.