It is just renaming the button name, in that case:
function tracka_form_alter...

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 Author
Files count
0
Patches count
0