Witam
Jak to zamienić żeby fraza returns (lub exchange in store itd) lub zdjęcie (reinsurance-1-1.jpg) zrobić jako link?
public function installFixtures()
{
$return = true;
array('text' => $this->l('Returns'), 'file_name' => 'reinsurance-1-1.jpg'), array('text' => $this->l('Exchange in-store'), 'file_name' => 'reinsurance-2-1.jpg'), array('text' => $this->l('Paypal & Credit Card'), 'file_name' => 'reinsurance-3-1.jpg'), array('text' => $this->l('Fast Delivery'), 'file_name' => 'reinsurance-4-1.jpg'), array('text' => $this->l('Paypal 100% secured payment'), 'file_name' => 'reinsurance-5-1.jpg') );
foreach($tab_texts as $tab)
{
$reinsurance = new reinsuranceClass();
foreach (Language::getLanguages(false) as $lang)
$reinsurance->text[$lang['id_lang']] = $tab['text'];
$reinsurance->file_name = $tab['file_name'];
$reinsurance->id_shop = $this->context->shop->id;
$return &= $reinsurance->save();
}
return $return;
}
}