Woocommerce 结帐在国家/地区后添加信息
Woocommerce checkout add information after country
也许你能帮我。我正在寻找一种方法来在结帐部分选择国家/地区后添加额外字段或 div-包含其他信息的容器。
"for shipping to other countries, please contact us at..."
在 functions.php 中有没有办法做到这一点?
提前致谢!
我不知道 functions.php,但如果您不介意使用 jQuery,您可以在脚本中添加一些代码
$('#billing_country_field').after('<span>for shipping to other countries, please contact us at...</span>');
也许你能帮我。我正在寻找一种方法来在结帐部分选择国家/地区后添加额外字段或 div-包含其他信息的容器。 "for shipping to other countries, please contact us at..."
在 functions.php 中有没有办法做到这一点?
提前致谢!
我不知道 functions.php,但如果您不介意使用 jQuery,您可以在脚本中添加一些代码
$('#billing_country_field').after('<span>for shipping to other countries, please contact us at...</span>');