User Group after purchase free item bug

  • Posts: 45
  • Thank you received: 7
12 years 3 months ago #59921

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.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
12 years 3 months ago #59986

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.

  • Posts: 45
  • Thank you received: 7
12 years 3 months ago #60548

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.062 seconds
Powered by Kunena Forum