how to customize text under checkout progress bar

  • Posts: 55
  • Thank you received: 4
11 years 9 months ago #87879

With multiple actions in a checkout step (see attached image) the frontend labels on the checkout progress bar default to the first action within each step. For this set-up, the labels are 'Login', 'Cart' and 'End'. I'm able to change these by adding overrides to the language file in the checkout section, for example by changing the value of HIKASHOP_CHECKOUT_LOGIN for the first step. But this also changes the labels in the workflow section of the checkout configuration. Is there a way to customize the frontend checkout progress bar labels without altering the individual labels on the drag-and-drop steps in the configuration?

Thanks.

Dave

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87937

Yes, you can edit the view "checkout / step" and replace "$step_name = reset($step);" by:

if($step == '0') $step_name = 'step1';
if($step == '1') $step_name = 'step2';
if($step == '2') $step_name = 'step3';
And in the condition "if($this->display_checkout_bar==2 && $step_name=='end'){" replace "$step_name=='end'" by "$step_name=='step3'"

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum