Easy checkout

  • Posts: 12
  • Thank you received: 0
12 years 2 weeks ago #72458

Hello.

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
12 years 2 weeks ago #72659

Hi,

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.

  • Posts: 12
  • Thank you received: 0
12 years 2 weeks ago #72888

Hi.
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
12 years 2 weeks ago #73031

Hi,
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.

  • Posts: 12
  • Thank you received: 0
12 years 2 weeks ago #73098

Mohamed Thelji wrote: Hi,
I think that you'll just have to use 1 step for your checkout :).

Yes. I use 1 step chekout. But also I have two buttons.(

Last edit: 12 years 2 weeks ago by elnine.

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

  • Posts: 12953
  • Thank you received: 1778
12 years 2 weeks ago #73102

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.

  • Posts: 12
  • Thank you received: 0
12 years 2 weeks ago #73103

Mohamed Thelji wrote: I don't think that it's possible without directly editing the code of the "address step";

I think maybe anybody have a hack

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

  • Posts: 12
  • Thank you received: 0
12 years 2 weeks ago #73794

Up, any ideas?

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 1 week ago #74068

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 = '
do_nothing( 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.

  • Posts: 12
  • Thank you received: 0
12 years 1 week ago #74321

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 = '
do_nothing( 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.

Time to create page: 0.078 seconds
Powered by Kunena Forum