Setting up eCC Mobile Push Notification:

The push notification features allow you to receive notifications from your online store on your iPhone with eCC Mobile. In order to use this feature, you'd need to install a time-base job scheduler program called Cron Job onto your webserver. We recommend that you contact your web developer to perform this setup.

 

How to enable push notifications with eCC Mobile?

  • Step1: Install the latest eCC store module of your shopping cart. Download it from http://portal.webgility.com under section Downloads.
  • Step2: Set write permission (775) on the eCC folder.
  • Step3: Create the URL to put in Cron job.
    • http://www.yourwebsitename.com/ecc/ecc-magento.php?apns=yes&request={"method":"runApns","username":"ADMIN-USENAME","password":"ADMIN-PASSWORD"}
    • Change the Domain name to match yours site and replace ADMIN-USERNAME and ADMIN-PASSWORD with your shopping carts user name and password.
    • Once you are done with URL changes set a cron job on your server by using this URL.
    • Best Time interval to run cron job is 1 hour or less.
  • Step4: Set up cron job using Plesk,SSH or cPanel.

There are 3 ways to set up the cron job

  • Set up the cron job with SSH - insert this command "15 * * * * /usr/bin/curl --silent [eCC cron URL that you have created by following Create URL section.]"
    Note: the "15" in the command enables the cron job to run every 15 minutes; you can change that to a different number.
    Here's an example of the push notification running every hour: 15 * * * * /usr/bin/curl --silent http://www.yourwebsitename.com/ecc/ecc-magento.php?apns=yes&request={"method":"runApns","username":"ADMIN-USENAME","password":"ADMIN-PASSWORD"}
  • Set up the cron job with Plesk - Login to your Plesk control panel and look for the crontab icon. Crontabs are called 'tasks' in Plesk. In order to create a task click on the add new task icon. All current tasks will be shown in the tasks section for the specific user(in the dropdown). Make sure to remember to enable the cron job before exiting.
  • Set up the cron job with cPanel
    • Step 1: To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface
    • Step 2: Click on Standard to access the Standard Cron Manager
    • Step3: Enter the command you wish the cron job to run in the blank field next to the Command to run label
    • Step 4: Select how often you wish the command to be run by selecting an option in each of the boxes. We recommend running every hour or less for up to date notification
    • Step 5: Click on Save Crontab to save your changes and set up your cron job.

eCC Mobile push notification is available for the following shopping carts:

  • CS-Cart
  • Magento
  • OpenCart
  • osCommerce
  • Pinnacle Cart
  • Ubercart
  • VirtueMart
  • WordPress e-Commerce Plugin
  • Zen Cart