Skip to content

Instantly share code, notes, and snippets.

@nicka101
Created July 14, 2015 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicka101/b406dba4d997df3a6415 to your computer and use it in GitHub Desktop.
Save nicka101/b406dba4d997df3a6415 to your computer and use it in GitHub Desktop.
import pricerules manual
<?php
require('app/Mage.php');
Mage::app();
$ftpCred = Mage::getStoreConfig('sinchimport_root/sinch_ftp');
Mage::dispatchEvent('sinch_pricerules_import_ftp', array(
'ftp_host' => $ftpCred["ftp_server"],
'ftp_username' => $ftpCred["login"],
'ftp_password' => $ftpCred["password"]
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment