Shortcodes included with Price Based on Country

Country Switcher shortcode

Show the country switcher.

Args:

array(
    'other_countries_text' => 'Other countries',
    'title'=> '',
)

[wcpbc_country_selector other_countries_text="My text"]

Currency Switcher shortcode

Pro version featureUpgrade to Pro now!

Show the currency switcher.

Args:

array(
    'currency_display_style' => '{name} ({symbol})',
    'title'=> '',
)

[wcpbc_currency_switcher currency_display_style="{code}"]

Product Price shortcode

Pro version featureUpgrade to Pro now!

Displays the price of a specific product. You can display the product price for a zone with the zone_slug param.

Args:

array(
    'product_id' => '',
    'zone_slug'=> '',
)

[wcpbc_product_price product_id="90" zone_slug="eurozone"]

Content shortcode

Pro version featureUpgrade to Pro now!

Displays content for a specific pricing zone.

Args:

array(
    'zone_slug'=> '',
    'wrapper_tag' => '',
)

[wcpbc_content zone_slug="canada"]Free Shipping on Orders Over $100[/wcpbc_content]

You can use the wcpbc_content_default shortcode for “Countries not covered by your other zones.”

[wcpbc_content_default]Free Shipping on Orders Over $200[/wcpbc_content_default]

Convert amount shortcode

Pro version featureUpgrade to Pro now!

Displays an amount converted to the currency of the current pricing zone.

Args:

array(
    'amount' => ''
)

[wcpbc_convert amount="100"]