- Posts: 57
- Thank you received: 2
Checkout Process confusion
13 years 4 months ago #105702
by Hans987
Checkout Process confusion was created by Hans987
Hi,
I have the attached (picture 1)configuration in my checkout process. Registration is necessary because of downloadable goods.
The confusion is on the checkout registration page:(picture 2)
The user must login or register. If he does, he will be directed to another page.
So the "Terms and Conditions" and the "next" button should not be visible, because they are senseless in this case.
But I cant figure out, how.
Any hints?
Cheers,
Ralf
I have the attached (picture 1)configuration in my checkout process. Registration is necessary because of downloadable goods.
The confusion is on the checkout registration page:(picture 2)
The user must login or register. If he does, he will be directed to another page.
So the "Terms and Conditions" and the "next" button should not be visible, because they are senseless in this case.
But I cant figure out, how.
Any hints?
Cheers,
Ralf
Please Log in or Create an account to join the conversation.
13 years 4 months ago - 13 years 4 months ago #105745
by Xavier
Replied by Xavier on topic Checkout Process confusion
Hi,
The system check if he's registered of if he set an address, so if it's not the case when clicking on the next button he will come back on this same page and have a message displayed.
Else you can edit the view "checkout / step", check the user status and hide the next button if he's not registered.
You can replace:
By:
The system check if he's registered of if he set an address, so if it's not the case when clicking on the next button he will come back on this same page and have a message displayed.
Else you can edit the view "checkout / step", check the user status and hide the next button if he's not registered.
You can replace:
Code:
if($this->nextButton){
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"');
}
Code:
if($this->nextButton && hikashop_loadUser() != null){
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"');
}
Last edit: 13 years 4 months ago by Xavier.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #105762
by Hans987
Replied by Hans987 on topic Checkout Process confusion
Hi Xavier,
with this code, the button is gone on all steps, but I have got it, thanks.
But the question, how to remove the "Terms and Conditions" remains. I can't figure out, in which file it will be released...
Cheers,
Ralf
with this code, the button is gone on all steps, but I have got it, thanks.
But the question, how to remove the "Terms and Conditions" remains. I can't figure out, in which file it will be released...
Cheers,
Ralf
Please Log in or Create an account to join the conversation.
13 years 4 months ago #105867
by nicolas
Replied by nicolas on topic Checkout Process confusion
Hi,
For the terms and conditions, either drag&drop its view where you want it in your checkout or remove it via the checkout workflow option of the configuration.
For the terms and conditions, either drag&drop its view where you want it in your checkout or remove it via the checkout workflow option of the configuration.
The following user(s) said Thank You: Hans987
Please Log in or Create an account to join the conversation.
13 years 4 months ago #105884
by Hans987
Replied by Hans987 on topic Checkout Process confusion
Uh, this was stupid, I have missed the forrest for the trees.
Thanks!
Ralf
Thanks!
Ralf
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds