If you are using a customized install of Site Store Pro where the customer_manager_update.asp and/or customer_manager_insert.asp files were modified from their default configuration or are using a version of Site Store Pro prior to March 2008 (Version 2.0803), please follow the advanced instructions below or contact us for free assistance in applying the Constant Contact plug-in to your install.
You can easily add the ConstantContact.com Plug-in to ANY Site Store Pro customized installation and ANY version of Site Store Pro by simply adding a few lines of code to the customer_manager_update.asp and customer_manager_insert.asp files in the /SiteStorePro/Myaccount/. The Constant Contact Plug-in will not affect any other functionality of your customized install and operates as a stand-alone function.
1) Download the plug-in zip file and extract it to your local system. We recommend extracting it to your local Site Store Pro installation into the following folder /sitestorepro/myaccount/. DO NOT DOWNLOAD THE DEFAULT INSTALL ZIP FILE AND OVERWRITE ANY FILES your /sitestorepro/myaccount/ folder.
2) Open the constant_contact_config.asp file in Dreamweaver Code View or a text editor such as Notepad and enter/replace the sample credentials with your Constant Contact API credentials.
ConstantContactUsername = "ABDDEGG"
ConstantContactPassword = "XXXXXXXX"
List_ID= 1
'ConstantContactUsername = The username you use to login to your Constant Contact Account
ConstantContactPassword= The password you use to login to your Constant Contact Account
'List_ID = The list ID number of your Constant Contact Email list where you want the email (customers) saved into. The default value is 1
3. Change the ConstactContact_API_Active Setting in constant_contact_config.asp from 0 to 1. i.e ConstactContact_API_Active = 1
4. Open your existing customer_manager_update_content.asp file in /SiteStorePro/Myaccount./ and add the following lines of code at the bottom of the page directly below the code that reads (approx line 139):
<%
ConfirmEmailsRS.Close()
Set ConfirmEmailsRS = Nothing
%>
<% ' Constant Contact API List Management %>
<!--#include file="constant_contact_update_subscriber.asp" -->
<% ' End Constant Contact API List Management %>
5.'Save' and 'Close customer_manager_update_content.asp file with the new code snippet added.
6. Open Up your existing customer_manager_insert_content.asp file in /SiteStorePro/Myaccount./ and add the following lines of code at the bottom of the page directly below the code that reads (approx line 191):
<%
CheckEmailsRS.Close()
Set CheckEmailsRS = Nothing
%>
<% ' Constant Contact API List Management %>
<!--#include file="constant_contact_add_subscriber.asp" -->
<% ' End Constant Contact API List Management %>
7. 'Save' and 'Close' customer_manager_insert_content.asp file with the new code snippet added.
8. Upload the following files from your local system into the following folder on your live webserver /SiteStorepro/Myaccount/
customer_manager_update_content.asp
customer_manager_insert_content.asp
constant_contact_config.asp
constant_contact_update_subscriber.asp
constant_contact_add_subscribe.asp
constant_contact_opt_in.asp
You should export your current online store customer email list from your Site Store Pro admin and import it to your Constant Contact List before or right after you install the Constant Contact plug-in. The plug-in will only synchonize new emails and when an existing customer updates their opt-in preferences. Your original (past) online store emails must be imported into your Constant Contact list unless they have already been imported previously. To export your current opt-in emails from your online store, login to /estore_admin/, click on the 'Reports' tab and then click on 'Export All Customer Emails (CSV)'. The exported CSV file can be easily imported into your Constant Contact list from inside your Constant Contact Accout Manager (list import functon).
|