将单选按钮更改为普通按钮-Woocommerce

时间:2019-01-09 01:01:50

标签: wordpress button woocommerce radio

我想知道是否有机会将单选按钮更改为普通按钮,如Stack Overflow主页上显示“问问题”的按钮。

我正在使用 woocommerce 存款-部分付款插件。该插件有2个选项,带有DEPOSIT和FULL PAYMENT选项的条形图,带有相同选项的单选按钮的第二条形图。

fetch('https://localhost:3000/auth', {
    method: 'post',
    headers: {'Content-Type': 'application/json'},
    body: JSON.stringify({
        username,
        password
    })
})
.then(response => response.json())
.then(data => {
     //I understand that in this part, you can handle the response, but the problem is, I don't know how.
    }
})
.catch(console.log)

您知道如何将2个单选按钮更改为常规按钮吗?

0 个答案:

没有答案