Skip to main content

User Group after purchase free item bug

More
14 years 1 month ago #59921 by rhinoboy82
Our store has a free item called 8 Dimensions Book Map. "Purchase" of that item should set the User Group After Purchase to "Book Map". While the checkout of the item works perfectly (I use HikaSerial to assign an access code for the product), the user is not added to the group.

I would think the problem is that the checkout of a free item skips some code where the User Group should be set.

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

More
14 years 1 month ago #59986 by nicolas
Can you try to add the code:

function onAfterOrderCreate( &$order,&$send_email){
return $this->onAfterOrderUpdate( $order,$send_email);
}

before the code:
function onAfterOrderUpdate(&$order,&$send_email){

in the file plugins/hikashop/group/group.php and see if that helps ?
The following user(s) said Thank You: rhinoboy82

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

More
14 years 1 month ago #60548 by rhinoboy82
That corrected the problem.

Sorry it took so long for me to get this tested!

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

Time to create page: 0.150 seconds
Powered by Kunena Forum