customized place your order button

This commit is contained in:
Bachir Soussi Chiadmi 2021-07-07 11:58:02 +02:00
parent 9e01ecb2b9
commit 9e3cffa291
1 changed files with 10 additions and 0 deletions

View File

@ -1 +1,11 @@
<?php
function materio_commerce_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'commerce_checkout_flow_multistep_default') {
if ($form["#step_id"] == "review") {
$t="t";
// $form['buttons']['continue']['#value'] = t('Desired Custom Text Here');
$form['actions']['next']['#value'] = t('Place your order');
}
}
}