- Posts: 109
- Thank you received: 5
Checkout Process Wrongly Allowed to Complete
12 years 3 weeks ago #178438
by Ed_Hika
Checkout Process Wrongly Allowed to Complete was created by Ed_Hika
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
Hello, there.
Good evening!
Hikashop allows the checkout process to move on to the following checkout step (and eventually complete the checkout process) without mandatory fields being filled in.
Please see attached images (which was produced on the Hikashop demo site).
Note - I have raised the same topic incorrectly under the "Install & Update" category (see www.hikashop.com/forum/install-update/87...wed-to-complete.html ). Please close that one.
Thanks.
Take care!
-- Joomla version -- : 3.3.6
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
Hello, there.
Good evening!
Hikashop allows the checkout process to move on to the following checkout step (and eventually complete the checkout process) without mandatory fields being filled in.
Please see attached images (which was produced on the Hikashop demo site).
Note - I have raised the same topic incorrectly under the "Install & Update" category (see www.hikashop.com/forum/install-update/87...wed-to-complete.html ). Please close that one.
Thanks.
Take care!
Please Log in or Create an account to join the conversation.
12 years 3 weeks ago #178504
by nicolas
Replied by nicolas on topic Checkout Process Wrongly Allowed to Complete
Hi,
Add the code:
after the code:
in components/com_hikashop/controllers/checkout.php
and add the code:
after the code:
in the two places of the file administrator/components/com_hikashop/classes/address.php and that should hopefully avoid the issue.
Add the code:
Code:
if($result===false){
return false;
}
Code:
$addressClass = hikashop_get('class.address');
$result = $addressClass->frontSaveForm();
and add the code:
Code:
}else{
return false;
Code:
$r = new stdClass();
$r->id = $result;
$r->previous_id = $id;
$ret[$currentTask] = $r;
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds