# Availability-notification

This app allows store owner to notify customer regarding stock availability. If product’s stock goes to “OUT OF STOCK” then Notify Me button will be generated where customer can type his / her Email id and click Notify Me. So when product’s stock becomes available, customer get an email notification.

**Requirements**

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

**Installation**

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

![an01](https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2F1qrOdPihonl47mvtnXOg%2Favailability-1.webp?alt=media\&token=3b4e235e-9282-42c6-812c-1f25a75b4fb4)

**Step 2:** Locate the Availability Notification 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%2FaeTjnvXRhQXMMJp2IVWB%2Favailability-2.webp?alt=media&#x26;token=d5bf912d-198b-4b77-8895-a660169de271" alt=""><figcaption></figcaption></figure>

**Step 4:** 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%2FPYdQiZtQBHnFSifaUJjS%2Fuser-group-3.webp?alt=media&#x26;token=5e003016-a473-4217-8549-d4eeb60f4d41" alt=""><figcaption></figcaption></figure>

**Step 5:** Go back to System > Manage > Extensions.

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FvrrHXsMfCCmnohrPUTJZ%2Fuser-group-5.webp?alt=media&#x26;token=1aac1a79-114a-4db8-95e8-fc1efb686625" 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%2FIuHVMZvriJcWeEKliXx4%2Favailability-3.webp?alt=media&#x26;token=00a439ab-df27-4e2c-b51c-5fd0764bb871" alt=""><figcaption></figcaption></figure>

Once enabled, you can open it to setup the Basic Settings of the app. To open the app go to Components > J2Commerce > Apps

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2Fi28uCYDwP31xv2aMjyHe%2Favailability-4.webp?alt=media&#x26;token=3ea04be3-4cc8-4956-b1c5-a3144c5daf7c" alt=""><figcaption></figcaption></figure>

## Basic Settings <a href="#settings" id="settings"></a>

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FsdLzdQQhSYjS8zqZfX5i%2Favailability-5.webp?alt=media&#x26;token=67709f90-c3ff-4d81-b303-c0c8af010b5f" alt=""><figcaption></figcaption></figure>

**Delete Email after send email to customer ?**

Choose YES will delete the email id from Email text box once the email has been sent.

**Button Text**

The Default button text is "J2STORE\_APP\_OUTOFSTOCK\_NOTIFY\_ME". You can enter the custom text for the button. If you are using multilingual site, create language override for the language constant.

**Email Body**

It is the Email body section. Text entered here will be displayed in the Body of the email.

**Email Subject**

It is the Email subject section. Text entered here will be displayed as Subject of the email.

How to track the users?

With this plugin, you are able to manage the users who are requesting Stock notification via Email.

On top of the app, you can see Manage User button. Click on that button to view the users.

Refer the screens below

![an03](https://raw.githubusercontent.com/j2store/doc-images/master/apps/availability-notification/availability_notification_03.png)

**Frontend**

When Product’s stock goes out of stock, you will get the screen like below

![an04](https://raw.githubusercontent.com/j2store/doc-images/master/apps/availability-notification/availability_notification_04.png)

After sending email, you will get thank you message like below screen

![an05](https://raw.githubusercontent.com/j2store/doc-images/master/apps/availability-notification/availability_notification_05.png)

**Support**

Still have questions? You can post in our support forum: <http://j2store.org/forum/index.html>

Thank you for using our extension.
