小编Hsi*_*sin的帖子

Change Pay button on checkout based on Woocommerce chosen payment method

Hi Anyone knows how to change Pay button on checkout based on chosen payment method? I found something but I don't know if I could turn it into a snippet in function.php? Thank you.

    public function __construct() {
    $this->id = 'ry_ecpay_atm';
    $this->has_fields = false;
    $this->order_button_text = __('Pay via ATM', RY_WT::$textdomain);
    $this->method_title = __('ECPay ATM', RY_WT::$textdomain);
    $this->method_description = '';
Run Code Online (Sandbox Code Playgroud)

php wordpress jquery checkout woocommerce

2
推荐指数
1
解决办法
5472
查看次数

标签 统计

checkout ×1

jquery ×1

php ×1

woocommerce ×1

wordpress ×1