VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum

We are currently unable to provide proper support!

For the last few months we have been very busy working on some huge, very time-consuming and time-sensitive projects, so our support was very limited and we were unable to provide proper support in our forums! We now have a huge backlog of requests from our customers, which we are trying to clear bit by bit. Unfortunately, this takes longer than we anticipated, so our response time is not yet up to par. We are trying our best to improve this situation as soon as possible.

Sorry for the inconvenience and thank you for your understanding!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Do not remove the select gurpo

Do not remove the select gurpo 25 Apr 2016 21:13 #1

  • pandocomunicacao
  • pandocomunicacao's Avatar Topic Author
  • Offline
  • Posts: 1
Do not remove the select gurpo

I selected a group where the user goes after purchase , so far it's all right.

when I test canceling the purchase, it does not remove the sub group.
Attachments:

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

Do not remove the select gurpo 04 May 2016 00:03 #2

Dear Pandocomunicacao,
I think there is a misunderstanding about the configuration settings. The "Remove from Joomla Usergroup" is not intended to remove the user from that group when the purchase is cancelled, but rather when the purchase is done.

When an order is cancelled, everything done on purchase is reversed automatically. There is no need (and not even any way) to explicitly define which groups are removed (or added) when an order is cancelled.
I think you simply need to remove "Produto 1" from the list of groups to be removed. When an order is done, the user is added to that group (because that's what you configured the plugin to do), unless the user had already been a member of that group. The plugin keeps track of which group is added/removed on purchase. When the order is cancelled, the plugin simply looks into the database which groups have been added on purchase and removes those groups again.
If the user had already been member of "Produto 1" before his purchase, the plugin cannot add that group any more, and cancelling the order will also not remove the user, because the purchase didn't add that group.

Best regards,
Reinhold

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

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular