/** * Register products source 'Customers also bought...' for 'Add to Cart popup' module * * @return array */ protected function getSources() { $sources = parent::getSources(); $sources['PAB'] = array('method' => 'getSourceCustomerBought', 'position' => 200); return $sources; }
/** * Register products source 'Related Products' for 'Add to Cart popup' module * * @return array */ protected function getSources() { $sources = parent::getSources(); $sources['REL'] = array('method' => 'getSourceRelatedProducts', 'position' => 100); return $sources; }