- Posts: 12
- Thank you received: 0
Easy checkout
Sorry for my poor English. I`ll try to explain my problem.
Read (and search) forums (Russian and English) but didn`t find any answers.
I`ll need to make easier checkout process.
(version Essential)
On checkout page (1-page checkout), I have the registration form with names and addresses.
In shop settings - no registration.
But user need press additional button "Save" in Address form.
How can I do only one button in checkout. Merge submit buttons to one.
Like this steps:
User press button "Buy" and he redirected to checkout page (That’s done)
Then user choose variant in delivery form
Then choose payment
Then fill the address form (with Names)
and press button "Submit" - that’s all!
Only ONE button.
Please help.
P.S. How to turn active checkbox on form with terms and rules.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that you'll have to :
- Go to "Hikashop->System->Configuration->Checkout"
- Set the "Advanced checkout workflow edition" to YES
- Then you'll just have to Edit your checkout workflow
PS: for terms and rules you'll just have to add the Terms and conditions to your checkout workflow.
Please Log in or Create an account to join the conversation.
All this settings i do.
But question is open.
How to make checkout with one button?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that you'll just have to use 1 step for your checkout
Please Log in or Create an account to join the conversation.
Yes. I use 1 step chekout. But also I have two buttons.(Mohamed Thelji wrote: Hi,
I think that you'll just have to use 1 step for your checkout.
image missing http://img692.imageshack.us/img692/5397/30102012173543.jpg
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
I think maybe anybody have a hackMohamed Thelji wrote: I don't think that it's possible without directly editing the code of the "address step";
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
<?php if($this->terms_checked){
$doc = JFactory::getDocument();
$js = '
window.addEvent(\'domready\', function() {
document.forms[\'hikashop_checkout_form\'].submit();
});
';
$doc->addScriptDeclaration("\n<!--\n".$js."\n//-->\n");
} ?>
That will submit the confirmation page automatically.
Please Log in or Create an account to join the conversation.
nicolas wrote: One thing I can see is to edit the file "terms" of the view "checkout" via the menu Display->Views and add that code at the end:
<?php if($this->terms_checked){
$doc = JFactory::getDocument();
$js = '
window.addEvent(\'domready\', function() {
document.forms[\'hikashop_checkout_form\'].submit();
});
';
$doc->addScriptDeclaration("\n<!--\n".$js."\n//-->\n");
} ?>
That will submit the confirmation page automatically.
Easy: (Example)
<input type="checkbox" name="option1" value="some" checked>
Please Log in or Create an account to join the conversation.