- Posts: 217
- Thank you received: 1
checkout process
I am being asked to skip registration and go straight to payment. Is this possible with Hika Shop?
Or at the very least have the register step just be to fill in the details and the credit card details and not press register but enter press pay.
We want to cut out the register step.
Mat
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that you'll probably find your answer there :
If you want to have a checkout without registration but with address, you will have to have both "login" and "address" views in the checkout workflow. Then, in the Checkout tab of the configuration, you can change the option "registration" to "no registration" in order to remove the creation of a user account. Also, you can turn off the "login" option there to remove the login area of the checkout.
That way, you will still have the address form but no user account would be created.
That "Registration" option is only available in our commercial editions.
Please Log in or Create an account to join the conversation.
I set up those options but what appears for me is that I still have to click the register button then the purchase button.
Do you have an example where you have a one step process for paying?
Please Log in or Create an account to join the conversation.
To have only one click, it will require some custom code.
It can be done via JavaScript, onclick on the register button (which can be placed anywhere in css or if you put it in another view like "checkout / step") add an action to submit the form again just after the register form submit.
Please Log in or Create an account to join the conversation.
Xavier wrote: Hi,
To have only one click, it will require some custom code.
It can be done via JavaScript, onclick on the register button (which can be placed anywhere in css or if you put it in another view like "checkout / step") add an action to submit the form again just after the register form submit.
The issue here is that I want the one click to be the payment button and not the register button. Is there any examples you have of this in operation?
Please Log in or Create an account to join the conversation.
I don't have example of that.
But actually the two forms need to be sent, so you have to make custom code to sned the second one automatically after the first is well submitted.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Can you throw me as many bones as possible as I am about to write this one page checkout myself :dry:
All help appreciated!
code, what tables I need to update, what code of yours I should look at to follow?
Please Log in or Create an account to join the conversation.
HikaShop is already a one page checkout if you remove the registration step, or if you're already logged in.
Did you try to simply remove the login/address steps from your checkout workflow ? Do you need them ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
By registration, you mean address infomations ? If it is, the step "registration" is required unless you have another page for account creation and address setting.
To have a one page checkout, you have to edit the views "checkout / step" and "checkout / address", in the "address" view, you probably have to remove the "register" button.
And on the "step" view add the action of the "register" button in the "next" button actions.
By this way, clicking on "next" will submit the address form, then reload the same page and you have to submit the main form.
It require JavaScript and PHP knowledges.
This is not really a clean way of doing that, because the page will be reloaded 2 times.
The best way is to change the forms and the actions, calling a method which will submit the address form and the main form at one time.
It require to edit HikaShop core files.
Please Log in or Create an account to join the conversation.
Which tables would I need to write to?
Please Log in or Create an account to join the conversation.
It will be the safest and easiest method, and by this way you can still use the triggers on address save (if you have plugins plugged on that)
Please Log in or Create an account to join the conversation.