- Posts: 74
- Thank you received: 1
Need a 'Submit Order' button
- Southcoaster
-
Topic Author
- Offline
Less
More
14 years 2 months ago #57377
by Southcoaster
Need a 'Submit Order' button was created by Southcoaster
Hi,
I am using the Hagane template.
When the user reaches my last checkout page before the order actually happens, I would like the 'Next' button to say something like 'Submit Order' and not 'Next'.
I cannot just change the text in the Language file, as all the 'Next' buttons in the checkout workflow are coded with the same CSS.
Thanks.
I am using the Hagane template.
When the user reaches my last checkout page before the order actually happens, I would like the 'Next' button to say something like 'Submit Order' and not 'Next'.
I cannot just change the text in the Language file, as all the 'Next' buttons in the checkout workflow are coded with the same CSS.
Thanks.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #57422
by nicolas
Replied by nicolas on topic Re: Need a 'Submit Order' button
Please Log in or Create an account to join the conversation.
- Southcoaster
-
Topic Author
- Offline
Less
More
- Posts: 74
- Thank you received: 1
14 years 2 months ago #57499
by Southcoaster
Replied by Southcoaster on topic Re: Need a 'Submit Order' button
Please Log in or Create an account to join the conversation.
14 years 2 months ago #57570
by nicolas
Replied by nicolas on topic Re: Need a 'Submit Order' button
It's the file "step" of the "checkout" view that you need to edit.
You have a checkout in four steps (three steps+the end step which is added automatically). So it should be exactly like in my message:
www.hikashop.com/forum/4-how-to/9242-lab...on.html?lang=en#9297
You have a checkout in four steps (three steps+the end step which is added automatically). So it should be exactly like in my message:
www.hikashop.com/forum/4-how-to/9242-lab...on.html?lang=en#9297
Please Log in or Create an account to join the conversation.
- Southcoaster
-
Topic Author
- Offline
Less
More
- Posts: 74
- Thank you received: 1
14 years 2 months ago #57702
by Southcoaster
Replied by Southcoaster on topic Re: Need a 'Submit Order' button
Please Log in or Create an account to join the conversation.
14 years 2 months ago #57780
by nicolas
Replied by nicolas on topic Re: Need a 'Submit Order' button
You need to remove the line with the test HIKA_NEXT in it:
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"');
What you did didn't work because you removed the end of that line:
return false;','id="hikashop_checkout_next_button"');
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"');
What you did didn't work because you removed the end of that line:
return false;','id="hikashop_checkout_next_button"');
Please Log in or Create an account to join the conversation.
- Southcoaster
-
Topic Author
- Offline
Less
More
- Posts: 74
- Thank you received: 1
14 years 2 months ago #57827
by Southcoaster
Replied by Southcoaster on topic Re: Need a 'Submit Order' button
Please Log in or Create an account to join the conversation.
14 years 2 months ago #57832
by Xavier
Replied by Xavier on topic Re: Need a 'Submit Order' button
Hi Southcoaster,
Yes it seems to be correct.
Yes it seems to be correct.
Please Log in or Create an account to join the conversation.
- Southcoaster
-
Topic Author
- Offline
Less
More
- Posts: 74
- Thank you received: 1
14 years 2 months ago #57837
by Southcoaster
Replied by Southcoaster on topic Re: Need a 'Submit Order' button
Hi Xavier,
Many thanks.
Many thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds