User Group after purchase free item bug
- rhinoboy82
-
Topic Author
- Offline
Less
More
14 years 1 month ago #59921
by rhinoboy82
User Group after purchase free item bug was created 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.
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.
14 years 1 month ago #59986
by nicolas
Replied by nicolas on topic Re: User Group after purchase free item bug
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 ?
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.
- rhinoboy82
-
Topic Author
- Offline
14 years 1 month ago #60548
by rhinoboy82
Replied by rhinoboy82 on topic Re: User Group after purchase free item bug
That corrected the problem.
Sorry it took so long for me to get this tested!
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