Skip to main content

Layout Checkout

13 years 2 months ago - 13 years 2 months ago #124824 by F4P
Layout Checkout was created by F4P
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: [url] img33.imageshack.us/img33/1486/m0hj.jpg [/url]

Hikashop Essential 2.2.3
Joomla 3.2.0

www.Fair4Pets.eu
Last edit: 13 years 2 months ago by F4P.

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

13 years 2 months ago #124886 by Xavier
Replied by Xavier on topic Layout Checkout
Hi,

Thanks to edit the view "checkout / step" and replace the line:
Code:
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:
Code:
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.

13 years 2 months ago - 13 years 2 months ago #124896 by F4P
Replied by F4P on topic Layout Checkout
I found this line, but it is a little different than yours.


Code:
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: 13 years 2 months ago by F4P.

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

13 years 2 months ago #124903 by F4P
Replied by F4P on topic Layout Checkout
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.048 seconds
Powered by Kunena Forum