Re: if a product is outstock, notify when in stock - preorder
Working on the mod for 4.1.3 will be ready end of November 2006
CUSTOMER:
1. When customer is on "Product Details" page, s/he will see a new form:
------
Notify my when the product's information is changed: < "Enter the email here..." text field >
<"Submit" button>
------
The form will look similar for both logged and not logged customer. The only exception will be that the email from the user' profile will be pre-filled in the text-field, however, can be changed to another address, if needed.
2. After clicking "Submit", the script will create a special record in the database, containing the productID, current description, price, quantity in stock and specified email address (a new table will be created for this purpose).
ADMIN:
When changing the product details (submitting "Product Modify" form, or using "Products import" facility), the script will look if there are any email addresses, associated with the current productID.
If yes, it will look for the differences in one of the following fields:
- Short/Long description;
- Price;
- Quantity in stock (from 0 to a bigger value).
I.e., it will compare the date, was stored when customer submitted a new form and the currently submitted by the admin data.
If any of described changes have taken place, a special "Product information has changed" email will be sent to all the email addresses, associated with current product.
The email will contain the text, saying that the information about the product has changed (language variable, which the admin can change in "Languages" section) and the link to "Product Details" page. updated product's information.
Also, the information, saved about the product initially (in new table) will be updated with the new product's information (will allow to catch the next changes for the product).
Also with the email, you have the option to unsubscribe to the product notify.
|