Layout Checkout

  • Posts: 24
  • Thank you received: 0
11 years 8 months ago #124824

Everything does work now and this is the last thing (for now) I can't solve. How can I change the next button at the bottom of the checkout? When you click that next button, you confirm your order and that's not clear with the next button. I tried to change nl-NL.com_hikashop.ini (for the screenshot I set my shop in English, normally it is in Dutch), but that doesn't work. I want that it is clear that when you click that button, you confirm your order. I hope it is clear what I mean.

Hope somebody can help me again. Thanks.

Screen: http://img33.imageshack.us/img33/1486/m0hj.jpg


Hikashop Essential 2.2.3
Joomla 3.2.0

www.Fair4Pets.eu
Last edit: 11 years 8 months ago by F4P.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #124886

Hi,

Thanks to edit the view "checkout / step" and replace the line:

echo $this->cart->displayButton(JText::_('NEXT'),'next',$this->params,hikashop::completeLink('checkout&task=step&step='.$this->step+1),'document.forms[\'hikashop_checkout_form\'].submit(); return false;','id="hikashop_checkout_next_button"');
By:
echo $this->cart->displayButton(JText::_('CHECKOUT_BUTTON_FINISH'),'next',$this->params,hikashop::completeLink('checkout&task=step&step='.$this->step+1),'document.forms[\'hikashop_checkout_form\'].submit(); return false;','id="hikashop_checkout_next_button"');
Then add the following line in the language file via the menu Configuration > Languages:
CHECKOUT_BUTTON_FINISH="Finish"

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

  • Posts: 24
  • Thank you received: 0
11 years 8 months ago #124896

I found this line, but it is a little different than yours.


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"');


Hikashop Essential 2.2.3
Joomla 3.2.0

www.Fair4Pets.eu
Last edit: 11 years 8 months ago by F4P.

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

  • Posts: 24
  • Thank you received: 0
11 years 8 months ago #124903

I changed 'HIKA_NEXT' to CHECKOUT_BUTTON_FINISH and added the line in the language file and it works! Thanks again :)


Hikashop Essential 2.2.3
Joomla 3.2.0

www.Fair4Pets.eu

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

Time to create page: 0.069 seconds
Powered by Kunena Forum