# Add to user group

The Purpose of this app is to add the users to the user group for selected order status and product selected groups.

## Requirements <a href="#requirements" id="requirements"></a>

* PHP 8.1.0 +
* Joomla! 4.x/ Joomla! 5.x +
* J2Commerce / J2Store 4.x +

## Installation Instructions <a href="#installation-instructions" id="installation-instructions"></a>

**Step 1:** Go to our [J2Commerce website](https://www.j2commerce.com/) > Extensions > Apps

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FcuoYV2BX1qU0vgyD3Hzs%2Fuser-group-1.webp?alt=media&#x26;token=d825182f-5d4f-4e45-af02-0d49e9207587" alt=""><figcaption></figcaption></figure>

**Step 2:** Locate the Add to User Group App > click View Details > Add to cart > Checkout.&#x20;

**Step 3:** Go to your My Download under your profile button at the top right corner and search for the app. Click Available Versions > View Files > Download Now

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FQp0uj0iLscR5U3mPWYUA%2Fuser-group-2.webp?alt=media&#x26;token=9f2c5a35-bef4-445b-8397-8e80a2f37eb2" alt=""><figcaption></figcaption></figure>

**Step 4:** Use the Joomla! installer to install the app. Go to System > Install > Extensions > Download the app

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FnV6xLXkwYm6wYexI7vZr%2Fuser-group-3.webp?alt=media&#x26;token=06518174-f516-4bb5-a350-c48cc1b02dc6" alt=""><figcaption></figcaption></figure>

**Step 5:** Go back to System > Manage > Extensions. &#x20;

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FpaRuhICcmqL9yS420QFO%2Fuser-group-5.webp?alt=media&#x26;token=ca3d17fe-6b48-4fe9-9ca5-343c162d767a" alt=""><figcaption></figcaption></figure>

**Step 6:** Search for the app and enable it.

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FMEURE8ovFx7uCAr7RuJ1%2Fuser-group-4.webp?alt=media&#x26;token=93810dbd-5577-4af9-bf0e-7e888505ebdf" alt=""><figcaption></figcaption></figure>

Now you can create as many unique groups as you need so you can organize your customers.  This will be very helpful when wanting to send a specific group of customers marketing material, promotions, new products, etc.&#x20;

For example: If your customer is buying a digital product you can add them to a special digital group or if they are an important shopper you can add them to a VIP shopper group and give them special access to certain products or documents.

**Step 7:** To create a new group go to Users > groups > New. Now name it whatever you want. In this example we have named it VIP Shoppers.&#x20;

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FzxbZzbizcyRq09cBfAX0%2Fuser-group-6.webp?alt=media&#x26;token=eb0eddaf-5063-42e2-98df-52f19580c252" alt=""><figcaption><p>Creating a new user group</p></figcaption></figure>

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FB3wGoUYVG2HWyF7UqzOR%2Fuser-group-7.webp?alt=media&#x26;token=019c1707-41fd-4739-9f72-7bc18ee6fe33" alt=""><figcaption><p>Naming your new user group</p></figcaption></figure>

**Step 8:** To add a certain user group to a specific product: Open the product the Article Manager > J2Store Cart > Apps > Add your new User Group

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2F7CdDRmo1w6qp9TcfEyaS%2Fuser-group-8.webp?alt=media&#x26;token=9193ce21-79af-40e3-815e-87b0e19c2dea" alt=""><figcaption><p>Add User Group to a product</p></figcaption></figure>

## Configuration <a href="#configuration" id="configuration"></a>

If you want to make sure your App is enabled you can go to Components > J2Commerce > Apps > find your app and click on it.

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FEc0iqTkyPTExXMDSpSnK%2Fuser-group-9.webp?alt=media&#x26;token=71a2b8ec-2ac3-448e-9902-76abbf58e91d" alt=""><figcaption></figcaption></figure>

**Order Status**

Selected order status here will be compared with the order status of the order made by the user. For example, if you set the order status as confirmed and if the user’s order status is also in confirmed then the user will be moved to the user group selected in the product.

![Order Status](https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FL8ZawJXcgzB8Joq6QjHF%2Fuser-group-10.webp?alt=media\&token=200ad8e8-9621-4640-887c-37d962d6816b)

**Support**

Still have questions? You can post in our support forum: [Click here](http://j2store.org/forum/index.html)

Thank you for using our extension.
