- Posts: 55
- Thank you received: 4
how to customize text under checkout progress bar
- av.opticom
-
Topic Author
- Offline
Less
More
13 years 7 months ago #87879
by av.opticom
how to customize text under checkout progress bar was created by av.opticom
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
Thanks.
Dave
Please Log in or Create an account to join the conversation.
13 years 7 months ago #87937
by Xavier
Replied by Xavier on topic how to customize text under checkout progress bar
Yes, you can edit the view "checkout / step" and replace "$step_name = reset($step);" by:
And in the condition "if($this->display_checkout_bar==2 && $step_name=='end'){" replace "$step_name=='end'" by "$step_name=='step3'"
Code:
if($step == '0') $step_name = 'step1';
if($step == '1') $step_name = 'step2';
if($step == '2') $step_name = 'step3';
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds