KonaKart Community Forum

Installation / Configuration => Installation of KonaKart => Topic started by: shirin on June 25, 2008, 10:41:50 am

Title: “Notify Me of Updates” Box for Each Product ?
Post by: shirin on June 25, 2008, 10:41:50 am
Hi konakart,

When a customer checks this feature, what happens then? Does the store Admin get a list of those
who clicked this function?.


Thanks

Title: Re: “Notify Me of Updates” Box for Each Product ?
Post by: ryan on June 25, 2008, 11:07:50 am
In the Customer Communications section of the Admin App you can send a template based eMail to all customers that have signed up to be notified about a particular product.

If you want a list of customers that have signed up to be notified about a product, you should create a new BIRT report.
Title: Re: “Notify Me of Updates” Box for Each Product ?
Post by: shirin on June 25, 2008, 11:21:24 am
Hi ryan,

Thanks for your prompt reply.

But can u told me what type of variable i can use in eMail Tempate.

Suppose if i want to use like :

Dear <customer name>,
      This mail regards to the notification of product <product name>

      Follwing changes applied on product:
            <list of changes>

==================

Thanks for your further assistant.



Title: Re: “Notify Me of Updates” Box for Each Product ?
Post by: ryan on June 25, 2008, 11:27:41 am
Look at the example template, Newsletter_en.vm  mentioned in the online help of the admin app.
Title: Re: “Notify Me of Updates” Box for Each Product ?
Post by: shirin on June 25, 2008, 12:18:11 pm
Hi Ryan,

I am not able to find any details for that. Can u give me more detail for same.

And should i need to use SendTemplateEmailToCustomers.java or other files to perform the task.

Thanks
Title: Re: “Notify Me of Updates” Box for Each Product ?
Post by: shirin on June 25, 2008, 12:32:35 pm
Hi,

I added new Notification_en.vm to Admin classes where other vm/properties files resides with content:

Hi, this is test message.

Bu i am getting following error while sending the mail from Admin app.

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1938)
   at com.konakartadmin.bl.AdminEmailMgr.sendTemplateEmail(Unknown Source)
   at com.konakartadmin.bl.AdminTemplateEmailSender.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:619)