WooCommerce Meta Fields
This shortcode allows you to fetch and display a WooCommerce user profile field for the currently logged-in user.
Easy-to-use examples:
Below are a few examples to get you started. Additional field names can be found using the reference provided below.
Shortcode Arguments
The shortcode supports the following arguments:
Argument
Description
Options
Example
field
WooCommerce field to display e.g. billing_address
text
[sv slug="woocommerce" field="billing_phone"]
message-not-found
Message to display if field is empty
Text
[sv slug="woocommerce" field="billing_phone" message-not-found="Phone number is missing"]
Last updated