Download & Extend

Change "Cart" title in checkout progress and on checkout progress page

Project:Commerce Checkout Progress
Version:7.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

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!

Comments

#1

Just add this to your settings.php file:

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

You could also list other 'Cart' variations.

nobody click here