挂钩woocommerce复核订单,付款未更新

时间:2018-06-28 08:21:58

标签: woocommerce hook-woocommerce

当我单击“下一步”时,我听不懂,它没有更新。但是,当我刷新(F5)页面时,它会更新。

我的代码:

function at_custom_gateway_payment_text() {
    global $woocommerce;
    if ( $woocommerce->customer->get_billing_state() !== 'HO-CHI-MINH') {
    echo "Contents....."; }
}
add_action('woocommerce_review_order_before_payment','at_custom_gateway_payment_text');

对此将有任何帮助。

0 个答案:

没有答案
相关问题