User added to Public group after product purchase

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
10 years 8 months ago #147424

-- HikaShop version -- : Hikashop Business 2.2.3
-- Joomla version -- : 3.2.1
-- PHP version -- : 5.5

When a user registers and pays for membership, they are put into Paid group after purchase. So now they are part of the Registered and Paid group. Prior to updating my Joomla to 3.2.1, this was working fine. Now when a user registers, then pays for the membership they are put into the Paid group and the Public group. So now they are in the Registered, Pubic and Paid group.

Running a check and setting up a dummy user, the user is put into the Register group after they register, then when they pay and the payment is confirmed they are then put into the Paid and Public group. On the product page I have verified that the Paid group is the only one checked for the User Group After Purchase and Public is not checked.

How can I prevent the user from being put into the Public group?

Thank you for the help.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 8 months ago #147425

Hi,

It is a side effect of the plugin "group after purchase" in Joomla 3.
When the plugin retrieve the user groups, Joomla gave all user groups, including the "public" group (which is inherit).
The plugin set all the user groups plus the new group.
That's why the user have the "public" group check afterwards.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.051 seconds
Powered by Kunena Forum