function __construct()
 {
     parent::__construct();
     $this->providerName = 'AmazonSC';
     $this->providerNameL = 'amazonsc';
     $this->fileformat = 'txt';
     $this->fields = array();
     $this->fieldDelimiter = "\t";
     $this->external_product_id_type = '';
     $this->addRule('description', 'description', array('strict'));
     $this->stripHTML = true;
     $this->addAttributeDefault('price', 'none', 'PSalePriceIfDefined');
     $this->addAttributeDefault('local_category', 'none', 'PCategoryTree');
     //store's local category tree
     $this->addRule('price_rounding', 'pricerounding');
     $this->addRule('csv_standard', 'CSVStandard', array('title'));
     $this->addRule('csv_standard', 'CSVStandard', array('description'));
 }
 function __construct()
 {
     parent::__construct();
     $this->providerName = 'ShareASaleA';
     $this->providerNameL = 'shareasalea';
     $this->fileformat = 'csv';
     $this->fields = explode('|', 'Custom1|Custom2|Custom3|Custom4|Custom5|Manufacturer|PartNumber|MerchantCategory|MerchantSubcategory|ShortDescription|ISBN|UPC');
     $this->fieldDelimiter = '|';
     //Create some attributes (Mapping 3.0)
     $this->addAttributeMapping('id', 'ProductID');
     $this->addAttributeMapping('title', 'Name');
     $this->addAttributeMapping('merchant_id', 'MerchantID');
     $this->addAttributeMapping('merchant', 'Merchant');
     $this->addAttributeMapping('link', 'Link');
     $this->addAttributeMapping('other_image_url_0', 'Thumbnail');
     $this->addAttributeMapping('feature_imgurl', 'BigImage');
     $this->addAttributeMapping('price', 'Price');
     $this->addAttributeMapping('regular_price', 'RetailPrice');
     $this->addAttributeMapping('current_category', 'Category');
     $this->addAttributeMapping('subcategory', 'SubCategory');
     $this->addAttributeMapping('description', 'Description');
     $this->addAttributeMapping('brand', 'Manufacturer');
     $this->addAttributeMapping('sku', 'PartNumber');
     $this->addAttributeMapping('merchant_category', 'MerchantCategory');
     $this->addAttributeMapping('merchant_subcategory', 'MerchantSubcategory');
     $this->addAttributeMapping('description_short', 'ShortDescription');
     $this->addAttributeMapping('', 'ISBN');
     $this->addAttributeMapping('', 'UPC');
     $this->addAttributeMapping('', 'LastUpdated');
     $this->addAttributeMapping('', 'status');
     $this->addAttributeDefault('price', 'none', 'PSalePriceIfDefined');
     $this->addRule('price_rounding', 'pricerounding');
     //2 decimals
     $this->addAttributeDefault('local_category', 'none', 'PCategoryTree');
     //store's local category tree
 }