Change text on Next-buttom in checkout-process

  • Posts: 56
  • Thank you received: 0
11 years 11 months ago #48710

Hi,

In what php-file can I change the text of Next-buttom when I´m in checkout-process in Hikashop?
I´m looking in Display -> Views -> "checkout" but can´t figure out what php-file to edit...

Micke

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 11 months ago #48753

It's the file "step" of that view, near the end.

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

  • Posts: 56
  • Thank you received: 0
11 years 11 months ago #48758

I can se the code that creats the buttom but Not where to changes the text on the buttom!
Now it´s "Update/Next"(in swedish) on the button but I want it to be just Next.

if($this->nextButton){
			echo $this->cart->displayButton(JText::_('HIKA_NEXT'),'next',$this->params,hikashop_completeLink('checkout&task=step&step='.($this->step+1)),'if(hikashopCheckChangeForm(\'order\',\'hikashop_checkout_form\')){ if(hikashopCheckMethods()){ document.getElementById(\'hikashop_validate\').value=1; document.forms[\'hikashop_checkout_form\'].submit();}} return false;','id="hikashop_checkout_next_button"');
		}
		?>

Or is´t in the language file sv-SE.com_hikashop.ini i´ll shall make the changes!?
Edit: Solved!
And It was! :)

Last edit: 11 years 11 months ago by Micke_skane.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum