Is it possible to change the "Cart" title on the checkout progress bar and on the checkout cart page?
I can see that the cart item is added to the progress list in the commerce_checkout_progress.module on line 322 (function commerce_checkout_progress_get_items).
Is it possible to overwrite the title of that item? I would like it to be "My cart" instead of "Cart"...
I also want the checkout page to have that title... I think I can change this by using hook_page_alter()?

Any suggestions would be welcome! Thanks!


ursula00’s picture

Just add this to your settings.php file:

$conf['locale_custom_strings_en'][''] = array(
'Cart' => 'YourPreferredTerminology',

You could also list other 'Cart' variations.

nvahalik’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

You can also modify the output of this module using the provided hook:

function MYMODULE_commerce_checkout_progress_items_alter(&$info) {
  $info['cart']['title'] = 'My cart';