Contribution Date
Technology
Contribution Project
Contribution Details
It is just renaming the button name, in that case:
function tracka_form_alter(&$form, &$form_state, $form_id) {
if (strpos($form_id, 'commerce_cart_add_to_cart_form') !== FALSE) {
$form['submit']['#value'] = t('Choose Plan');
}
}
Contribution Issue Link
Files count
0
Patches count
0