Skip to main content

Checkout Process Wrongly Allowed to Complete

12 years 3 weeks ago #178438 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!

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

12 years 3 weeks ago #178504 by nicolas
Hi,

Add the code:
Code:
if($result===false){ return false; }
after the code:
Code:
$addressClass = hikashop_get('class.address'); $result = $addressClass->frontSaveForm();
in components/com_hikashop/controllers/checkout.php
and add the code:
Code:
}else{ return false;
after the code:
Code:
$r = new stdClass(); $r->id = $result; $r->previous_id = $id; $ret[$currentTask] = $r;
in the two places of the file administrator/components/com_hikashop/classes/address.php and that should hopefully avoid the issue.

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

Time to create page: 0.050 seconds
Powered by Kunena Forum